@lightsage/mcp 0.4.0 → 0.4.2
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 +1292 -247
- package/bin/mcp-server.js.map +48 -23
- package/esm/funcs/evalTemplatesV2EvalTemplatesCreate.d.ts +16 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesCreate.d.ts.map +1 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesCreate.js +83 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesCreate.js.map +1 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesDelete.d.ts +16 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesDelete.d.ts.map +1 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesDelete.js +88 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesDelete.js.map +1 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesList.d.ts +15 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesList.d.ts.map +1 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesList.js +72 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesList.js.map +1 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesRetrieve.d.ts +16 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesRetrieve.d.ts.map +1 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesRetrieve.js +88 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesRetrieve.js.map +1 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesUpdate.d.ts +16 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesUpdate.d.ts.map +1 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesUpdate.js +89 -0
- package/esm/funcs/evalTemplatesV2EvalTemplatesUpdate.js.map +1 -0
- package/esm/funcs/evalsV2EvalsBatchCreate.d.ts +16 -0
- package/esm/funcs/evalsV2EvalsBatchCreate.d.ts.map +1 -0
- package/esm/funcs/evalsV2EvalsBatchCreate.js +83 -0
- package/esm/funcs/evalsV2EvalsBatchCreate.js.map +1 -0
- package/esm/funcs/promptsV2PromptsRetrieve.d.ts +1 -1
- package/esm/funcs/promptsV2PromptsRetrieve.js +1 -1
- package/esm/funcs/promptsV2PromptsUpdate.d.ts +1 -1
- package/esm/funcs/promptsV2PromptsUpdate.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 +13 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesCreate.d.ts +7 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesCreate.d.ts.map +1 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesCreate.js +35 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesCreate.js.map +1 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesDelete.d.ts +7 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesDelete.d.ts.map +1 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesDelete.js +35 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesDelete.js.map +1 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesList.d.ts +3 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesList.d.ts.map +1 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesList.js +30 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesList.js.map +1 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesRetrieve.d.ts +7 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesRetrieve.d.ts.map +1 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesRetrieve.js +35 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesRetrieve.js.map +1 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesUpdate.d.ts +7 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesUpdate.d.ts.map +1 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesUpdate.js +35 -0
- package/esm/mcp-server/tools/evalTemplatesV2EvalTemplatesUpdate.js.map +1 -0
- package/esm/mcp-server/tools/evalsV2EvalsBatchCreate.d.ts +7 -0
- package/esm/mcp-server/tools/evalsV2EvalsBatchCreate.d.ts.map +1 -0
- package/esm/mcp-server/tools/evalsV2EvalsBatchCreate.js +35 -0
- package/esm/mcp-server/tools/evalsV2EvalsBatchCreate.js.map +1 -0
- package/esm/mcp-server/tools/promptsV2PromptsRetrieve.js +1 -1
- package/esm/mcp-server/tools/promptsV2PromptsRetrieve.js.map +1 -1
- package/esm/mcp-server/tools/promptsV2PromptsUpdate.js +1 -1
- package/esm/mcp-server/tools/promptsV2PromptsUpdate.js.map +1 -1
- package/esm/models/createevaltemplatebatchrequest.d.ts +12 -0
- package/esm/models/createevaltemplatebatchrequest.d.ts.map +1 -0
- package/esm/models/createevaltemplatebatchrequest.js +12 -0
- package/esm/models/createevaltemplatebatchrequest.js.map +1 -0
- package/esm/models/createevaltemplaterequest.d.ts +79 -0
- package/esm/models/createevaltemplaterequest.d.ts.map +1 -0
- package/esm/models/createevaltemplaterequest.js +74 -0
- package/esm/models/createevaltemplaterequest.js.map +1 -0
- package/esm/models/createv2promptrequest.d.ts +2 -0
- package/esm/models/createv2promptrequest.d.ts.map +1 -1
- package/esm/models/createv2promptrequest.js +3 -0
- package/esm/models/createv2promptrequest.js.map +1 -1
- package/esm/models/evaltemplate.d.ts +83 -0
- package/esm/models/evaltemplate.d.ts.map +1 -0
- package/esm/models/evaltemplate.js +81 -0
- package/esm/models/evaltemplate.js.map +1 -0
- package/esm/models/evaltemplatebatchcreatedeval.d.ts +11 -0
- package/esm/models/evaltemplatebatchcreatedeval.d.ts.map +1 -0
- package/esm/models/evaltemplatebatchcreatedeval.js +14 -0
- package/esm/models/evaltemplatebatchcreatedeval.js.map +1 -0
- package/esm/models/evaltemplatebatchitem.d.ts +32 -0
- package/esm/models/evaltemplatebatchitem.d.ts.map +1 -0
- package/esm/models/evaltemplatebatchitem.js +27 -0
- package/esm/models/evaltemplatebatchitem.js.map +1 -0
- package/esm/models/evaltemplatebatchresponse.d.ts +12 -0
- package/esm/models/evaltemplatebatchresponse.d.ts.map +1 -0
- package/esm/models/evaltemplatebatchresponse.js +15 -0
- package/esm/models/evaltemplatebatchresponse.js.map +1 -0
- package/esm/models/evaltemplatebatchresult.d.ts +10 -0
- package/esm/models/evaltemplatebatchresult.d.ts.map +1 -0
- package/esm/models/evaltemplatebatchresult.js +13 -0
- package/esm/models/evaltemplatebatchresult.js.map +1 -0
- package/esm/models/evaltemplateruntime.d.ts +20 -0
- package/esm/models/evaltemplateruntime.d.ts.map +1 -0
- package/esm/models/evaltemplateruntime.js +21 -0
- package/esm/models/evaltemplateruntime.js.map +1 -0
- package/esm/models/evaltemplateschedule.d.ts +28 -0
- package/esm/models/evaltemplateschedule.d.ts.map +1 -0
- package/esm/models/evaltemplateschedule.js +24 -0
- package/esm/models/evaltemplateschedule.js.map +1 -0
- package/esm/models/evaltemplatesresponse.d.ts +8 -0
- package/esm/models/evaltemplatesresponse.d.ts.map +1 -0
- package/esm/models/evaltemplatesresponse.js +11 -0
- package/esm/models/evaltemplatesresponse.js.map +1 -0
- package/esm/models/graderdefinition.d.ts +14 -0
- package/esm/models/graderdefinition.d.ts.map +1 -0
- package/esm/models/graderdefinition.js +17 -0
- package/esm/models/graderdefinition.js.map +1 -0
- package/esm/models/updateevaltemplaterequest.d.ts +71 -0
- package/esm/models/updateevaltemplaterequest.d.ts.map +1 -0
- package/esm/models/updateevaltemplaterequest.js +71 -0
- package/esm/models/updateevaltemplaterequest.js.map +1 -0
- package/esm/models/updatev2promptrequest.d.ts +2 -0
- package/esm/models/updatev2promptrequest.d.ts.map +1 -1
- package/esm/models/updatev2promptrequest.js +3 -0
- package/esm/models/updatev2promptrequest.js.map +1 -1
- package/esm/models/v2evalsbatchcreateop.d.ts +27 -0
- package/esm/models/v2evalsbatchcreateop.d.ts.map +1 -0
- package/esm/models/v2evalsbatchcreateop.js +24 -0
- package/esm/models/v2evalsbatchcreateop.js.map +1 -0
- package/esm/models/v2evaltemplatescreateop.d.ts +13 -0
- package/esm/models/v2evaltemplatescreateop.d.ts.map +1 -0
- package/esm/models/v2evaltemplatescreateop.js +16 -0
- package/esm/models/v2evaltemplatescreateop.js.map +1 -0
- package/esm/models/v2evaltemplatesdeleteop.d.ts +24 -0
- package/esm/models/v2evaltemplatesdeleteop.d.ts.map +1 -0
- package/esm/models/v2evaltemplatesdeleteop.js +23 -0
- package/esm/models/v2evaltemplatesdeleteop.js.map +1 -0
- package/esm/models/v2evaltemplatesretrieveop.d.ts +17 -0
- package/esm/models/v2evaltemplatesretrieveop.d.ts.map +1 -0
- package/esm/models/v2evaltemplatesretrieveop.js +19 -0
- package/esm/models/v2evaltemplatesretrieveop.js.map +1 -0
- package/esm/models/v2evaltemplatesupdateop.d.ts +33 -0
- package/esm/models/v2evaltemplatesupdateop.d.ts.map +1 -0
- package/esm/models/v2evaltemplatesupdateop.js +29 -0
- package/esm/models/v2evaltemplatesupdateop.js.map +1 -0
- package/esm/models/v2inlinemcpdefinition.d.ts +4 -4
- package/esm/models/v2inlinemcpdefinition.d.ts.map +1 -1
- package/esm/models/v2inlinemcpdefinition.js +3 -3
- package/esm/models/v2inlinemcpdefinition.js.map +1 -1
- package/esm/models/v2listpromptsresponse.d.ts +8 -0
- package/esm/models/v2listpromptsresponse.d.ts.map +1 -0
- package/esm/models/v2listpromptsresponse.js +11 -0
- package/esm/models/v2listpromptsresponse.js.map +1 -0
- package/esm/models/v2promptbatchresponse.d.ts +10 -0
- package/esm/models/v2promptbatchresponse.d.ts.map +1 -0
- package/esm/models/v2promptbatchresponse.js +13 -0
- package/esm/models/v2promptbatchresponse.js.map +1 -0
- package/esm/models/{publicprompt.d.ts → v2promptresponse.d.ts} +9 -7
- package/esm/models/v2promptresponse.d.ts.map +1 -0
- package/esm/models/{publicprompt.js → v2promptresponse.js} +8 -6
- package/esm/models/v2promptresponse.js.map +1 -0
- package/esm/models/v2promptrundetail.d.ts +6 -0
- package/esm/models/v2promptrundetail.d.ts.map +1 -1
- package/esm/models/v2promptrundetail.js +7 -0
- package/esm/models/v2promptrundetail.js.map +1 -1
- package/esm/models/v2promptrunsettings.d.ts +26 -0
- package/esm/models/v2promptrunsettings.d.ts.map +1 -0
- package/esm/models/v2promptrunsettings.js +26 -0
- package/esm/models/v2promptrunsettings.js.map +1 -0
- package/esm/models/v2promptrunsettingsinput.d.ts +20 -0
- package/esm/models/v2promptrunsettingsinput.d.ts.map +1 -0
- package/esm/models/v2promptrunsettingsinput.js +23 -0
- package/esm/models/v2promptrunsettingsinput.js.map +1 -0
- package/esm/models/v2promptrunsummary.d.ts +6 -0
- package/esm/models/v2promptrunsummary.d.ts.map +1 -1
- package/esm/models/v2promptrunsummary.js +7 -0
- package/esm/models/v2promptrunsummary.js.map +1 -1
- package/esm/models/v2promptscreateop.d.ts +2 -2
- package/esm/models/v2promptscreateop.d.ts.map +1 -1
- package/esm/models/v2promptscreateop.js +2 -2
- package/esm/models/v2promptscreateop.js.map +1 -1
- package/esm/models/v2promptslistop.d.ts +2 -2
- package/esm/models/v2promptslistop.d.ts.map +1 -1
- package/esm/models/v2promptslistop.js +2 -2
- package/esm/models/v2promptslistop.js.map +1 -1
- package/esm/models/v2promptsretrieveop.d.ts +2 -2
- package/esm/models/v2promptsretrieveop.d.ts.map +1 -1
- package/esm/models/v2promptsretrieveop.js +2 -2
- package/esm/models/v2promptsretrieveop.js.map +1 -1
- package/esm/models/v2promptsupdateop.d.ts +2 -2
- package/esm/models/v2promptsupdateop.d.ts.map +1 -1
- package/esm/models/v2promptsupdateop.js +2 -2
- package/esm/models/v2promptsupdateop.js.map +1 -1
- package/esm/models/validationerror.d.ts +4 -0
- package/esm/models/validationerror.d.ts.map +1 -1
- package/esm/models/validationerror.js +3 -0
- package/esm/models/validationerror.js.map +1 -1
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +26 -2
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/evalTemplatesV2EvalTemplatesCreate.ts +145 -0
- package/src/funcs/evalTemplatesV2EvalTemplatesDelete.ts +153 -0
- package/src/funcs/evalTemplatesV2EvalTemplatesList.ts +124 -0
- package/src/funcs/evalTemplatesV2EvalTemplatesRetrieve.ts +153 -0
- package/src/funcs/evalTemplatesV2EvalTemplatesUpdate.ts +154 -0
- package/src/funcs/evalsV2EvalsBatchCreate.ts +145 -0
- package/src/funcs/promptsV2PromptsRetrieve.ts +1 -1
- package/src/funcs/promptsV2PromptsUpdate.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 +13 -1
- package/src/mcp-server/tools/evalTemplatesV2EvalTemplatesCreate.ts +45 -0
- package/src/mcp-server/tools/evalTemplatesV2EvalTemplatesDelete.ts +45 -0
- package/src/mcp-server/tools/evalTemplatesV2EvalTemplatesList.ts +36 -0
- package/src/mcp-server/tools/evalTemplatesV2EvalTemplatesRetrieve.ts +45 -0
- package/src/mcp-server/tools/evalTemplatesV2EvalTemplatesUpdate.ts +45 -0
- package/src/mcp-server/tools/evalsV2EvalsBatchCreate.ts +43 -0
- package/src/mcp-server/tools/promptsV2PromptsRetrieve.ts +1 -1
- package/src/mcp-server/tools/promptsV2PromptsUpdate.ts +1 -1
- package/src/models/createevaltemplatebatchrequest.ts +35 -0
- package/src/models/createevaltemplaterequest.ts +151 -0
- package/src/models/createv2promptrequest.ts +9 -0
- package/src/models/evaltemplate.ts +154 -0
- package/src/models/evaltemplatebatchcreatedeval.ts +26 -0
- package/src/models/evaltemplatebatchitem.ts +54 -0
- package/src/models/evaltemplatebatchresponse.ts +30 -0
- package/src/models/evaltemplatebatchresult.ts +26 -0
- package/src/models/evaltemplateruntime.ts +64 -0
- package/src/models/evaltemplateschedule.ts +44 -0
- package/src/models/evaltemplatesresponse.ts +18 -0
- package/src/models/graderdefinition.ts +34 -0
- package/src/models/updateevaltemplaterequest.ts +116 -0
- package/src/models/updatev2promptrequest.ts +9 -0
- package/src/models/v2evalsbatchcreateop.ts +66 -0
- package/src/models/v2evaltemplatescreateop.ts +37 -0
- package/src/models/v2evaltemplatesdeleteop.ts +56 -0
- package/src/models/v2evaltemplatesretrieveop.ts +43 -0
- package/src/models/v2evaltemplatesupdateop.ts +79 -0
- package/src/models/v2inlinemcpdefinition.ts +7 -5
- package/src/models/v2listpromptsresponse.ts +21 -0
- package/src/models/v2promptbatchresponse.ts +27 -0
- package/src/models/{publicprompt.ts → v2promptresponse.ts} +29 -21
- package/src/models/v2promptrundetail.ts +21 -0
- package/src/models/v2promptrunsettings.ts +50 -0
- package/src/models/v2promptrunsettingsinput.ts +47 -0
- package/src/models/v2promptrunsummary.ts +21 -0
- package/src/models/v2promptscreateop.ts +5 -5
- package/src/models/v2promptslistop.ts +5 -5
- package/src/models/v2promptsretrieveop.ts +6 -3
- package/src/models/v2promptsupdateop.ts +6 -3
- package/src/models/validationerror.ts +8 -0
- package/src/tool-names.ts +26 -2
- package/esm/models/listpromptsresponse.d.ts +0 -8
- package/esm/models/listpromptsresponse.d.ts.map +0 -1
- package/esm/models/listpromptsresponse.js +0 -12
- package/esm/models/listpromptsresponse.js.map +0 -1
- package/esm/models/publicprompt.d.ts.map +0 -1
- package/esm/models/publicprompt.js.map +0 -1
- package/esm/models/publicpromptbatchresponse.d.ts +0 -10
- package/esm/models/publicpromptbatchresponse.d.ts.map +0 -1
- package/esm/models/publicpromptbatchresponse.js +0 -13
- package/esm/models/publicpromptbatchresponse.js.map +0 -1
- package/src/models/listpromptsresponse.ts +0 -15
- package/src/models/publicpromptbatchresponse.ts +0 -25
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id:
|
|
3
|
+
* @generated-id: 6495adbd118e
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
@@ -17,11 +17,15 @@ import {
|
|
|
17
17
|
PublicPromptTopic,
|
|
18
18
|
PublicPromptTopic$zodSchema,
|
|
19
19
|
} from "./publicprompttopic.js";
|
|
20
|
+
import {
|
|
21
|
+
V2PromptRunSettings,
|
|
22
|
+
V2PromptRunSettings$zodSchema,
|
|
23
|
+
} from "./v2promptrunsettings.js";
|
|
20
24
|
|
|
21
25
|
/**
|
|
22
26
|
* The prompt lifecycle status. Only `active` prompts run on schedule.
|
|
23
27
|
*/
|
|
24
|
-
export const
|
|
28
|
+
export const V2PromptResponseStatus = {
|
|
25
29
|
Active: "active",
|
|
26
30
|
Inactive: "inactive",
|
|
27
31
|
Archived: "archived",
|
|
@@ -29,9 +33,9 @@ export const PublicPromptStatus = {
|
|
|
29
33
|
/**
|
|
30
34
|
* The prompt lifecycle status. Only `active` prompts run on schedule.
|
|
31
35
|
*/
|
|
32
|
-
export type
|
|
36
|
+
export type V2PromptResponseStatus = ClosedEnum<typeof V2PromptResponseStatus>;
|
|
33
37
|
|
|
34
|
-
export const
|
|
38
|
+
export const V2PromptResponseStatus$zodSchema = z.enum([
|
|
35
39
|
"active",
|
|
36
40
|
"inactive",
|
|
37
41
|
"archived",
|
|
@@ -39,32 +43,36 @@ export const PublicPromptStatus$zodSchema = z.enum([
|
|
|
39
43
|
"The prompt lifecycle status. Only `active` prompts run on schedule.",
|
|
40
44
|
);
|
|
41
45
|
|
|
42
|
-
export type
|
|
46
|
+
export type V2PromptResponse = {
|
|
43
47
|
id: string;
|
|
44
48
|
topic_id: string;
|
|
45
49
|
text: string;
|
|
46
50
|
language_id?: string | null | undefined;
|
|
47
51
|
region_id?: string | null | undefined;
|
|
48
|
-
status:
|
|
52
|
+
status: V2PromptResponseStatus;
|
|
49
53
|
topic?: PublicPromptTopic | null | undefined;
|
|
50
54
|
platforms?: Array<PublicPromptPlatform> | undefined;
|
|
51
55
|
tags?: Array<PublicPromptTag> | undefined;
|
|
52
56
|
created_at?: string | null | undefined;
|
|
53
57
|
updated_at?: string | null | undefined;
|
|
58
|
+
run_settings?: V2PromptRunSettings | undefined;
|
|
54
59
|
};
|
|
55
60
|
|
|
56
|
-
export const
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
61
|
+
export const V2PromptResponse$zodSchema: z.ZodType<V2PromptResponse> = z.object(
|
|
62
|
+
{
|
|
63
|
+
created_at: z.string().nullable().optional(),
|
|
64
|
+
id: z.string(),
|
|
65
|
+
language_id: z.string().nullable().optional(),
|
|
66
|
+
platforms: z.array(PublicPromptPlatform$zodSchema).optional(),
|
|
67
|
+
region_id: z.string().nullable().optional(),
|
|
68
|
+
run_settings: V2PromptRunSettings$zodSchema.optional(),
|
|
69
|
+
status: V2PromptResponseStatus$zodSchema.describe(
|
|
70
|
+
"The prompt lifecycle status. Only `active` prompts run on schedule.",
|
|
71
|
+
),
|
|
72
|
+
tags: z.array(PublicPromptTag$zodSchema).optional(),
|
|
73
|
+
text: z.string(),
|
|
74
|
+
topic: PublicPromptTopic$zodSchema.nullable().optional(),
|
|
75
|
+
topic_id: z.string(),
|
|
76
|
+
updated_at: z.string().nullable().optional(),
|
|
77
|
+
},
|
|
78
|
+
);
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
7
|
import { ClosedEnum } from "../types/enums.js";
|
|
8
|
+
import {
|
|
9
|
+
SearchGroundingMode,
|
|
10
|
+
SearchGroundingMode$zodSchema,
|
|
11
|
+
} from "./searchgroundingmode.js";
|
|
8
12
|
import {
|
|
9
13
|
V2PromptRunCitation,
|
|
10
14
|
V2PromptRunCitation$zodSchema,
|
|
@@ -48,6 +52,11 @@ export type V2PromptRunDetail = {
|
|
|
48
52
|
is_brand_mentioned?: boolean | null | undefined;
|
|
49
53
|
citation_count?: number | undefined;
|
|
50
54
|
tool_call_count?: number | null | undefined;
|
|
55
|
+
search_grounding?: SearchGroundingMode | null | undefined;
|
|
56
|
+
web_retrieval_observed?: boolean | null | undefined;
|
|
57
|
+
search_observed?: boolean | null | undefined;
|
|
58
|
+
grounding_qualified?: boolean | null | undefined;
|
|
59
|
+
grounding_qualification_reason?: string | null | undefined;
|
|
51
60
|
created_at?: string | null | undefined;
|
|
52
61
|
response?: string | null | undefined;
|
|
53
62
|
mentions?: Array<V2PromptRunMention> | undefined;
|
|
@@ -65,6 +74,10 @@ export const V2PromptRunDetail$zodSchema: z.ZodType<V2PromptRunDetail> = z
|
|
|
65
74
|
"Sanitized interleaved text and tool-call trace captured for this run. It interleaves the agent's `text` turns with `tool_call` turns, so its length is not a tool-call count; use `tool_calls` or `tool_call_count`.",
|
|
66
75
|
),
|
|
67
76
|
created_at: z.string().nullable().optional(),
|
|
77
|
+
grounding_qualification_reason: z.string().nullable().optional(),
|
|
78
|
+
grounding_qualified: z.boolean().nullable().optional().describe(
|
|
79
|
+
"Whether the run satisfied the requested web access mode. Null means the default mode was used or isolation could not be proven.",
|
|
80
|
+
),
|
|
68
81
|
harness: z.string().nullable().optional().describe(
|
|
69
82
|
"Coding-agent harness for agent runs; otherwise the answer platform identifier.",
|
|
70
83
|
),
|
|
@@ -80,6 +93,11 @@ export const V2PromptRunDetail$zodSchema: z.ZodType<V2PromptRunDetail> = z
|
|
|
80
93
|
response: z.string().nullable().optional(),
|
|
81
94
|
response_preview: z.string().nullable().optional(),
|
|
82
95
|
run_date: z.string(),
|
|
96
|
+
search_grounding: SearchGroundingMode$zodSchema.nullable().optional()
|
|
97
|
+
.describe(
|
|
98
|
+
"Web access mode requested for this run. Null for runs recorded before web access was tracked.",
|
|
99
|
+
),
|
|
100
|
+
search_observed: z.boolean().nullable().optional(),
|
|
83
101
|
target_kind: V2PromptRunDetailTargetKind$zodSchema.nullable().optional(),
|
|
84
102
|
tool_call_count: z.int().nullable().optional().describe(
|
|
85
103
|
"Coding-agent tool invocations, counting a call and its result once. Matches the length of `tool_calls` on the detail response; null for answer-engine runs.",
|
|
@@ -87,4 +105,7 @@ export const V2PromptRunDetail$zodSchema: z.ZodType<V2PromptRunDetail> = z
|
|
|
87
105
|
tool_calls: z.array(z.record(z.string(), z.any())).optional().describe(
|
|
88
106
|
"Sanitized coding-agent tool invocations captured for this run, one entry per invocation with its result merged in.",
|
|
89
107
|
),
|
|
108
|
+
web_retrieval_observed: z.boolean().nullable().optional().describe(
|
|
109
|
+
"Whether the coding agent was observed searching or fetching from the web. Null when not measured, including answer-engine runs.",
|
|
110
|
+
),
|
|
90
111
|
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: cc46063d455b
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod";
|
|
7
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
8
|
+
import {
|
|
9
|
+
SearchGroundingMode,
|
|
10
|
+
SearchGroundingMode$zodSchema,
|
|
11
|
+
} from "./searchgroundingmode.js";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Whether coding-agent runs append "Use web search." to the prompt. `both` runs the prompt once without and once with the instruction. Ignored when `search_grounding` is `disabled`. Answer engines always receive the prompt as written.
|
|
15
|
+
*/
|
|
16
|
+
export const V2PromptRunSettingsWebSearchInstruction = {
|
|
17
|
+
Omit: "omit",
|
|
18
|
+
Append: "append",
|
|
19
|
+
Both: "both",
|
|
20
|
+
} as const;
|
|
21
|
+
/**
|
|
22
|
+
* Whether coding-agent runs append "Use web search." to the prompt. `both` runs the prompt once without and once with the instruction. Ignored when `search_grounding` is `disabled`. Answer engines always receive the prompt as written.
|
|
23
|
+
*/
|
|
24
|
+
export type V2PromptRunSettingsWebSearchInstruction = ClosedEnum<
|
|
25
|
+
typeof V2PromptRunSettingsWebSearchInstruction
|
|
26
|
+
>;
|
|
27
|
+
|
|
28
|
+
export const V2PromptRunSettingsWebSearchInstruction$zodSchema = z.enum([
|
|
29
|
+
"omit",
|
|
30
|
+
"append",
|
|
31
|
+
"both",
|
|
32
|
+
]).describe(
|
|
33
|
+
"Whether coding-agent runs append \"Use web search.\" to the prompt. `both` runs the prompt once without and once with the instruction. Ignored when `search_grounding` is `disabled`. Answer engines always receive the prompt as written.",
|
|
34
|
+
);
|
|
35
|
+
|
|
36
|
+
export type V2PromptRunSettings = {
|
|
37
|
+
search_grounding?: SearchGroundingMode | undefined;
|
|
38
|
+
web_search_instruction?: V2PromptRunSettingsWebSearchInstruction | undefined;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export const V2PromptRunSettings$zodSchema: z.ZodType<V2PromptRunSettings> = z
|
|
42
|
+
.object({
|
|
43
|
+
search_grounding: SearchGroundingMode$zodSchema.optional().describe(
|
|
44
|
+
"Requested web-retrieval behavior for an eval run.",
|
|
45
|
+
),
|
|
46
|
+
web_search_instruction: V2PromptRunSettingsWebSearchInstruction$zodSchema
|
|
47
|
+
.default("omit").describe(
|
|
48
|
+
"Whether coding-agent runs append \"Use web search.\" to the prompt. `both` runs the prompt once without and once with the instruction. Ignored when `search_grounding` is `disabled`. Answer engines always receive the prompt as written.",
|
|
49
|
+
),
|
|
50
|
+
});
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 7dee5732ac7a
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod";
|
|
7
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
8
|
+
import {
|
|
9
|
+
SearchGroundingMode,
|
|
10
|
+
SearchGroundingMode$zodSchema,
|
|
11
|
+
} from "./searchgroundingmode.js";
|
|
12
|
+
|
|
13
|
+
export const V2PromptRunSettingsInputWebSearchInstruction = {
|
|
14
|
+
Omit: "omit",
|
|
15
|
+
Append: "append",
|
|
16
|
+
Both: "both",
|
|
17
|
+
} as const;
|
|
18
|
+
export type V2PromptRunSettingsInputWebSearchInstruction = ClosedEnum<
|
|
19
|
+
typeof V2PromptRunSettingsInputWebSearchInstruction
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
export const V2PromptRunSettingsInputWebSearchInstruction$zodSchema = z.enum([
|
|
23
|
+
"omit",
|
|
24
|
+
"append",
|
|
25
|
+
"both",
|
|
26
|
+
]);
|
|
27
|
+
|
|
28
|
+
export type V2PromptRunSettingsInput = {
|
|
29
|
+
search_grounding?: SearchGroundingMode | null | undefined;
|
|
30
|
+
web_search_instruction?:
|
|
31
|
+
| V2PromptRunSettingsInputWebSearchInstruction
|
|
32
|
+
| null
|
|
33
|
+
| undefined;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export const V2PromptRunSettingsInput$zodSchema: z.ZodType<
|
|
37
|
+
V2PromptRunSettingsInput
|
|
38
|
+
> = z.object({
|
|
39
|
+
search_grounding: SearchGroundingMode$zodSchema.nullable().optional()
|
|
40
|
+
.describe(
|
|
41
|
+
"Web access for coding-agent runs of this prompt. `disabled` blocks web access in the agent sandbox, `enabled` requires the agent to retrieve from the web, and `default` leaves the choice to the agent. Answer engines are not affected. An eval-run target that sets `search_grounding` overrides this setting.",
|
|
42
|
+
),
|
|
43
|
+
web_search_instruction: V2PromptRunSettingsInputWebSearchInstruction$zodSchema
|
|
44
|
+
.nullable().optional().describe(
|
|
45
|
+
"Whether coding-agent runs append \"Use web search.\" to the prompt. `both` runs the prompt once without and once with the instruction. Ignored when `search_grounding` is `disabled`. Answer engines always receive the prompt as written.",
|
|
46
|
+
),
|
|
47
|
+
});
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
7
|
import { ClosedEnum } from "../types/enums.js";
|
|
8
|
+
import {
|
|
9
|
+
SearchGroundingMode,
|
|
10
|
+
SearchGroundingMode$zodSchema,
|
|
11
|
+
} from "./searchgroundingmode.js";
|
|
8
12
|
import {
|
|
9
13
|
V2PromptRunPlatform,
|
|
10
14
|
V2PromptRunPlatform$zodSchema,
|
|
@@ -40,6 +44,11 @@ export type V2PromptRunSummary = {
|
|
|
40
44
|
is_brand_mentioned?: boolean | null | undefined;
|
|
41
45
|
citation_count?: number | undefined;
|
|
42
46
|
tool_call_count?: number | null | undefined;
|
|
47
|
+
search_grounding?: SearchGroundingMode | null | undefined;
|
|
48
|
+
web_retrieval_observed?: boolean | null | undefined;
|
|
49
|
+
search_observed?: boolean | null | undefined;
|
|
50
|
+
grounding_qualified?: boolean | null | undefined;
|
|
51
|
+
grounding_qualification_reason?: string | null | undefined;
|
|
43
52
|
created_at?: string | null | undefined;
|
|
44
53
|
};
|
|
45
54
|
|
|
@@ -47,6 +56,10 @@ export const V2PromptRunSummary$zodSchema: z.ZodType<V2PromptRunSummary> = z
|
|
|
47
56
|
.object({
|
|
48
57
|
citation_count: z.int().default(0),
|
|
49
58
|
created_at: z.string().nullable().optional(),
|
|
59
|
+
grounding_qualification_reason: z.string().nullable().optional(),
|
|
60
|
+
grounding_qualified: z.boolean().nullable().optional().describe(
|
|
61
|
+
"Whether the run satisfied the requested web access mode. Null means the default mode was used or isolation could not be proven.",
|
|
62
|
+
),
|
|
50
63
|
harness: z.string().nullable().optional().describe(
|
|
51
64
|
"Coding-agent harness for agent runs; otherwise the answer platform identifier.",
|
|
52
65
|
),
|
|
@@ -60,8 +73,16 @@ export const V2PromptRunSummary$zodSchema: z.ZodType<V2PromptRunSummary> = z
|
|
|
60
73
|
prompt_id: z.string(),
|
|
61
74
|
response_preview: z.string().nullable().optional(),
|
|
62
75
|
run_date: z.string(),
|
|
76
|
+
search_grounding: SearchGroundingMode$zodSchema.nullable().optional()
|
|
77
|
+
.describe(
|
|
78
|
+
"Web access mode requested for this run. Null for runs recorded before web access was tracked.",
|
|
79
|
+
),
|
|
80
|
+
search_observed: z.boolean().nullable().optional(),
|
|
63
81
|
target_kind: V2PromptRunSummaryTargetKind$zodSchema.nullable().optional(),
|
|
64
82
|
tool_call_count: z.int().nullable().optional().describe(
|
|
65
83
|
"Coding-agent tool invocations, counting a call and its result once. Matches the length of `tool_calls` on the detail response; null for answer-engine runs.",
|
|
66
84
|
),
|
|
85
|
+
web_retrieval_observed: z.boolean().nullable().optional().describe(
|
|
86
|
+
"Whether the coding agent was observed searching or fetching from the web. Null when not measured, including answer-engine runs.",
|
|
87
|
+
),
|
|
67
88
|
});
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
HTTPValidationError$zodSchema,
|
|
10
10
|
} from "./httpvalidationerror.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
V2PromptBatchResponse,
|
|
13
|
+
V2PromptBatchResponse$zodSchema,
|
|
14
|
+
} from "./v2promptbatchresponse.js";
|
|
15
15
|
|
|
16
16
|
export type V2PromptsCreateResponse =
|
|
17
|
-
|
|
|
17
|
+
| V2PromptBatchResponse
|
|
18
18
|
| HTTPValidationError;
|
|
19
19
|
|
|
20
20
|
export const V2PromptsCreateResponse$zodSchema: z.ZodType<
|
|
21
21
|
V2PromptsCreateResponse
|
|
22
22
|
> = z.union([
|
|
23
|
-
|
|
23
|
+
V2PromptBatchResponse$zodSchema,
|
|
24
24
|
HTTPValidationError$zodSchema,
|
|
25
25
|
]);
|
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
HTTPValidationError$zodSchema,
|
|
11
11
|
} from "./httpvalidationerror.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
V2ListPromptsResponse,
|
|
14
|
+
V2ListPromptsResponse$zodSchema,
|
|
15
|
+
} from "./v2listpromptsresponse.js";
|
|
16
16
|
|
|
17
17
|
export const V2PromptsListStatus = {
|
|
18
18
|
Active: "active",
|
|
@@ -40,10 +40,10 @@ export const V2PromptsListRequest$zodSchema: z.ZodType<V2PromptsListRequest> = z
|
|
|
40
40
|
topic_id: z.string().describe("Optional prompt topic ID.").optional(),
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export type V2PromptsListResponse =
|
|
43
|
+
export type V2PromptsListResponse = V2ListPromptsResponse | HTTPValidationError;
|
|
44
44
|
|
|
45
45
|
export const V2PromptsListResponse$zodSchema: z.ZodType<V2PromptsListResponse> =
|
|
46
46
|
z.union([
|
|
47
|
-
|
|
47
|
+
V2ListPromptsResponse$zodSchema,
|
|
48
48
|
HTTPValidationError$zodSchema,
|
|
49
49
|
]);
|
|
@@ -8,7 +8,10 @@ import {
|
|
|
8
8
|
HTTPValidationError,
|
|
9
9
|
HTTPValidationError$zodSchema,
|
|
10
10
|
} from "./httpvalidationerror.js";
|
|
11
|
-
import {
|
|
11
|
+
import {
|
|
12
|
+
V2PromptResponse,
|
|
13
|
+
V2PromptResponse$zodSchema,
|
|
14
|
+
} from "./v2promptresponse.js";
|
|
12
15
|
|
|
13
16
|
export type V2PromptsRetrieveRequest = { prompt_id: string };
|
|
14
17
|
|
|
@@ -18,11 +21,11 @@ export const V2PromptsRetrieveRequest$zodSchema: z.ZodType<
|
|
|
18
21
|
prompt_id: z.string(),
|
|
19
22
|
});
|
|
20
23
|
|
|
21
|
-
export type V2PromptsRetrieveResponse =
|
|
24
|
+
export type V2PromptsRetrieveResponse = V2PromptResponse | HTTPValidationError;
|
|
22
25
|
|
|
23
26
|
export const V2PromptsRetrieveResponse$zodSchema: z.ZodType<
|
|
24
27
|
V2PromptsRetrieveResponse
|
|
25
28
|
> = z.union([
|
|
26
|
-
|
|
29
|
+
V2PromptResponse$zodSchema,
|
|
27
30
|
HTTPValidationError$zodSchema,
|
|
28
31
|
]);
|
|
@@ -8,11 +8,14 @@ import {
|
|
|
8
8
|
HTTPValidationError,
|
|
9
9
|
HTTPValidationError$zodSchema,
|
|
10
10
|
} from "./httpvalidationerror.js";
|
|
11
|
-
import { PublicPrompt, PublicPrompt$zodSchema } from "./publicprompt.js";
|
|
12
11
|
import {
|
|
13
12
|
UpdateV2PromptRequest,
|
|
14
13
|
UpdateV2PromptRequest$zodSchema,
|
|
15
14
|
} from "./updatev2promptrequest.js";
|
|
15
|
+
import {
|
|
16
|
+
V2PromptResponse,
|
|
17
|
+
V2PromptResponse$zodSchema,
|
|
18
|
+
} from "./v2promptresponse.js";
|
|
16
19
|
|
|
17
20
|
export type V2PromptsUpdateRequest = {
|
|
18
21
|
prompt_id: string;
|
|
@@ -26,11 +29,11 @@ export const V2PromptsUpdateRequest$zodSchema: z.ZodType<
|
|
|
26
29
|
prompt_id: z.string(),
|
|
27
30
|
});
|
|
28
31
|
|
|
29
|
-
export type V2PromptsUpdateResponse =
|
|
32
|
+
export type V2PromptsUpdateResponse = V2PromptResponse | HTTPValidationError;
|
|
30
33
|
|
|
31
34
|
export const V2PromptsUpdateResponse$zodSchema: z.ZodType<
|
|
32
35
|
V2PromptsUpdateResponse
|
|
33
36
|
> = z.union([
|
|
34
|
-
|
|
37
|
+
V2PromptResponse$zodSchema,
|
|
35
38
|
HTTPValidationError$zodSchema,
|
|
36
39
|
]);
|
|
@@ -12,13 +12,21 @@ export const Loc$zodSchema: z.ZodType<Loc> = z.union([
|
|
|
12
12
|
z.int(),
|
|
13
13
|
]);
|
|
14
14
|
|
|
15
|
+
export type Context = {};
|
|
16
|
+
|
|
17
|
+
export const Context$zodSchema: z.ZodType<Context> = z.object({});
|
|
18
|
+
|
|
15
19
|
export type ValidationError = {
|
|
16
20
|
loc: Array<string | number>;
|
|
17
21
|
msg: string;
|
|
18
22
|
type: string;
|
|
23
|
+
input?: any | undefined;
|
|
24
|
+
ctx?: Context | undefined;
|
|
19
25
|
};
|
|
20
26
|
|
|
21
27
|
export const ValidationError$zodSchema: z.ZodType<ValidationError> = z.object({
|
|
28
|
+
ctx: z.lazy(() => Context$zodSchema).optional(),
|
|
29
|
+
input: z.any().optional(),
|
|
22
30
|
loc: z.array(z.union([
|
|
23
31
|
z.string(),
|
|
24
32
|
z.int(),
|
package/src/tool-names.ts
CHANGED
|
@@ -58,11 +58,11 @@ export const toolNames: Array<{ name: string; description: string }>= [
|
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"name": "prompts-v2-prompts-retrieve",
|
|
61
|
-
"description": "Retrieve Prompt\n\nReturns a prompt with its topic, platforms, tags, and
|
|
61
|
+
"description": "Retrieve Prompt\n\nReturns a prompt with its topic, platforms, tags, lifecycle status, and coding-agent run settings."
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"name": "prompts-v2-prompts-update",
|
|
65
|
-
"description": "Update Prompt\n\nUpdates a prompt's text, topic, platforms, or
|
|
65
|
+
"description": "Update Prompt\n\nUpdates a prompt's text, topic, platforms, lifecycle status, or coding-agent run settings. Omitted fields remain unchanged."
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"name": "prompts-v2-prompts-delete",
|
|
@@ -116,6 +116,10 @@ export const toolNames: Array<{ name: string; description: string }>= [
|
|
|
116
116
|
"name": "evals-v2-evals-create",
|
|
117
117
|
"description": "Create Eval\n\nCreates a reusable simulation definition with one or more task prompts and judges. Optional agents, persona, CLI installations, MCP servers, setup commands, cleanup commands, grounding policy, repeat count, and tags are saved with the eval. `search_grounding` supports `disabled`, `enabled`, and `default`; `default` preserves normal platform behavior. Creating the eval does not start a run and does not accept secret environment values."
|
|
118
118
|
},
|
|
119
|
+
{
|
|
120
|
+
"name": "evals-v2-evals-batch-create",
|
|
121
|
+
"description": "Create evals from a template\n\nStep 2 of the reusable template workflow. Provide the `id` and `version` returned by `POST /v2/eval-templates` as `template_id` and `expected_template_version`, then provide only prompt-specific fields in `evals`. The template supplies only the settings named in its `included_components`; omitted settings keep the values supplied by the creation workflow or its defaults. Included values are copied at creation time, so later template changes do not alter the created evals. Competitor selections create one additional eval per selected competitor for every input item, and the response groups each base eval with those variants. Brand-scoped runtime resources are validated against the organization's primary brand before any eval is created."
|
|
122
|
+
},
|
|
119
123
|
{
|
|
120
124
|
"name": "evals-v2-evals-retrieve",
|
|
121
125
|
"description": "Retrieve Eval\n\nReturns one reusable eval simulation definition."
|
|
@@ -164,6 +168,26 @@ export const toolNames: Array<{ name: string; description: string }>= [
|
|
|
164
168
|
"name": "evals-get",
|
|
165
169
|
"description": "Retrieve an eval run\n\nReturns the run's current status and progress. Once its attempts finish, the response also includes their results and analysis. Poll this until the status reaches a terminal value. Use the trace operation for the raw execution event log, or the monitor operation to follow a run live."
|
|
166
170
|
},
|
|
171
|
+
{
|
|
172
|
+
"name": "eval-templates-v2-eval-templates-list",
|
|
173
|
+
"description": "List Eval templates\n\nReturns active reusable Eval templates owned by the authenticated organization. Templates contain reusable configuration and never task prompts."
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "eval-templates-v2-eval-templates-create",
|
|
177
|
+
"description": "Create an Eval template\n\nStep 1 of the reusable template workflow. Creates an organization-owned Eval template containing only the configuration components selected in `included_components`. Do not include task prompts in the template. The response returns the template `id` and `version`; pass them as `template_id` and `expected_template_version` to `POST /v2/evals/batch` with each eval's name and prompts. Applying a template copies its values into the new evals without creating a live link."
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "eval-templates-v2-eval-templates-retrieve",
|
|
181
|
+
"description": "Retrieve an Eval template\n\nReturns one active reusable Eval template."
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "eval-templates-v2-eval-templates-update",
|
|
185
|
+
"description": "Update an Eval template\n\nUpdates an Eval template. Supply `expected_template_version` to reject an edit based on stale data. Existing evals are never changed."
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "eval-templates-v2-eval-templates-delete",
|
|
189
|
+
"description": "Delete an Eval template\n\nSoft-deletes an Eval template. Evals previously created from it remain independent and continue to run with their copied configuration."
|
|
190
|
+
},
|
|
167
191
|
{
|
|
168
192
|
"name": "eval-runs-v2-eval-runs-list",
|
|
169
193
|
"description": "List Runs\n\nReturns jobs created through `POST /v2/eval-runs`, ordered newest first, with lifecycle state and progress."
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { PublicPrompt } from "./publicprompt.js";
|
|
3
|
-
export type ListPromptsResponse = {
|
|
4
|
-
data: Array<PublicPrompt>;
|
|
5
|
-
count: number;
|
|
6
|
-
};
|
|
7
|
-
export declare const ListPromptsResponse$zodSchema: z.ZodType<ListPromptsResponse>;
|
|
8
|
-
//# sourceMappingURL=listpromptsresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listpromptsresponse.d.ts","sourceRoot":"","sources":["../../src/models/listpromptsresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,YAAY,EAA0B,MAAM,mBAAmB,CAAC;AAEzE,MAAM,MAAM,mBAAmB,GAAG;IAAE,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/E,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAIrE,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: d7cd8f69c086
|
|
4
|
-
*/
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { PublicPrompt$zodSchema } from "./publicprompt.js";
|
|
7
|
-
export const ListPromptsResponse$zodSchema = z
|
|
8
|
-
.object({
|
|
9
|
-
count: z.int(),
|
|
10
|
-
data: z.array(PublicPrompt$zodSchema),
|
|
11
|
-
});
|
|
12
|
-
//# sourceMappingURL=listpromptsresponse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listpromptsresponse.js","sourceRoot":"","sources":["../../src/models/listpromptsresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAgB,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAIzE,MAAM,CAAC,MAAM,6BAA6B,GAAmC,CAAC;KAC3E,MAAM,CAAC;IACN,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC;CACtC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"publicprompt.d.ts","sourceRoot":"","sources":["../../src/models/publicprompt.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;CAIrB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEvE,eAAO,MAAM,4BAA4B;;;;EAMxC,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,MAAM,EAAE,kBAAkB,CAAC;IAC3B,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,SAAS,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC;IACpD,IAAI,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;IAC1C,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,CAczD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"publicprompt.js","sourceRoot":"","sources":["../../src/models/publicprompt.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,8BAA8B,GAC/B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAEL,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAMX,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,QAAQ;IACR,UAAU;IACV,UAAU;CACX,CAAC,CAAC,QAAQ,CACT,qEAAqE,CACtE,CAAC;AAgBF,MAAM,CAAC,MAAM,sBAAsB,GAA4B,CAAC,CAAC,MAAM,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC5C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC7C,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC,QAAQ,EAAE;IAC7D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,MAAM,EAAE,4BAA4B,CAAC,QAAQ,CAC3C,qEAAqE,CACtE;IACD,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,QAAQ,EAAE;IACnD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,2BAA2B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { PromptBatchError } from "./promptbatcherror.js";
|
|
3
|
-
import { PublicPrompt } from "./publicprompt.js";
|
|
4
|
-
export type PublicPromptBatchResponse = {
|
|
5
|
-
created: Array<PublicPrompt>;
|
|
6
|
-
count: number;
|
|
7
|
-
errors?: Array<PromptBatchError> | undefined;
|
|
8
|
-
};
|
|
9
|
-
export declare const PublicPromptBatchResponse$zodSchema: z.ZodType<PublicPromptBatchResponse>;
|
|
10
|
-
//# sourceMappingURL=publicpromptbatchresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"publicpromptbatchresponse.d.ts","sourceRoot":"","sources":["../../src/models/publicpromptbatchresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,YAAY,EAA0B,MAAM,mBAAmB,CAAC;AAEzE,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,yBAAyB,CAKzB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 9c5fadb0ac89
|
|
4
|
-
*/
|
|
5
|
-
import * as z from "zod";
|
|
6
|
-
import { PromptBatchError$zodSchema, } from "./promptbatcherror.js";
|
|
7
|
-
import { PublicPrompt$zodSchema } from "./publicprompt.js";
|
|
8
|
-
export const PublicPromptBatchResponse$zodSchema = z.object({
|
|
9
|
-
count: z.int(),
|
|
10
|
-
created: z.array(PublicPrompt$zodSchema),
|
|
11
|
-
errors: z.array(PromptBatchError$zodSchema).optional(),
|
|
12
|
-
});
|
|
13
|
-
//# sourceMappingURL=publicpromptbatchresponse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"publicpromptbatchresponse.js","sourceRoot":"","sources":["../../src/models/publicpromptbatchresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAgB,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAQzE,MAAM,CAAC,MAAM,mCAAmC,GAE5C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE;IACd,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC;IACxC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC,QAAQ,EAAE;CACvD,CAAC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: d7cd8f69c086
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod";
|
|
7
|
-
import { PublicPrompt, PublicPrompt$zodSchema } from "./publicprompt.js";
|
|
8
|
-
|
|
9
|
-
export type ListPromptsResponse = { data: Array<PublicPrompt>; count: number };
|
|
10
|
-
|
|
11
|
-
export const ListPromptsResponse$zodSchema: z.ZodType<ListPromptsResponse> = z
|
|
12
|
-
.object({
|
|
13
|
-
count: z.int(),
|
|
14
|
-
data: z.array(PublicPrompt$zodSchema),
|
|
15
|
-
});
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id: 9c5fadb0ac89
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import * as z from "zod";
|
|
7
|
-
import {
|
|
8
|
-
PromptBatchError,
|
|
9
|
-
PromptBatchError$zodSchema,
|
|
10
|
-
} from "./promptbatcherror.js";
|
|
11
|
-
import { PublicPrompt, PublicPrompt$zodSchema } from "./publicprompt.js";
|
|
12
|
-
|
|
13
|
-
export type PublicPromptBatchResponse = {
|
|
14
|
-
created: Array<PublicPrompt>;
|
|
15
|
-
count: number;
|
|
16
|
-
errors?: Array<PromptBatchError> | undefined;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export const PublicPromptBatchResponse$zodSchema: z.ZodType<
|
|
20
|
-
PublicPromptBatchResponse
|
|
21
|
-
> = z.object({
|
|
22
|
-
count: z.int(),
|
|
23
|
-
created: z.array(PublicPrompt$zodSchema),
|
|
24
|
-
errors: z.array(PromptBatchError$zodSchema).optional(),
|
|
25
|
-
});
|