@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
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: c59f083905c6
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { EvalTemplate$zodSchema } from "./evaltemplate.js";
|
|
7
|
+
import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
|
|
8
|
+
import { UpdateEvalTemplateRequest$zodSchema, } from "./updateevaltemplaterequest.js";
|
|
9
|
+
export const V2EvalTemplatesUpdateRequest$zodSchema = z.object({
|
|
10
|
+
body: UpdateEvalTemplateRequest$zodSchema,
|
|
11
|
+
template_id: z.string(),
|
|
12
|
+
});
|
|
13
|
+
export const V2EvalTemplatesUpdateConflictResponseBody$zodSchema = z.object({
|
|
14
|
+
detail: z.string(),
|
|
15
|
+
}).describe("The supplied template version is stale.");
|
|
16
|
+
export const V2EvalTemplatesUpdateNotFoundResponseBody$zodSchema = z.object({
|
|
17
|
+
detail: z.string(),
|
|
18
|
+
}).describe("The Eval template does not exist in the organization.");
|
|
19
|
+
export const V2EvalTemplatesUpdateBadRequestResponseBody$zodSchema = z.object({
|
|
20
|
+
detail: z.string(),
|
|
21
|
+
}).describe("The template contains invalid judges, targets, scheduling, metadata, or organization resources.");
|
|
22
|
+
export const V2EvalTemplatesUpdateResponse$zodSchema = z.union([
|
|
23
|
+
EvalTemplate$zodSchema,
|
|
24
|
+
z.lazy(() => V2EvalTemplatesUpdateBadRequestResponseBody$zodSchema),
|
|
25
|
+
z.lazy(() => V2EvalTemplatesUpdateNotFoundResponseBody$zodSchema),
|
|
26
|
+
z.lazy(() => V2EvalTemplatesUpdateConflictResponseBody$zodSchema),
|
|
27
|
+
HTTPValidationError$zodSchema,
|
|
28
|
+
]);
|
|
29
|
+
//# sourceMappingURL=v2evaltemplatesupdateop.js.map
|
|
@@ -0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AC9B,CAAC,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const V2InlineMcpDefinitionType: {
|
|
4
4
|
readonly Http: "http";
|
|
5
5
|
readonly Sse: "sse";
|
|
6
6
|
readonly Stdio: "stdio";
|
|
7
7
|
};
|
|
8
|
-
export type
|
|
9
|
-
export declare const
|
|
8
|
+
export type V2InlineMcpDefinitionType = ClosedEnum<typeof V2InlineMcpDefinitionType>;
|
|
9
|
+
export declare const V2InlineMcpDefinitionType$zodSchema: z.ZodEnum<{
|
|
10
10
|
http: "http";
|
|
11
11
|
sse: "sse";
|
|
12
12
|
stdio: "stdio";
|
|
13
13
|
}>;
|
|
14
14
|
export type V2InlineMcpDefinition = {
|
|
15
15
|
name: string;
|
|
16
|
-
type:
|
|
16
|
+
type: V2InlineMcpDefinitionType;
|
|
17
17
|
url?: string | null | undefined;
|
|
18
18
|
headers?: {
|
|
19
19
|
[k: string]: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2inlinemcpdefinition.d.ts","sourceRoot":"","sources":["../../src/models/v2inlinemcpdefinition.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"v2inlinemcpdefinition.d.ts","sourceRoot":"","sources":["../../src/models/v2inlinemcpdefinition.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,eAAO,MAAM,yBAAyB;;;;CAI5B,CAAC;AACX,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAChD,OAAO,yBAAyB,CACjC,CAAC;AAEF,eAAO,MAAM,mCAAmC;;;;EAI9C,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,yBAAyB,CAAC;IAChC,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC9C,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACjC,GAAG,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAmBzE,CAAC"}
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* @generated-id: 96ca65e675c2
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod";
|
|
6
|
-
export const
|
|
6
|
+
export const V2InlineMcpDefinitionType = {
|
|
7
7
|
Http: "http",
|
|
8
8
|
Sse: "sse",
|
|
9
9
|
Stdio: "stdio",
|
|
10
10
|
};
|
|
11
|
-
export const
|
|
11
|
+
export const V2InlineMcpDefinitionType$zodSchema = z.enum([
|
|
12
12
|
"http",
|
|
13
13
|
"sse",
|
|
14
14
|
"stdio",
|
|
@@ -19,7 +19,7 @@ export const V2InlineMcpDefinition$zodSchema = z.object({
|
|
|
19
19
|
env: z.record(z.string(), z.string()).optional().describe("Environment mapping for a `stdio` MCP server. Values may reference run secrets with `${VARIABLE_NAME}`."),
|
|
20
20
|
headers: z.record(z.string(), z.string()).optional().describe("HTTP headers. Reference run secrets with `${VARIABLE_NAME}` instead of embedding credentials."),
|
|
21
21
|
name: z.string().describe("Stable server name used in the selected agent's MCP config."),
|
|
22
|
-
type:
|
|
22
|
+
type: V2InlineMcpDefinitionType$zodSchema,
|
|
23
23
|
url: z.string().nullable().optional().describe("HTTPS endpoint for an `http` or `sse` MCP server."),
|
|
24
24
|
});
|
|
25
25
|
//# sourceMappingURL=v2inlinemcpdefinition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2inlinemcpdefinition.js","sourceRoot":"","sources":["../../src/models/v2inlinemcpdefinition.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"v2inlinemcpdefinition.js","sourceRoot":"","sources":["../../src/models/v2inlinemcpdefinition.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;CACN,CAAC;AAKX,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC,IAAI,CAAC;IACxD,MAAM;IACN,KAAK;IACL,OAAO;CACR,CAAC,CAAC;AAYH,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAChD,8CAA8C,CAC/C;IACD,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACvD,yGAAyG,CAC1G;IACD,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC3D,+FAA+F,CAChG;IACD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CACvB,6DAA6D,CAC9D;IACD,IAAI,EAAE,mCAAmC;IACzC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5C,mDAAmD,CACpD;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { V2PromptResponse } from "./v2promptresponse.js";
|
|
3
|
+
export type V2ListPromptsResponse = {
|
|
4
|
+
data: Array<V2PromptResponse>;
|
|
5
|
+
count: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const V2ListPromptsResponse$zodSchema: z.ZodType<V2ListPromptsResponse>;
|
|
8
|
+
//# sourceMappingURL=v2listpromptsresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2listpromptsresponse.d.ts","sourceRoot":"","sources":["../../src/models/v2listpromptsresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAIzE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 48a5d5271d92
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { V2PromptResponse$zodSchema, } from "./v2promptresponse.js";
|
|
7
|
+
export const V2ListPromptsResponse$zodSchema = z.object({
|
|
8
|
+
count: z.int(),
|
|
9
|
+
data: z.array(V2PromptResponse$zodSchema),
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=v2listpromptsresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2listpromptsresponse.js","sourceRoot":"","sources":["../../src/models/v2listpromptsresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAO/B,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC;CAC1C,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { PromptBatchError } from "./promptbatcherror.js";
|
|
3
|
+
import { V2PromptResponse } from "./v2promptresponse.js";
|
|
4
|
+
export type V2PromptBatchResponse = {
|
|
5
|
+
created: Array<V2PromptResponse>;
|
|
6
|
+
count: number;
|
|
7
|
+
errors?: Array<PromptBatchError> | undefined;
|
|
8
|
+
};
|
|
9
|
+
export declare const V2PromptBatchResponse$zodSchema: z.ZodType<V2PromptBatchResponse>;
|
|
10
|
+
//# sourceMappingURL=v2promptbatchresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2promptbatchresponse.d.ts","sourceRoot":"","sources":["../../src/models/v2promptbatchresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,gBAAgB,EAEjB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAKzE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: d9c010826345
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { PromptBatchError$zodSchema, } from "./promptbatcherror.js";
|
|
7
|
+
import { V2PromptResponse$zodSchema, } from "./v2promptresponse.js";
|
|
8
|
+
export const V2PromptBatchResponse$zodSchema = z.object({
|
|
9
|
+
count: z.int(),
|
|
10
|
+
created: z.array(V2PromptResponse$zodSchema),
|
|
11
|
+
errors: z.array(PromptBatchError$zodSchema).optional(),
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=v2promptbatchresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2promptbatchresponse.js","sourceRoot":"","sources":["../../src/models/v2promptbatchresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAEL,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAQ/B,MAAM,CAAC,MAAM,+BAA+B,GAC1C,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,GAAG,EAAE;IACd,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC;IAC5C,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC,QAAQ,EAAE;CACvD,CAAC,CAAC"}
|
|
@@ -3,10 +3,11 @@ import { ClosedEnum } from "../types/enums.js";
|
|
|
3
3
|
import { PublicPromptPlatform } from "./publicpromptplatform.js";
|
|
4
4
|
import { PublicPromptTag } from "./publicprompttag.js";
|
|
5
5
|
import { PublicPromptTopic } from "./publicprompttopic.js";
|
|
6
|
+
import { V2PromptRunSettings } from "./v2promptrunsettings.js";
|
|
6
7
|
/**
|
|
7
8
|
* The prompt lifecycle status. Only `active` prompts run on schedule.
|
|
8
9
|
*/
|
|
9
|
-
export declare const
|
|
10
|
+
export declare const V2PromptResponseStatus: {
|
|
10
11
|
readonly Active: "active";
|
|
11
12
|
readonly Inactive: "inactive";
|
|
12
13
|
readonly Archived: "archived";
|
|
@@ -14,24 +15,25 @@ export declare const PublicPromptStatus: {
|
|
|
14
15
|
/**
|
|
15
16
|
* The prompt lifecycle status. Only `active` prompts run on schedule.
|
|
16
17
|
*/
|
|
17
|
-
export type
|
|
18
|
-
export declare const
|
|
18
|
+
export type V2PromptResponseStatus = ClosedEnum<typeof V2PromptResponseStatus>;
|
|
19
|
+
export declare const V2PromptResponseStatus$zodSchema: z.ZodEnum<{
|
|
19
20
|
active: "active";
|
|
20
21
|
inactive: "inactive";
|
|
21
22
|
archived: "archived";
|
|
22
23
|
}>;
|
|
23
|
-
export type
|
|
24
|
+
export type V2PromptResponse = {
|
|
24
25
|
id: string;
|
|
25
26
|
topic_id: string;
|
|
26
27
|
text: string;
|
|
27
28
|
language_id?: string | null | undefined;
|
|
28
29
|
region_id?: string | null | undefined;
|
|
29
|
-
status:
|
|
30
|
+
status: V2PromptResponseStatus;
|
|
30
31
|
topic?: PublicPromptTopic | null | undefined;
|
|
31
32
|
platforms?: Array<PublicPromptPlatform> | undefined;
|
|
32
33
|
tags?: Array<PublicPromptTag> | undefined;
|
|
33
34
|
created_at?: string | null | undefined;
|
|
34
35
|
updated_at?: string | null | undefined;
|
|
36
|
+
run_settings?: V2PromptRunSettings | undefined;
|
|
35
37
|
};
|
|
36
|
-
export declare const
|
|
37
|
-
//# sourceMappingURL=
|
|
38
|
+
export declare const V2PromptResponse$zodSchema: z.ZodType<V2PromptResponse>;
|
|
39
|
+
//# sourceMappingURL=v2promptresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2promptresponse.d.ts","sourceRoot":"","sources":["../../src/models/v2promptresponse.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;AAChC,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;CAIzB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE/E,eAAO,MAAM,gCAAgC;;;;EAM5C,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,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,sBAAsB,CAAC;IAC/B,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;IACvC,YAAY,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAiBlE,CAAC"}
|
|
@@ -1,35 +1,37 @@
|
|
|
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
|
import * as z from "zod";
|
|
6
6
|
import { PublicPromptPlatform$zodSchema, } from "./publicpromptplatform.js";
|
|
7
7
|
import { PublicPromptTag$zodSchema, } from "./publicprompttag.js";
|
|
8
8
|
import { PublicPromptTopic$zodSchema, } from "./publicprompttopic.js";
|
|
9
|
+
import { V2PromptRunSettings$zodSchema, } from "./v2promptrunsettings.js";
|
|
9
10
|
/**
|
|
10
11
|
* The prompt lifecycle status. Only `active` prompts run on schedule.
|
|
11
12
|
*/
|
|
12
|
-
export const
|
|
13
|
+
export const V2PromptResponseStatus = {
|
|
13
14
|
Active: "active",
|
|
14
15
|
Inactive: "inactive",
|
|
15
16
|
Archived: "archived",
|
|
16
17
|
};
|
|
17
|
-
export const
|
|
18
|
+
export const V2PromptResponseStatus$zodSchema = z.enum([
|
|
18
19
|
"active",
|
|
19
20
|
"inactive",
|
|
20
21
|
"archived",
|
|
21
22
|
]).describe("The prompt lifecycle status. Only `active` prompts run on schedule.");
|
|
22
|
-
export const
|
|
23
|
+
export const V2PromptResponse$zodSchema = z.object({
|
|
23
24
|
created_at: z.string().nullable().optional(),
|
|
24
25
|
id: z.string(),
|
|
25
26
|
language_id: z.string().nullable().optional(),
|
|
26
27
|
platforms: z.array(PublicPromptPlatform$zodSchema).optional(),
|
|
27
28
|
region_id: z.string().nullable().optional(),
|
|
28
|
-
|
|
29
|
+
run_settings: V2PromptRunSettings$zodSchema.optional(),
|
|
30
|
+
status: V2PromptResponseStatus$zodSchema.describe("The prompt lifecycle status. Only `active` prompts run on schedule."),
|
|
29
31
|
tags: z.array(PublicPromptTag$zodSchema).optional(),
|
|
30
32
|
text: z.string(),
|
|
31
33
|
topic: PublicPromptTopic$zodSchema.nullable().optional(),
|
|
32
34
|
topic_id: z.string(),
|
|
33
35
|
updated_at: z.string().nullable().optional(),
|
|
34
36
|
});
|
|
35
|
-
//# sourceMappingURL=
|
|
37
|
+
//# sourceMappingURL=v2promptresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2promptresponse.js","sourceRoot":"","sources":["../../src/models/v2promptresponse.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;AAChC,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAMX,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,IAAI,CAAC;IACrD,QAAQ;IACR,UAAU;IACV,UAAU;CACX,CAAC,CAAC,QAAQ,CACT,qEAAqE,CACtE,CAAC;AAiBF,MAAM,CAAC,MAAM,0BAA0B,GAAgC,CAAC,CAAC,MAAM,CAC7E;IACE,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,YAAY,EAAE,6BAA6B,CAAC,QAAQ,EAAE;IACtD,MAAM,EAAE,gCAAgC,CAAC,QAAQ,CAC/C,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,CACF,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
import { SearchGroundingMode } from "./searchgroundingmode.js";
|
|
3
4
|
import { V2PromptRunCitation } from "./v2promptruncitation.js";
|
|
4
5
|
import { V2PromptRunMention } from "./v2promptrunmention.js";
|
|
5
6
|
import { V2PromptRunPlatform } from "./v2promptrunplatform.js";
|
|
@@ -26,6 +27,11 @@ export type V2PromptRunDetail = {
|
|
|
26
27
|
is_brand_mentioned?: boolean | null | undefined;
|
|
27
28
|
citation_count?: number | undefined;
|
|
28
29
|
tool_call_count?: number | null | undefined;
|
|
30
|
+
search_grounding?: SearchGroundingMode | null | undefined;
|
|
31
|
+
web_retrieval_observed?: boolean | null | undefined;
|
|
32
|
+
search_observed?: boolean | null | undefined;
|
|
33
|
+
grounding_qualified?: boolean | null | undefined;
|
|
34
|
+
grounding_qualification_reason?: string | null | undefined;
|
|
29
35
|
created_at?: string | null | undefined;
|
|
30
36
|
response?: string | null | undefined;
|
|
31
37
|
mentions?: Array<V2PromptRunMention> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2promptrundetail.d.ts","sourceRoot":"","sources":["../../src/models/v2promptrundetail.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC,eAAO,MAAM,2BAA2B;;;CAG9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAEF,eAAO,MAAM,qCAAqC;;;EAGhD,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,iBAAiB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,WAAW,CAAC,EAAE,2BAA2B,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7D,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,QAAQ,EAA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AAS,CAAC;IACvC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC;IACjD,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC;IACnD,UAAU,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;IACrD,kBAAkB,CAAC,EAAE,KAAK,CAAC;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;CAC9D,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CA2CjE,CAAC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* @generated-id: cfcd048b3ba6
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { SearchGroundingMode$zodSchema, } from "./searchgroundingmode.js";
|
|
6
7
|
import { V2PromptRunCitation$zodSchema, } from "./v2promptruncitation.js";
|
|
7
8
|
import { V2PromptRunMention$zodSchema, } from "./v2promptrunmention.js";
|
|
8
9
|
import { V2PromptRunPlatform$zodSchema, } from "./v2promptrunplatform.js";
|
|
@@ -22,6 +23,8 @@ export const V2PromptRunDetail$zodSchema = z
|
|
|
22
23
|
conversation_turns: z.array(z.record(z.string(), z.any())).optional()
|
|
23
24
|
.describe("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`."),
|
|
24
25
|
created_at: z.string().nullable().optional(),
|
|
26
|
+
grounding_qualification_reason: z.string().nullable().optional(),
|
|
27
|
+
grounding_qualified: z.boolean().nullable().optional().describe("Whether the run satisfied the requested web access mode. Null means the default mode was used or isolation could not be proven."),
|
|
25
28
|
harness: z.string().nullable().optional().describe("Coding-agent harness for agent runs; otherwise the answer platform identifier."),
|
|
26
29
|
id: z.string(),
|
|
27
30
|
is_brand_mentioned: z.boolean().nullable().optional(),
|
|
@@ -33,8 +36,12 @@ export const V2PromptRunDetail$zodSchema = z
|
|
|
33
36
|
response: z.string().nullable().optional(),
|
|
34
37
|
response_preview: z.string().nullable().optional(),
|
|
35
38
|
run_date: z.string(),
|
|
39
|
+
search_grounding: SearchGroundingMode$zodSchema.nullable().optional()
|
|
40
|
+
.describe("Web access mode requested for this run. Null for runs recorded before web access was tracked."),
|
|
41
|
+
search_observed: z.boolean().nullable().optional(),
|
|
36
42
|
target_kind: V2PromptRunDetailTargetKind$zodSchema.nullable().optional(),
|
|
37
43
|
tool_call_count: z.int().nullable().optional().describe("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."),
|
|
38
44
|
tool_calls: z.array(z.record(z.string(), z.any())).optional().describe("Sanitized coding-agent tool invocations captured for this run, one entry per invocation with its result merged in."),
|
|
45
|
+
web_retrieval_observed: z.boolean().nullable().optional().describe("Whether the coding agent was observed searching or fetching from the web. Null when not measured, including answer-engine runs."),
|
|
39
46
|
});
|
|
40
47
|
//# sourceMappingURL=v2promptrundetail.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2promptrundetail.js","sourceRoot":"","sources":["../../src/models/v2promptrundetail.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,4BAA4B,GAC7B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,YAAY,EAA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CAAqC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxE,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrD,6JAA6J,CAC9J;IACD,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACpE,oHAAoH,CACrH;IACD,sBAAsB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAChE,iIAAiI,CAClI;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
import { SearchGroundingMode } from "./searchgroundingmode.js";
|
|
4
|
+
/**
|
|
5
|
+
* 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.
|
|
6
|
+
*/
|
|
7
|
+
export declare const V2PromptRunSettingsWebSearchInstruction: {
|
|
8
|
+
readonly Omit: "omit";
|
|
9
|
+
readonly Append: "append";
|
|
10
|
+
readonly Both: "both";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* 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.
|
|
14
|
+
*/
|
|
15
|
+
export type V2PromptRunSettingsWebSearchInstruction = ClosedEnum<typeof V2PromptRunSettingsWebSearchInstruction>;
|
|
16
|
+
export declare const V2PromptRunSettingsWebSearchInstruction$zodSchema: z.ZodEnum<{
|
|
17
|
+
omit: "omit";
|
|
18
|
+
append: "append";
|
|
19
|
+
both: "both";
|
|
20
|
+
}>;
|
|
21
|
+
export type V2PromptRunSettings = {
|
|
22
|
+
search_grounding?: SearchGroundingMode | undefined;
|
|
23
|
+
web_search_instruction?: V2PromptRunSettingsWebSearchInstruction | undefined;
|
|
24
|
+
};
|
|
25
|
+
export declare const V2PromptRunSettings$zodSchema: z.ZodType<V2PromptRunSettings>;
|
|
26
|
+
//# sourceMappingURL=v2promptrunsettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2promptrunsettings.d.ts","sourceRoot":"","sources":["../../src/models/v2promptrunsettings.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,eAAO,MAAM,uCAAuC;;;;CAI1C,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAAG,UAAU,CAC9D,OAAO,uCAAuC,CAC/C,CAAC;AAEF,eAAO,MAAM,iDAAiD;;;;EAM7D,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,gBAAgB,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACnD,sBAAsB,CAAC,EAAE,uCAAuC,GAAG,SAAS,CAAC;CAC9E,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CASrE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: cc46063d455b
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { SearchGroundingMode$zodSchema, } from "./searchgroundingmode.js";
|
|
7
|
+
/**
|
|
8
|
+
* 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.
|
|
9
|
+
*/
|
|
10
|
+
export const V2PromptRunSettingsWebSearchInstruction = {
|
|
11
|
+
Omit: "omit",
|
|
12
|
+
Append: "append",
|
|
13
|
+
Both: "both",
|
|
14
|
+
};
|
|
15
|
+
export const V2PromptRunSettingsWebSearchInstruction$zodSchema = z.enum([
|
|
16
|
+
"omit",
|
|
17
|
+
"append",
|
|
18
|
+
"both",
|
|
19
|
+
]).describe("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.");
|
|
20
|
+
export const V2PromptRunSettings$zodSchema = z
|
|
21
|
+
.object({
|
|
22
|
+
search_grounding: SearchGroundingMode$zodSchema.optional().describe("Requested web-retrieval behavior for an eval run."),
|
|
23
|
+
web_search_instruction: V2PromptRunSettingsWebSearchInstruction$zodSchema
|
|
24
|
+
.default("omit").describe("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."),
|
|
25
|
+
});
|
|
26
|
+
//# sourceMappingURL=v2promptrunsettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2promptrunsettings.js","sourceRoot":"","sources":["../../src/models/v2promptrunsettings.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAElC;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAG;IACrD,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACJ,CAAC;AAQX,MAAM,CAAC,MAAM,iDAAiD,GAAG,CAAC,CAAC,IAAI,CAAC;IACtE,MAAM;IACN,QAAQ;IACR,MAAM;CACP,CAAC,CAAC,QAAQ,CACT,4OAA4O,CAC7O,CAAC;AAOF,MAAM,CAAC,MAAM,6BAA6B,GAAmC,CAAC;KAC3E,MAAM,CAAC;IACN,gBAAgB,EAAE,6BAA6B,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjE,mDAAmD,CACpD;IACD,sBAAsB,EAAE,iDAAiD;SACtE,OAAO,CAAC,MAAM,CAAC,CAAC,QAAQ,CACvB,4OAA4O,CAC7O;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
import { SearchGroundingMode } from "./searchgroundingmode.js";
|
|
4
|
+
export declare const V2PromptRunSettingsInputWebSearchInstruction: {
|
|
5
|
+
readonly Omit: "omit";
|
|
6
|
+
readonly Append: "append";
|
|
7
|
+
readonly Both: "both";
|
|
8
|
+
};
|
|
9
|
+
export type V2PromptRunSettingsInputWebSearchInstruction = ClosedEnum<typeof V2PromptRunSettingsInputWebSearchInstruction>;
|
|
10
|
+
export declare const V2PromptRunSettingsInputWebSearchInstruction$zodSchema: z.ZodEnum<{
|
|
11
|
+
omit: "omit";
|
|
12
|
+
append: "append";
|
|
13
|
+
both: "both";
|
|
14
|
+
}>;
|
|
15
|
+
export type V2PromptRunSettingsInput = {
|
|
16
|
+
search_grounding?: SearchGroundingMode | null | undefined;
|
|
17
|
+
web_search_instruction?: V2PromptRunSettingsInputWebSearchInstruction | null | undefined;
|
|
18
|
+
};
|
|
19
|
+
export declare const V2PromptRunSettingsInput$zodSchema: z.ZodType<V2PromptRunSettingsInput>;
|
|
20
|
+
//# sourceMappingURL=v2promptrunsettingsinput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2promptrunsettingsinput.d.ts","sourceRoot":"","sources":["../../src/models/v2promptrunsettingsinput.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,eAAO,MAAM,4CAA4C;;;;CAI/C,CAAC;AACX,MAAM,MAAM,4CAA4C,GAAG,UAAU,CACnE,OAAO,4CAA4C,CACpD,CAAC;AAEF,eAAO,MAAM,sDAAsD;;;;EAIjE,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG;IACrC,gBAAgB,CAAC,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D,sBAAsB,CAAC,EACnB,4CAA4C,GAC5C,IAAI,GACJ,SAAS,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,wBAAwB,CAUxB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 7dee5732ac7a
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { SearchGroundingMode$zodSchema, } from "./searchgroundingmode.js";
|
|
7
|
+
export const V2PromptRunSettingsInputWebSearchInstruction = {
|
|
8
|
+
Omit: "omit",
|
|
9
|
+
Append: "append",
|
|
10
|
+
Both: "both",
|
|
11
|
+
};
|
|
12
|
+
export const V2PromptRunSettingsInputWebSearchInstruction$zodSchema = z.enum([
|
|
13
|
+
"omit",
|
|
14
|
+
"append",
|
|
15
|
+
"both",
|
|
16
|
+
]);
|
|
17
|
+
export const V2PromptRunSettingsInput$zodSchema = z.object({
|
|
18
|
+
search_grounding: SearchGroundingMode$zodSchema.nullable().optional()
|
|
19
|
+
.describe("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."),
|
|
20
|
+
web_search_instruction: V2PromptRunSettingsInputWebSearchInstruction$zodSchema
|
|
21
|
+
.nullable().optional().describe("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."),
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=v2promptrunsettingsinput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2promptrunsettingsinput.js","sourceRoot":"","sources":["../../src/models/v2promptrunsettingsinput.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAElC,MAAM,CAAC,MAAM,4CAA4C,GAAG;IAC1D,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACJ,CAAC;AAKX,MAAM,CAAC,MAAM,sDAAsD,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3E,MAAM;IACN,QAAQ;IACR,MAAM;CACP,CAAC,CAAC;AAUH,MAAM,CAAC,MAAM,kCAAkC,GAE3C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,6BAA6B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SAClE,QAAQ,CACP,mTAAmT,CACpT;IACH,sBAAsB,EAAE,sDAAsD;SAC3E,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7B,4OAA4O,CAC7O;CACJ,CAAC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { ClosedEnum } from "../types/enums.js";
|
|
3
|
+
import { SearchGroundingMode } from "./searchgroundingmode.js";
|
|
3
4
|
import { V2PromptRunPlatform } from "./v2promptrunplatform.js";
|
|
4
5
|
import { V2PromptRunPrompt } from "./v2promptrunprompt.js";
|
|
5
6
|
export declare const V2PromptRunSummaryTargetKind: {
|
|
@@ -24,6 +25,11 @@ export type V2PromptRunSummary = {
|
|
|
24
25
|
is_brand_mentioned?: boolean | null | undefined;
|
|
25
26
|
citation_count?: number | undefined;
|
|
26
27
|
tool_call_count?: number | null | undefined;
|
|
28
|
+
search_grounding?: SearchGroundingMode | null | undefined;
|
|
29
|
+
web_retrieval_observed?: boolean | null | undefined;
|
|
30
|
+
search_observed?: boolean | null | undefined;
|
|
31
|
+
grounding_qualified?: boolean | null | undefined;
|
|
32
|
+
grounding_qualification_reason?: string | null | undefined;
|
|
27
33
|
created_at?: string | null | undefined;
|
|
28
34
|
};
|
|
29
35
|
export declare const V2PromptRunSummary$zodSchema: z.ZodType<V2PromptRunSummary>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2promptrunsummary.d.ts","sourceRoot":"","sources":["../../src/models/v2promptrunsummary.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,eAAO,MAAM,sCAAsC;;;EAGjD,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,iBAAiB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAC;IAClD,WAAW,CAAC,EAAE,4BAA4B,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9D,OAAO,CAAC,EAAE,MAAM,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AAC,EAAE,4BAA4B,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9D,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,kBAAkB,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,gBAAgB,CAAC,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1D,sBAAsB,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACpD,eAAe,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,mBAAmB,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,8BAA8B,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3D,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAiCnE,CAAC"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* @generated-id: ca6c38f4f84f
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod";
|
|
6
|
+
import { SearchGroundingMode$zodSchema, } from "./searchgroundingmode.js";
|
|
6
7
|
import { V2PromptRunPlatform$zodSchema, } from "./v2promptrunplatform.js";
|
|
7
8
|
import { V2PromptRunPrompt$zodSchema, } from "./v2promptrunprompt.js";
|
|
8
9
|
export const V2PromptRunSummaryTargetKind = {
|
|
@@ -17,6 +18,8 @@ export const V2PromptRunSummary$zodSchema = z
|
|
|
17
18
|
.object({
|
|
18
19
|
citation_count: z.int().default(0),
|
|
19
20
|
created_at: z.string().nullable().optional(),
|
|
21
|
+
grounding_qualification_reason: z.string().nullable().optional(),
|
|
22
|
+
grounding_qualified: z.boolean().nullable().optional().describe("Whether the run satisfied the requested web access mode. Null means the default mode was used or isolation could not be proven."),
|
|
20
23
|
harness: z.string().nullable().optional().describe("Coding-agent harness for agent runs; otherwise the answer platform identifier."),
|
|
21
24
|
id: z.string(),
|
|
22
25
|
is_brand_mentioned: z.boolean().nullable().optional(),
|
|
@@ -26,7 +29,11 @@ export const V2PromptRunSummary$zodSchema = z
|
|
|
26
29
|
prompt_id: z.string(),
|
|
27
30
|
response_preview: z.string().nullable().optional(),
|
|
28
31
|
run_date: z.string(),
|
|
32
|
+
search_grounding: SearchGroundingMode$zodSchema.nullable().optional()
|
|
33
|
+
.describe("Web access mode requested for this run. Null for runs recorded before web access was tracked."),
|
|
34
|
+
search_observed: z.boolean().nullable().optional(),
|
|
29
35
|
target_kind: V2PromptRunSummaryTargetKind$zodSchema.nullable().optional(),
|
|
30
36
|
tool_call_count: z.int().nullable().optional().describe("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."),
|
|
37
|
+
web_retrieval_observed: z.boolean().nullable().optional().describe("Whether the coding agent was observed searching or fetching from the web. Null when not measured, including answer-engine runs."),
|
|
31
38
|
});
|
|
32
39
|
//# sourceMappingURL=v2promptrunsummary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2promptrunsummary.js","sourceRoot":"","sources":["../../src/models/v2promptrunsummary.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAEhC,M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,gFAAgF,CACjF;IACD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,kBAAkB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACrD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACjD,iEAAiE,CAClE;IACD,QAAQ,EAAE,6BAA6B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC7D,MAAM,EAAE,2BAA2B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACzD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,gBAAgB,EAAE,6BAA6B,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;SAClE,QAAQ,CACP,+FAA+F,CAChG;IACH,eAAe,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,WAAW,EAAE,sCAAsC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACzE,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACrD,6JAA6J,CAC9J;IACD,sBAAsB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAChE,iIAAiI,CAClI;CACF,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { HTTPValidationError } from "./httpvalidationerror.js";
|
|
3
|
-
import {
|
|
4
|
-
export type V2PromptsCreateResponse =
|
|
3
|
+
import { V2PromptBatchResponse } from "./v2promptbatchresponse.js";
|
|
4
|
+
export type V2PromptsCreateResponse = V2PromptBatchResponse | HTTPValidationError;
|
|
5
5
|
export declare const V2PromptsCreateResponse$zodSchema: z.ZodType<V2PromptsCreateResponse>;
|
|
6
6
|
//# sourceMappingURL=v2promptscreateop.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2promptscreateop.d.ts","sourceRoot":"","sources":["../../src/models/v2promptscreateop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"v2promptscreateop.d.ts","sourceRoot":"","sources":["../../src/models/v2promptscreateop.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,uBAAuB,GAC/B,qBAAqB,GACrB,mBAAmB,CAAC;AAExB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,uBAAuB,CAIvB,CAAC"}
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
|
|
7
|
-
import {
|
|
7
|
+
import { V2PromptBatchResponse$zodSchema, } from "./v2promptbatchresponse.js";
|
|
8
8
|
export const V2PromptsCreateResponse$zodSchema = z.union([
|
|
9
|
-
|
|
9
|
+
V2PromptBatchResponse$zodSchema,
|
|
10
10
|
HTTPValidationError$zodSchema,
|
|
11
11
|
]);
|
|
12
12
|
//# sourceMappingURL=v2promptscreateop.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2promptscreateop.js","sourceRoot":"","sources":["../../src/models/v2promptscreateop.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAEL,6BAA6B,GAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,
|
|
1
|
+
{"version":3,"file":"v2promptscreateop.js","sourceRoot":"","sources":["../../src/models/v2promptscreateop.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,iCAAiC,GAE1C,CAAC,CAAC,KAAK,CAAC;IACV,+BAA+B;IAC/B,6BAA6B;CAC9B,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { ClosedEnum } from "../types/enums.js";
|
|
3
3
|
import { HTTPValidationError } from "./httpvalidationerror.js";
|
|
4
|
-
import {
|
|
4
|
+
import { V2ListPromptsResponse } from "./v2listpromptsresponse.js";
|
|
5
5
|
export declare const V2PromptsListStatus: {
|
|
6
6
|
readonly Active: "active";
|
|
7
7
|
readonly Inactive: "inactive";
|
|
@@ -19,6 +19,6 @@ export type V2PromptsListRequest = {
|
|
|
19
19
|
include_archived?: boolean | undefined;
|
|
20
20
|
};
|
|
21
21
|
export declare const V2PromptsListRequest$zodSchema: z.ZodType<V2PromptsListRequest>;
|
|
22
|
-
export type V2PromptsListResponse =
|
|
22
|
+
export type V2PromptsListResponse = V2ListPromptsResponse | HTTPValidationError;
|
|
23
23
|
export declare const V2PromptsListResponse$zodSchema: z.ZodType<V2PromptsListResponse>;
|
|
24
24
|
//# sourceMappingURL=v2promptslistop.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2promptslistop.d.ts","sourceRoot":"","sources":["../../src/models/v2promptslistop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"v2promptslistop.d.ts","sourceRoot":"","sources":["../../src/models/v2promptslistop.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC;AACX,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEzE,eAAO,MAAM,6BAA6B;;;;EAIxC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACzC,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAKvE,CAAC;AAEL,MAAM,MAAM,qBAAqB,GAAG,qBAAqB,GAAG,mBAAmB,CAAC;AAEhF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAIzE,CAAC"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { HTTPValidationError$zodSchema, } from "./httpvalidationerror.js";
|
|
7
|
-
import {
|
|
7
|
+
import { V2ListPromptsResponse$zodSchema, } from "./v2listpromptsresponse.js";
|
|
8
8
|
export const V2PromptsListStatus = {
|
|
9
9
|
Active: "active",
|
|
10
10
|
Inactive: "inactive",
|
|
@@ -22,7 +22,7 @@ export const V2PromptsListRequest$zodSchema = z
|
|
|
22
22
|
topic_id: z.string().describe("Optional prompt topic ID.").optional(),
|
|
23
23
|
});
|
|
24
24
|
export const V2PromptsListResponse$zodSchema = z.union([
|
|
25
|
-
|
|
25
|
+
V2ListPromptsResponse$zodSchema,
|
|
26
26
|
HTTPValidationError$zodSchema,
|
|
27
27
|
]);
|
|
28
28
|
//# sourceMappingURL=v2promptslistop.js.map
|