@osva-ai/contracts 1.0.0
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/LICENSE +202 -0
- package/README.md +5 -0
- package/dist/agent-manifest.d.ts +142 -0
- package/dist/agent-manifest.d.ts.map +1 -0
- package/dist/agent-manifest.js +13 -0
- package/dist/agent-manifest.js.map +1 -0
- package/dist/agent-registry.d.ts +34 -0
- package/dist/agent-registry.d.ts.map +1 -0
- package/dist/agent-registry.js +2 -0
- package/dist/agent-registry.js.map +1 -0
- package/dist/approval.d.ts +9 -0
- package/dist/approval.d.ts.map +1 -0
- package/dist/approval.js +13 -0
- package/dist/approval.js.map +1 -0
- package/dist/artifact-gateway.d.ts +12 -0
- package/dist/artifact-gateway.d.ts.map +1 -0
- package/dist/artifact-gateway.js +13 -0
- package/dist/artifact-gateway.js.map +1 -0
- package/dist/artifact.d.ts +11 -0
- package/dist/artifact.d.ts.map +1 -0
- package/dist/artifact.js +6 -0
- package/dist/artifact.js.map +1 -0
- package/dist/connector-public.d.ts +36 -0
- package/dist/connector-public.d.ts.map +1 -0
- package/dist/connector-public.js +48 -0
- package/dist/connector-public.js.map +1 -0
- package/dist/connector-registry.d.ts +73 -0
- package/dist/connector-registry.d.ts.map +1 -0
- package/dist/connector-registry.js +2 -0
- package/dist/connector-registry.js.map +1 -0
- package/dist/connector.d.ts +31 -0
- package/dist/connector.d.ts.map +1 -0
- package/dist/connector.js +15 -0
- package/dist/connector.js.map +1 -0
- package/dist/container-runtime.d.ts +17 -0
- package/dist/container-runtime.d.ts.map +1 -0
- package/dist/container-runtime.js +42 -0
- package/dist/container-runtime.js.map +1 -0
- package/dist/evaluation-suite.d.ts +107 -0
- package/dist/evaluation-suite.d.ts.map +1 -0
- package/dist/evaluation-suite.js +13 -0
- package/dist/evaluation-suite.js.map +1 -0
- package/dist/evaluation.d.ts +10 -0
- package/dist/evaluation.d.ts.map +1 -0
- package/dist/evaluation.js +5 -0
- package/dist/evaluation.js.map +1 -0
- package/dist/event-envelope.d.ts +20 -0
- package/dist/event-envelope.d.ts.map +1 -0
- package/dist/event-envelope.js +2 -0
- package/dist/event-envelope.js.map +1 -0
- package/dist/ids.d.ts +45 -0
- package/dist/ids.d.ts.map +1 -0
- package/dist/ids.js +2 -0
- package/dist/ids.js.map +1 -0
- package/dist/index.d.ts +73 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +31 -0
- package/dist/index.js.map +1 -0
- package/dist/job-queue.d.ts +17 -0
- package/dist/job-queue.d.ts.map +1 -0
- package/dist/job-queue.js +2 -0
- package/dist/job-queue.js.map +1 -0
- package/dist/json-pointer.d.ts +13 -0
- package/dist/json-pointer.d.ts.map +1 -0
- package/dist/json-pointer.js +68 -0
- package/dist/json-pointer.js.map +1 -0
- package/dist/json-schema.d.ts +6 -0
- package/dist/json-schema.d.ts.map +1 -0
- package/dist/json-schema.js +2 -0
- package/dist/json-schema.js.map +1 -0
- package/dist/json-value.d.ts +12 -0
- package/dist/json-value.d.ts.map +1 -0
- package/dist/json-value.js +35 -0
- package/dist/json-value.js.map +1 -0
- package/dist/knowledge-registry.d.ts +37 -0
- package/dist/knowledge-registry.d.ts.map +1 -0
- package/dist/knowledge-registry.js +2 -0
- package/dist/knowledge-registry.js.map +1 -0
- package/dist/knowledge-retrieval.d.ts +14 -0
- package/dist/knowledge-retrieval.d.ts.map +1 -0
- package/dist/knowledge-retrieval.js +2 -0
- package/dist/knowledge-retrieval.js.map +1 -0
- package/dist/knowledge-runtime.d.ts +16 -0
- package/dist/knowledge-runtime.d.ts.map +1 -0
- package/dist/knowledge-runtime.js +8 -0
- package/dist/knowledge-runtime.js.map +1 -0
- package/dist/knowledge.d.ts +106 -0
- package/dist/knowledge.d.ts.map +1 -0
- package/dist/knowledge.js +56 -0
- package/dist/knowledge.js.map +1 -0
- package/dist/mcp-client.d.ts +39 -0
- package/dist/mcp-client.d.ts.map +1 -0
- package/dist/mcp-client.js +2 -0
- package/dist/mcp-client.js.map +1 -0
- package/dist/mcp-connector-execution.d.ts +10 -0
- package/dist/mcp-connector-execution.d.ts.map +1 -0
- package/dist/mcp-connector-execution.js +2 -0
- package/dist/mcp-connector-execution.js.map +1 -0
- package/dist/mcp-server.d.ts +87 -0
- package/dist/mcp-server.d.ts.map +1 -0
- package/dist/mcp-server.js +57 -0
- package/dist/mcp-server.js.map +1 -0
- package/dist/memory-gateway.d.ts +65 -0
- package/dist/memory-gateway.d.ts.map +1 -0
- package/dist/memory-gateway.js +22 -0
- package/dist/memory-gateway.js.map +1 -0
- package/dist/memory-registry.d.ts +37 -0
- package/dist/memory-registry.d.ts.map +1 -0
- package/dist/memory-registry.js +2 -0
- package/dist/memory-registry.js.map +1 -0
- package/dist/model-gateway.d.ts +92 -0
- package/dist/model-gateway.d.ts.map +1 -0
- package/dist/model-gateway.js +37 -0
- package/dist/model-gateway.js.map +1 -0
- package/dist/model-pricing.d.ts +11 -0
- package/dist/model-pricing.d.ts.map +1 -0
- package/dist/model-pricing.js +7 -0
- package/dist/model-pricing.js.map +1 -0
- package/dist/model-profile-registry.d.ts +36 -0
- package/dist/model-profile-registry.d.ts.map +1 -0
- package/dist/model-profile-registry.js +2 -0
- package/dist/model-profile-registry.js.map +1 -0
- package/dist/office-registry.d.ts +144 -0
- package/dist/office-registry.d.ts.map +1 -0
- package/dist/office-registry.js +2 -0
- package/dist/office-registry.js.map +1 -0
- package/dist/office-state.d.ts +7 -0
- package/dist/office-state.d.ts.map +1 -0
- package/dist/office-state.js +18 -0
- package/dist/office-state.js.map +1 -0
- package/dist/remote-runtime.d.ts +7 -0
- package/dist/remote-runtime.d.ts.map +1 -0
- package/dist/remote-runtime.js +30 -0
- package/dist/remote-runtime.js.map +1 -0
- package/dist/run-lifecycle.d.ts +55 -0
- package/dist/run-lifecycle.d.ts.map +1 -0
- package/dist/run-lifecycle.js +2 -0
- package/dist/run-lifecycle.js.map +1 -0
- package/dist/run-state.d.ts +7 -0
- package/dist/run-state.d.ts.map +1 -0
- package/dist/run-state.js +24 -0
- package/dist/run-state.js.map +1 -0
- package/dist/run-step.d.ts +7 -0
- package/dist/run-step.d.ts.map +1 -0
- package/dist/run-step.js +9 -0
- package/dist/run-step.js.map +1 -0
- package/dist/runtime-protocol.d.ts +49 -0
- package/dist/runtime-protocol.d.ts.map +1 -0
- package/dist/runtime-protocol.js +2 -0
- package/dist/runtime-protocol.js.map +1 -0
- package/dist/schemas/agent-manifest.d.ts +89 -0
- package/dist/schemas/agent-manifest.d.ts.map +1 -0
- package/dist/schemas/agent-manifest.js +122 -0
- package/dist/schemas/agent-manifest.js.map +1 -0
- package/dist/schemas/agent-registry.d.ts +224 -0
- package/dist/schemas/agent-registry.d.ts.map +1 -0
- package/dist/schemas/agent-registry.js +35 -0
- package/dist/schemas/agent-registry.js.map +1 -0
- package/dist/schemas/api-key-registry.d.ts +77 -0
- package/dist/schemas/api-key-registry.d.ts.map +1 -0
- package/dist/schemas/api-key-registry.js +34 -0
- package/dist/schemas/api-key-registry.js.map +1 -0
- package/dist/schemas/artifact.d.ts +67 -0
- package/dist/schemas/artifact.d.ts.map +1 -0
- package/dist/schemas/artifact.js +65 -0
- package/dist/schemas/artifact.js.map +1 -0
- package/dist/schemas/connector-registry.d.ts +211 -0
- package/dist/schemas/connector-registry.d.ts.map +1 -0
- package/dist/schemas/connector-registry.js +101 -0
- package/dist/schemas/connector-registry.js.map +1 -0
- package/dist/schemas/connector.d.ts +57 -0
- package/dist/schemas/connector.d.ts.map +1 -0
- package/dist/schemas/connector.js +46 -0
- package/dist/schemas/connector.js.map +1 -0
- package/dist/schemas/evaluation-suite.d.ts +212 -0
- package/dist/schemas/evaluation-suite.d.ts.map +1 -0
- package/dist/schemas/evaluation-suite.js +101 -0
- package/dist/schemas/evaluation-suite.js.map +1 -0
- package/dist/schemas/evaluation.d.ts +45 -0
- package/dist/schemas/evaluation.d.ts.map +1 -0
- package/dist/schemas/evaluation.js +28 -0
- package/dist/schemas/evaluation.js.map +1 -0
- package/dist/schemas/event-envelope.d.ts +14 -0
- package/dist/schemas/event-envelope.d.ts.map +1 -0
- package/dist/schemas/event-envelope.js +17 -0
- package/dist/schemas/event-envelope.js.map +1 -0
- package/dist/schemas/ids.d.ts +42 -0
- package/dist/schemas/ids.d.ts.map +1 -0
- package/dist/schemas/ids.js +44 -0
- package/dist/schemas/ids.js.map +1 -0
- package/dist/schemas/index.d.ts +33 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +33 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/job-queue.d.ts +5 -0
- package/dist/schemas/job-queue.d.ts.map +1 -0
- package/dist/schemas/job-queue.js +6 -0
- package/dist/schemas/job-queue.js.map +1 -0
- package/dist/schemas/json-schema.d.ts +4 -0
- package/dist/schemas/json-schema.d.ts.map +1 -0
- package/dist/schemas/json-schema.js +3 -0
- package/dist/schemas/json-schema.js.map +1 -0
- package/dist/schemas/json-value.d.ts +4 -0
- package/dist/schemas/json-value.d.ts.map +1 -0
- package/dist/schemas/json-value.js +4 -0
- package/dist/schemas/json-value.js.map +1 -0
- package/dist/schemas/knowledge.d.ts +112 -0
- package/dist/schemas/knowledge.d.ts.map +1 -0
- package/dist/schemas/knowledge.js +109 -0
- package/dist/schemas/knowledge.js.map +1 -0
- package/dist/schemas/mcp-server.d.ts +18 -0
- package/dist/schemas/mcp-server.d.ts.map +1 -0
- package/dist/schemas/mcp-server.js +35 -0
- package/dist/schemas/mcp-server.js.map +1 -0
- package/dist/schemas/memory-registry.d.ts +49 -0
- package/dist/schemas/memory-registry.d.ts.map +1 -0
- package/dist/schemas/memory-registry.js +37 -0
- package/dist/schemas/memory-registry.js.map +1 -0
- package/dist/schemas/model-gateway.d.ts +61 -0
- package/dist/schemas/model-gateway.d.ts.map +1 -0
- package/dist/schemas/model-gateway.js +54 -0
- package/dist/schemas/model-gateway.js.map +1 -0
- package/dist/schemas/model-pricing.d.ts +12 -0
- package/dist/schemas/model-pricing.d.ts.map +1 -0
- package/dist/schemas/model-pricing.js +15 -0
- package/dist/schemas/model-pricing.js.map +1 -0
- package/dist/schemas/model-profile-registry.d.ts +80 -0
- package/dist/schemas/model-profile-registry.d.ts.map +1 -0
- package/dist/schemas/model-profile-registry.js +40 -0
- package/dist/schemas/model-profile-registry.js.map +1 -0
- package/dist/schemas/office-registry.d.ts +246 -0
- package/dist/schemas/office-registry.d.ts.map +1 -0
- package/dist/schemas/office-registry.js +177 -0
- package/dist/schemas/office-registry.js.map +1 -0
- package/dist/schemas/run-lifecycle.d.ts +166 -0
- package/dist/schemas/run-lifecycle.d.ts.map +1 -0
- package/dist/schemas/run-lifecycle.js +70 -0
- package/dist/schemas/run-lifecycle.js.map +1 -0
- package/dist/schemas/run-step.d.ts +89 -0
- package/dist/schemas/run-step.d.ts.map +1 -0
- package/dist/schemas/run-step.js +48 -0
- package/dist/schemas/run-step.js.map +1 -0
- package/dist/schemas/runtime-protocol.d.ts +77 -0
- package/dist/schemas/runtime-protocol.d.ts.map +1 -0
- package/dist/schemas/runtime-protocol.js +50 -0
- package/dist/schemas/runtime-protocol.js.map +1 -0
- package/dist/schemas/schedule-registry.d.ts +82 -0
- package/dist/schemas/schedule-registry.d.ts.map +1 -0
- package/dist/schemas/schedule-registry.js +63 -0
- package/dist/schemas/schedule-registry.js.map +1 -0
- package/dist/schemas/secret-reference.d.ts +6 -0
- package/dist/schemas/secret-reference.d.ts.map +1 -0
- package/dist/schemas/secret-reference.js +6 -0
- package/dist/schemas/secret-reference.js.map +1 -0
- package/dist/schemas/tool-gateway.d.ts +17 -0
- package/dist/schemas/tool-gateway.d.ts.map +1 -0
- package/dist/schemas/tool-gateway.js +18 -0
- package/dist/schemas/tool-gateway.js.map +1 -0
- package/dist/schemas/tool-registry.d.ts +110 -0
- package/dist/schemas/tool-registry.d.ts.map +1 -0
- package/dist/schemas/tool-registry.js +50 -0
- package/dist/schemas/tool-registry.js.map +1 -0
- package/dist/schemas/tool.d.ts +15 -0
- package/dist/schemas/tool.d.ts.map +1 -0
- package/dist/schemas/tool.js +16 -0
- package/dist/schemas/tool.js.map +1 -0
- package/dist/schemas/utc-instant.d.ts +9 -0
- package/dist/schemas/utc-instant.d.ts.map +1 -0
- package/dist/schemas/utc-instant.js +13 -0
- package/dist/schemas/utc-instant.js.map +1 -0
- package/dist/schemas/workflow-definition.d.ts +394 -0
- package/dist/schemas/workflow-definition.d.ts.map +1 -0
- package/dist/schemas/workflow-definition.js +138 -0
- package/dist/schemas/workflow-definition.js.map +1 -0
- package/dist/schemas/workflow-event.d.ts +21 -0
- package/dist/schemas/workflow-event.d.ts.map +1 -0
- package/dist/schemas/workflow-event.js +26 -0
- package/dist/schemas/workflow-event.js.map +1 -0
- package/dist/schemas/workflow-registry.d.ts +490 -0
- package/dist/schemas/workflow-registry.d.ts.map +1 -0
- package/dist/schemas/workflow-registry.js +125 -0
- package/dist/schemas/workflow-registry.js.map +1 -0
- package/dist/secret-reference.d.ts +8 -0
- package/dist/secret-reference.d.ts.map +1 -0
- package/dist/secret-reference.js +2 -0
- package/dist/secret-reference.js.map +1 -0
- package/dist/secret-resolver.d.ts +6 -0
- package/dist/secret-resolver.d.ts.map +1 -0
- package/dist/secret-resolver.js +2 -0
- package/dist/secret-resolver.js.map +1 -0
- package/dist/security.d.ts +50 -0
- package/dist/security.d.ts.map +1 -0
- package/dist/security.js +33 -0
- package/dist/security.js.map +1 -0
- package/dist/stdio-transport.d.ts +5 -0
- package/dist/stdio-transport.d.ts.map +1 -0
- package/dist/stdio-transport.js +25 -0
- package/dist/stdio-transport.js.map +1 -0
- package/dist/telemetry.d.ts +24 -0
- package/dist/telemetry.d.ts.map +1 -0
- package/dist/telemetry.js +2 -0
- package/dist/telemetry.js.map +1 -0
- package/dist/tool-gateway.d.ts +67 -0
- package/dist/tool-gateway.d.ts.map +1 -0
- package/dist/tool-gateway.js +40 -0
- package/dist/tool-gateway.js.map +1 -0
- package/dist/tool-registry.d.ts +46 -0
- package/dist/tool-registry.d.ts.map +1 -0
- package/dist/tool-registry.js +2 -0
- package/dist/tool-registry.js.map +1 -0
- package/dist/tool.d.ts +60 -0
- package/dist/tool.d.ts.map +1 -0
- package/dist/tool.js +2 -0
- package/dist/tool.js.map +1 -0
- package/dist/trusted-runtime.d.ts +10 -0
- package/dist/trusted-runtime.d.ts.map +1 -0
- package/dist/trusted-runtime.js +47 -0
- package/dist/trusted-runtime.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/workflow-definition.d.ts +152 -0
- package/dist/workflow-definition.d.ts.map +1 -0
- package/dist/workflow-definition.js +86 -0
- package/dist/workflow-definition.js.map +1 -0
- package/dist/workflow-event.d.ts +8 -0
- package/dist/workflow-event.d.ts.map +1 -0
- package/dist/workflow-event.js +8 -0
- package/dist/workflow-event.js.map +1 -0
- package/dist/workflow-registry.d.ts +96 -0
- package/dist/workflow-registry.d.ts.map +1 -0
- package/dist/workflow-registry.js +2 -0
- package/dist/workflow-registry.js.map +1 -0
- package/dist/workflow-state.d.ts +10 -0
- package/dist/workflow-state.d.ts.map +1 -0
- package/dist/workflow-state.js +30 -0
- package/dist/workflow-state.js.map +1 -0
- package/package.json +48 -0
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const createEvaluationSuiteRequestSchema: z.ZodObject<{
|
|
3
|
+
key: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strict>;
|
|
7
|
+
export declare const evaluationSuiteResourceSchema: z.ZodObject<{
|
|
8
|
+
id: z.ZodType<import("../ids.js").OsvaId<"EvaluationSuiteId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationSuiteId">, string>>;
|
|
9
|
+
workspaceId: z.ZodType<import("../ids.js").OsvaId<"WorkspaceId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"WorkspaceId">, string>>;
|
|
10
|
+
key: z.ZodString;
|
|
11
|
+
name: z.ZodString;
|
|
12
|
+
description: z.ZodOptional<z.ZodString>;
|
|
13
|
+
createdAt: z.ZodString;
|
|
14
|
+
updatedAt: z.ZodString;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
export declare const evaluationSuiteListResourceSchema: z.ZodObject<{
|
|
17
|
+
items: z.ZodArray<z.ZodObject<{
|
|
18
|
+
id: z.ZodType<import("../ids.js").OsvaId<"EvaluationSuiteId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationSuiteId">, string>>;
|
|
19
|
+
workspaceId: z.ZodType<import("../ids.js").OsvaId<"WorkspaceId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"WorkspaceId">, string>>;
|
|
20
|
+
key: z.ZodString;
|
|
21
|
+
name: z.ZodString;
|
|
22
|
+
description: z.ZodOptional<z.ZodString>;
|
|
23
|
+
createdAt: z.ZodString;
|
|
24
|
+
updatedAt: z.ZodString;
|
|
25
|
+
}, z.core.$strict>>;
|
|
26
|
+
}, z.core.$strict>;
|
|
27
|
+
export declare const evaluationCaseDefinitionSchema: z.ZodObject<{
|
|
28
|
+
key: z.ZodString;
|
|
29
|
+
name: z.ZodOptional<z.ZodString>;
|
|
30
|
+
input: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
31
|
+
expected: z.ZodOptional<z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>>;
|
|
32
|
+
evaluator: z.ZodObject<{
|
|
33
|
+
type: z.ZodLiteral<"JSON_EXACT_MATCH">;
|
|
34
|
+
expected: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
export declare const evaluationCaseResourceSchema: z.ZodObject<{
|
|
38
|
+
id: z.ZodType<import("../ids.js").OsvaId<"EvaluationCaseId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationCaseId">, string>>;
|
|
39
|
+
evaluationSuiteVersionId: z.ZodType<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string>>;
|
|
40
|
+
key: z.ZodString;
|
|
41
|
+
name: z.ZodOptional<z.ZodString>;
|
|
42
|
+
input: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
43
|
+
expected: z.ZodOptional<z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>>;
|
|
44
|
+
evaluator: z.ZodObject<{
|
|
45
|
+
type: z.ZodLiteral<"JSON_EXACT_MATCH">;
|
|
46
|
+
expected: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
47
|
+
}, z.core.$strict>;
|
|
48
|
+
createdAt: z.ZodString;
|
|
49
|
+
}, z.core.$strict>;
|
|
50
|
+
export declare const createEvaluationSuiteVersionRequestSchema: z.ZodObject<{
|
|
51
|
+
cases: z.ZodArray<z.ZodObject<{
|
|
52
|
+
key: z.ZodString;
|
|
53
|
+
name: z.ZodOptional<z.ZodString>;
|
|
54
|
+
input: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
55
|
+
expected: z.ZodOptional<z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>>;
|
|
56
|
+
evaluator: z.ZodObject<{
|
|
57
|
+
type: z.ZodLiteral<"JSON_EXACT_MATCH">;
|
|
58
|
+
expected: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
59
|
+
}, z.core.$strict>;
|
|
60
|
+
}, z.core.$strict>>;
|
|
61
|
+
}, z.core.$strict>;
|
|
62
|
+
export declare const evaluationSuiteVersionResourceSchema: z.ZodObject<{
|
|
63
|
+
id: z.ZodType<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string>>;
|
|
64
|
+
evaluationSuiteId: z.ZodType<import("../ids.js").OsvaId<"EvaluationSuiteId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationSuiteId">, string>>;
|
|
65
|
+
version: z.ZodNumber;
|
|
66
|
+
cases: z.ZodArray<z.ZodObject<{
|
|
67
|
+
id: z.ZodType<import("../ids.js").OsvaId<"EvaluationCaseId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationCaseId">, string>>;
|
|
68
|
+
evaluationSuiteVersionId: z.ZodType<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string>>;
|
|
69
|
+
key: z.ZodString;
|
|
70
|
+
name: z.ZodOptional<z.ZodString>;
|
|
71
|
+
input: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
72
|
+
expected: z.ZodOptional<z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>>;
|
|
73
|
+
evaluator: z.ZodObject<{
|
|
74
|
+
type: z.ZodLiteral<"JSON_EXACT_MATCH">;
|
|
75
|
+
expected: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
76
|
+
}, z.core.$strict>;
|
|
77
|
+
createdAt: z.ZodString;
|
|
78
|
+
}, z.core.$strict>>;
|
|
79
|
+
createdAt: z.ZodString;
|
|
80
|
+
}, z.core.$strict>;
|
|
81
|
+
export declare const evaluationSuiteVersionListResourceSchema: z.ZodObject<{
|
|
82
|
+
items: z.ZodArray<z.ZodObject<{
|
|
83
|
+
id: z.ZodType<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string>>;
|
|
84
|
+
evaluationSuiteId: z.ZodType<import("../ids.js").OsvaId<"EvaluationSuiteId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationSuiteId">, string>>;
|
|
85
|
+
version: z.ZodNumber;
|
|
86
|
+
cases: z.ZodArray<z.ZodObject<{
|
|
87
|
+
id: z.ZodType<import("../ids.js").OsvaId<"EvaluationCaseId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationCaseId">, string>>;
|
|
88
|
+
evaluationSuiteVersionId: z.ZodType<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string>>;
|
|
89
|
+
key: z.ZodString;
|
|
90
|
+
name: z.ZodOptional<z.ZodString>;
|
|
91
|
+
input: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
92
|
+
expected: z.ZodOptional<z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>>;
|
|
93
|
+
evaluator: z.ZodObject<{
|
|
94
|
+
type: z.ZodLiteral<"JSON_EXACT_MATCH">;
|
|
95
|
+
expected: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
96
|
+
}, z.core.$strict>;
|
|
97
|
+
createdAt: z.ZodString;
|
|
98
|
+
}, z.core.$strict>>;
|
|
99
|
+
createdAt: z.ZodString;
|
|
100
|
+
}, z.core.$strict>>;
|
|
101
|
+
}, z.core.$strict>;
|
|
102
|
+
export declare const createEvaluationRunRequestSchema: z.ZodObject<{
|
|
103
|
+
evaluationSuiteVersionId: z.ZodType<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string>>;
|
|
104
|
+
targetType: z.ZodEnum<{
|
|
105
|
+
AGENT_VERSION: "AGENT_VERSION";
|
|
106
|
+
WORKFLOW_VERSION: "WORKFLOW_VERSION";
|
|
107
|
+
}>;
|
|
108
|
+
targetVersionId: z.ZodUnion<readonly [z.ZodType<import("../ids.js").OsvaId<"AgentVersionId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"AgentVersionId">, string>>, z.ZodType<import("../ids.js").OsvaId<"WorkflowVersionId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"WorkflowVersionId">, string>>]>;
|
|
109
|
+
}, z.core.$strict>;
|
|
110
|
+
export declare const evaluationRunResourceSchema: z.ZodObject<{
|
|
111
|
+
id: z.ZodType<import("../ids.js").OsvaId<"EvaluationRunId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationRunId">, string>>;
|
|
112
|
+
workspaceId: z.ZodType<import("../ids.js").OsvaId<"WorkspaceId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"WorkspaceId">, string>>;
|
|
113
|
+
evaluationSuiteVersionId: z.ZodType<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string>>;
|
|
114
|
+
targetType: z.ZodEnum<{
|
|
115
|
+
AGENT_VERSION: "AGENT_VERSION";
|
|
116
|
+
WORKFLOW_VERSION: "WORKFLOW_VERSION";
|
|
117
|
+
}>;
|
|
118
|
+
targetVersionId: z.ZodString;
|
|
119
|
+
status: z.ZodEnum<{
|
|
120
|
+
PENDING: "PENDING";
|
|
121
|
+
RUNNING: "RUNNING";
|
|
122
|
+
COMPLETED: "COMPLETED";
|
|
123
|
+
FAILED: "FAILED";
|
|
124
|
+
CANCELLED: "CANCELLED";
|
|
125
|
+
}>;
|
|
126
|
+
createdAt: z.ZodString;
|
|
127
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
128
|
+
completedAt: z.ZodOptional<z.ZodString>;
|
|
129
|
+
cancelledAt: z.ZodOptional<z.ZodString>;
|
|
130
|
+
}, z.core.$strict>;
|
|
131
|
+
export declare const evaluationRunSummarySchema: z.ZodObject<{
|
|
132
|
+
totalCases: z.ZodNumber;
|
|
133
|
+
pendingCases: z.ZodNumber;
|
|
134
|
+
runningCases: z.ZodNumber;
|
|
135
|
+
completedCases: z.ZodNumber;
|
|
136
|
+
passedCases: z.ZodNumber;
|
|
137
|
+
failedCases: z.ZodNumber;
|
|
138
|
+
errorCases: z.ZodNumber;
|
|
139
|
+
passRate: z.ZodNumber;
|
|
140
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
inputTokens: z.ZodNumber;
|
|
142
|
+
outputTokens: z.ZodNumber;
|
|
143
|
+
pricedCostUsdMicros: z.ZodNumber;
|
|
144
|
+
unpricedModelCalls: z.ZodNumber;
|
|
145
|
+
}, z.core.$strict>;
|
|
146
|
+
export declare const evaluationRunDetailResourceSchema: z.ZodObject<{
|
|
147
|
+
id: z.ZodType<import("../ids.js").OsvaId<"EvaluationRunId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationRunId">, string>>;
|
|
148
|
+
workspaceId: z.ZodType<import("../ids.js").OsvaId<"WorkspaceId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"WorkspaceId">, string>>;
|
|
149
|
+
evaluationSuiteVersionId: z.ZodType<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationSuiteVersionId">, string>>;
|
|
150
|
+
targetType: z.ZodEnum<{
|
|
151
|
+
AGENT_VERSION: "AGENT_VERSION";
|
|
152
|
+
WORKFLOW_VERSION: "WORKFLOW_VERSION";
|
|
153
|
+
}>;
|
|
154
|
+
targetVersionId: z.ZodString;
|
|
155
|
+
status: z.ZodEnum<{
|
|
156
|
+
PENDING: "PENDING";
|
|
157
|
+
RUNNING: "RUNNING";
|
|
158
|
+
COMPLETED: "COMPLETED";
|
|
159
|
+
FAILED: "FAILED";
|
|
160
|
+
CANCELLED: "CANCELLED";
|
|
161
|
+
}>;
|
|
162
|
+
createdAt: z.ZodString;
|
|
163
|
+
startedAt: z.ZodOptional<z.ZodString>;
|
|
164
|
+
completedAt: z.ZodOptional<z.ZodString>;
|
|
165
|
+
cancelledAt: z.ZodOptional<z.ZodString>;
|
|
166
|
+
summary: z.ZodObject<{
|
|
167
|
+
totalCases: z.ZodNumber;
|
|
168
|
+
pendingCases: z.ZodNumber;
|
|
169
|
+
runningCases: z.ZodNumber;
|
|
170
|
+
completedCases: z.ZodNumber;
|
|
171
|
+
passedCases: z.ZodNumber;
|
|
172
|
+
failedCases: z.ZodNumber;
|
|
173
|
+
errorCases: z.ZodNumber;
|
|
174
|
+
passRate: z.ZodNumber;
|
|
175
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
176
|
+
inputTokens: z.ZodNumber;
|
|
177
|
+
outputTokens: z.ZodNumber;
|
|
178
|
+
pricedCostUsdMicros: z.ZodNumber;
|
|
179
|
+
unpricedModelCalls: z.ZodNumber;
|
|
180
|
+
}, z.core.$strict>;
|
|
181
|
+
}, z.core.$strict>;
|
|
182
|
+
export declare const evaluationCaseResultResourceSchema: z.ZodObject<{
|
|
183
|
+
id: z.ZodType<import("../ids.js").OsvaId<"EvaluationCaseResultId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationCaseResultId">, string>>;
|
|
184
|
+
evaluationRunId: z.ZodType<import("../ids.js").OsvaId<"EvaluationRunId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationRunId">, string>>;
|
|
185
|
+
evaluationCaseId: z.ZodType<import("../ids.js").OsvaId<"EvaluationCaseId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationCaseId">, string>>;
|
|
186
|
+
runId: z.ZodType<import("../ids.js").OsvaId<"RunId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"RunId">, string>>;
|
|
187
|
+
outcome: z.ZodEnum<{
|
|
188
|
+
PASS: "PASS";
|
|
189
|
+
FAIL: "FAIL";
|
|
190
|
+
ERROR: "ERROR";
|
|
191
|
+
}>;
|
|
192
|
+
evaluatorResults: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
193
|
+
createdAt: z.ZodString;
|
|
194
|
+
completedAt: z.ZodOptional<z.ZodString>;
|
|
195
|
+
}, z.core.$strict>;
|
|
196
|
+
export declare const evaluationCaseResultListResourceSchema: z.ZodObject<{
|
|
197
|
+
items: z.ZodArray<z.ZodObject<{
|
|
198
|
+
id: z.ZodType<import("../ids.js").OsvaId<"EvaluationCaseResultId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationCaseResultId">, string>>;
|
|
199
|
+
evaluationRunId: z.ZodType<import("../ids.js").OsvaId<"EvaluationRunId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationRunId">, string>>;
|
|
200
|
+
evaluationCaseId: z.ZodType<import("../ids.js").OsvaId<"EvaluationCaseId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationCaseId">, string>>;
|
|
201
|
+
runId: z.ZodType<import("../ids.js").OsvaId<"RunId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"RunId">, string>>;
|
|
202
|
+
outcome: z.ZodEnum<{
|
|
203
|
+
PASS: "PASS";
|
|
204
|
+
FAIL: "FAIL";
|
|
205
|
+
ERROR: "ERROR";
|
|
206
|
+
}>;
|
|
207
|
+
evaluatorResults: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
208
|
+
createdAt: z.ZodString;
|
|
209
|
+
completedAt: z.ZodOptional<z.ZodString>;
|
|
210
|
+
}, z.core.$strict>>;
|
|
211
|
+
}, z.core.$strict>;
|
|
212
|
+
//# sourceMappingURL=evaluation-suite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluation-suite.d.ts","sourceRoot":"","sources":["../../src/schemas/evaluation-suite.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,kCAAkC;;;;kBAI7C,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;kBAQxC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;kBAE5C,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;kBAMzC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;kBASvC,CAAC;AAEH,eAAO,MAAM,yCAAyC;;;;;;;;;;;kBAEpD,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;kBAM/C,CAAC;AAEH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;kBAEnD,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;kBAI3C,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;kBAWtC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;kBAcrC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG1C,CAAC;AAEL,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;kBAS7C,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;kBAEjD,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { EVALUATION_CASE_OUTCOMES, EVALUATION_RUN_STATES, EVALUATION_RUN_TARGET_TYPES, } from "../evaluation-suite.js";
|
|
3
|
+
import { evaluatorConfigSchema } from "./evaluation.js";
|
|
4
|
+
import { jsonValueSchema } from "./json-value.js";
|
|
5
|
+
import { agentVersionIdSchema, evaluationCaseIdSchema, evaluationCaseResultIdSchema, evaluationRunIdSchema, evaluationSuiteIdSchema, evaluationSuiteVersionIdSchema, runIdSchema, workflowVersionIdSchema, workspaceIdSchema, } from "./ids.js";
|
|
6
|
+
export const createEvaluationSuiteRequestSchema = z.strictObject({
|
|
7
|
+
key: z.string().min(1),
|
|
8
|
+
name: z.string().min(1),
|
|
9
|
+
description: z.string().min(1).optional(),
|
|
10
|
+
});
|
|
11
|
+
export const evaluationSuiteResourceSchema = z.strictObject({
|
|
12
|
+
id: evaluationSuiteIdSchema,
|
|
13
|
+
workspaceId: workspaceIdSchema,
|
|
14
|
+
key: z.string().min(1),
|
|
15
|
+
name: z.string().min(1),
|
|
16
|
+
description: z.string().min(1).optional(),
|
|
17
|
+
createdAt: z.string().min(1),
|
|
18
|
+
updatedAt: z.string().min(1),
|
|
19
|
+
});
|
|
20
|
+
export const evaluationSuiteListResourceSchema = z.strictObject({
|
|
21
|
+
items: z.array(evaluationSuiteResourceSchema),
|
|
22
|
+
});
|
|
23
|
+
export const evaluationCaseDefinitionSchema = z.strictObject({
|
|
24
|
+
key: z.string().min(1),
|
|
25
|
+
name: z.string().min(1).optional(),
|
|
26
|
+
input: jsonValueSchema,
|
|
27
|
+
expected: jsonValueSchema.optional(),
|
|
28
|
+
evaluator: evaluatorConfigSchema,
|
|
29
|
+
});
|
|
30
|
+
export const evaluationCaseResourceSchema = z.strictObject({
|
|
31
|
+
id: evaluationCaseIdSchema,
|
|
32
|
+
evaluationSuiteVersionId: evaluationSuiteVersionIdSchema,
|
|
33
|
+
key: z.string().min(1),
|
|
34
|
+
name: z.string().min(1).optional(),
|
|
35
|
+
input: jsonValueSchema,
|
|
36
|
+
expected: jsonValueSchema.optional(),
|
|
37
|
+
evaluator: evaluatorConfigSchema,
|
|
38
|
+
createdAt: z.string().min(1),
|
|
39
|
+
});
|
|
40
|
+
export const createEvaluationSuiteVersionRequestSchema = z.strictObject({
|
|
41
|
+
cases: z.array(evaluationCaseDefinitionSchema).min(1),
|
|
42
|
+
});
|
|
43
|
+
export const evaluationSuiteVersionResourceSchema = z.strictObject({
|
|
44
|
+
id: evaluationSuiteVersionIdSchema,
|
|
45
|
+
evaluationSuiteId: evaluationSuiteIdSchema,
|
|
46
|
+
version: z.number().int().min(1),
|
|
47
|
+
cases: z.array(evaluationCaseResourceSchema),
|
|
48
|
+
createdAt: z.string().min(1),
|
|
49
|
+
});
|
|
50
|
+
export const evaluationSuiteVersionListResourceSchema = z.strictObject({
|
|
51
|
+
items: z.array(evaluationSuiteVersionResourceSchema),
|
|
52
|
+
});
|
|
53
|
+
export const createEvaluationRunRequestSchema = z.strictObject({
|
|
54
|
+
evaluationSuiteVersionId: evaluationSuiteVersionIdSchema,
|
|
55
|
+
targetType: z.enum(EVALUATION_RUN_TARGET_TYPES),
|
|
56
|
+
targetVersionId: z.union([agentVersionIdSchema, workflowVersionIdSchema]),
|
|
57
|
+
});
|
|
58
|
+
export const evaluationRunResourceSchema = z.strictObject({
|
|
59
|
+
id: evaluationRunIdSchema,
|
|
60
|
+
workspaceId: workspaceIdSchema,
|
|
61
|
+
evaluationSuiteVersionId: evaluationSuiteVersionIdSchema,
|
|
62
|
+
targetType: z.enum(EVALUATION_RUN_TARGET_TYPES),
|
|
63
|
+
targetVersionId: z.string().min(1),
|
|
64
|
+
status: z.enum(EVALUATION_RUN_STATES),
|
|
65
|
+
createdAt: z.string().min(1),
|
|
66
|
+
startedAt: z.string().min(1).optional(),
|
|
67
|
+
completedAt: z.string().min(1).optional(),
|
|
68
|
+
cancelledAt: z.string().min(1).optional(),
|
|
69
|
+
});
|
|
70
|
+
export const evaluationRunSummarySchema = z.strictObject({
|
|
71
|
+
totalCases: z.number().int().min(0),
|
|
72
|
+
pendingCases: z.number().int().min(0),
|
|
73
|
+
runningCases: z.number().int().min(0),
|
|
74
|
+
completedCases: z.number().int().min(0),
|
|
75
|
+
passedCases: z.number().int().min(0),
|
|
76
|
+
failedCases: z.number().int().min(0),
|
|
77
|
+
errorCases: z.number().int().min(0),
|
|
78
|
+
passRate: z.number().min(0).max(1),
|
|
79
|
+
durationMs: z.number().int().min(0).optional(),
|
|
80
|
+
inputTokens: z.number().int().min(0),
|
|
81
|
+
outputTokens: z.number().int().min(0),
|
|
82
|
+
pricedCostUsdMicros: z.number().int().min(0),
|
|
83
|
+
unpricedModelCalls: z.number().int().min(0),
|
|
84
|
+
});
|
|
85
|
+
export const evaluationRunDetailResourceSchema = evaluationRunResourceSchema.extend({
|
|
86
|
+
summary: evaluationRunSummarySchema,
|
|
87
|
+
});
|
|
88
|
+
export const evaluationCaseResultResourceSchema = z.strictObject({
|
|
89
|
+
id: evaluationCaseResultIdSchema,
|
|
90
|
+
evaluationRunId: evaluationRunIdSchema,
|
|
91
|
+
evaluationCaseId: evaluationCaseIdSchema,
|
|
92
|
+
runId: runIdSchema,
|
|
93
|
+
outcome: z.enum(EVALUATION_CASE_OUTCOMES),
|
|
94
|
+
evaluatorResults: z.record(z.string(), z.unknown()),
|
|
95
|
+
createdAt: z.string().min(1),
|
|
96
|
+
completedAt: z.string().min(1).optional(),
|
|
97
|
+
});
|
|
98
|
+
export const evaluationCaseResultListResourceSchema = z.strictObject({
|
|
99
|
+
items: z.array(evaluationCaseResultResourceSchema),
|
|
100
|
+
});
|
|
101
|
+
//# sourceMappingURL=evaluation-suite.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluation-suite.js","sourceRoot":"","sources":["../../src/schemas/evaluation-suite.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,wBAAwB,EACxB,qBAAqB,EACrB,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,4BAA4B,EAC5B,qBAAqB,EACrB,uBAAuB,EACvB,8BAA8B,EAC9B,WAAW,EACX,uBAAuB,EACvB,iBAAiB,GAClB,MAAM,UAAU,CAAC;AAElB,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/D,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACtB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,C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,CAAC,CAAC,OAAO,EAAE,CAAC;IACnD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC1C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,YAAY,CAAC;IACnE,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,kCAAkC,CAAC;CACnD,CAAC,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const evaluatorTypeSchema: z.ZodEnum<{
|
|
3
|
+
JSON_EXACT_MATCH: "JSON_EXACT_MATCH";
|
|
4
|
+
}>;
|
|
5
|
+
export declare const jsonExactMatchEvaluatorSchema: z.ZodObject<{
|
|
6
|
+
type: z.ZodLiteral<"JSON_EXACT_MATCH">;
|
|
7
|
+
expected: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
8
|
+
}, z.core.$strict>;
|
|
9
|
+
export declare const evaluatorConfigSchema: z.ZodObject<{
|
|
10
|
+
type: z.ZodLiteral<"JSON_EXACT_MATCH">;
|
|
11
|
+
expected: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
12
|
+
}, z.core.$strict>;
|
|
13
|
+
export declare const createEvaluationRequestSchema: z.ZodObject<{
|
|
14
|
+
evaluator: z.ZodObject<{
|
|
15
|
+
type: z.ZodLiteral<"JSON_EXACT_MATCH">;
|
|
16
|
+
expected: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
export declare const evaluationResourceSchema: z.ZodObject<{
|
|
20
|
+
id: z.ZodType<import("../ids.js").OsvaId<"EvaluationId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationId">, string>>;
|
|
21
|
+
runId: z.ZodType<import("../ids.js").OsvaId<"RunId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"RunId">, string>>;
|
|
22
|
+
runAttemptId: z.ZodType<import("../ids.js").OsvaId<"RunAttemptId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"RunAttemptId">, string>>;
|
|
23
|
+
evaluatorType: z.ZodEnum<{
|
|
24
|
+
JSON_EXACT_MATCH: "JSON_EXACT_MATCH";
|
|
25
|
+
}>;
|
|
26
|
+
expected: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
27
|
+
passed: z.ZodBoolean;
|
|
28
|
+
score: z.ZodNumber;
|
|
29
|
+
createdAt: z.ZodString;
|
|
30
|
+
}, z.core.$strict>;
|
|
31
|
+
export declare const evaluationListResourceSchema: z.ZodObject<{
|
|
32
|
+
evaluations: z.ZodArray<z.ZodObject<{
|
|
33
|
+
id: z.ZodType<import("../ids.js").OsvaId<"EvaluationId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EvaluationId">, string>>;
|
|
34
|
+
runId: z.ZodType<import("../ids.js").OsvaId<"RunId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"RunId">, string>>;
|
|
35
|
+
runAttemptId: z.ZodType<import("../ids.js").OsvaId<"RunAttemptId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"RunAttemptId">, string>>;
|
|
36
|
+
evaluatorType: z.ZodEnum<{
|
|
37
|
+
JSON_EXACT_MATCH: "JSON_EXACT_MATCH";
|
|
38
|
+
}>;
|
|
39
|
+
expected: z.ZodCustom<import("../json-value.js").JsonValue, import("../json-value.js").JsonValue>;
|
|
40
|
+
passed: z.ZodBoolean;
|
|
41
|
+
score: z.ZodNumber;
|
|
42
|
+
createdAt: z.ZodString;
|
|
43
|
+
}, z.core.$strict>>;
|
|
44
|
+
}, z.core.$strict>;
|
|
45
|
+
//# sourceMappingURL=evaluation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluation.d.ts","sourceRoot":"","sources":["../../src/schemas/evaluation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,mBAAmB;;EAA0B,CAAC;AAE3D,eAAO,MAAM,6BAA6B;;;kBAGxC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;kBAAgC,CAAC;AAEnE,eAAO,MAAM,6BAA6B;;;;;kBAExC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;kBASnC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;kBAEvC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { EVALUATOR_TYPES } from "../evaluation.js";
|
|
3
|
+
import { evaluationIdSchema, runAttemptIdSchema, runIdSchema } from "./ids.js";
|
|
4
|
+
import { jsonValueSchema } from "./json-value.js";
|
|
5
|
+
import { utcIso8601TimestampSchema } from "./utc-instant.js";
|
|
6
|
+
export const evaluatorTypeSchema = z.enum(EVALUATOR_TYPES);
|
|
7
|
+
export const jsonExactMatchEvaluatorSchema = z.strictObject({
|
|
8
|
+
type: z.literal("JSON_EXACT_MATCH"),
|
|
9
|
+
expected: jsonValueSchema,
|
|
10
|
+
});
|
|
11
|
+
export const evaluatorConfigSchema = jsonExactMatchEvaluatorSchema;
|
|
12
|
+
export const createEvaluationRequestSchema = z.strictObject({
|
|
13
|
+
evaluator: evaluatorConfigSchema,
|
|
14
|
+
});
|
|
15
|
+
export const evaluationResourceSchema = z.strictObject({
|
|
16
|
+
id: evaluationIdSchema,
|
|
17
|
+
runId: runIdSchema,
|
|
18
|
+
runAttemptId: runAttemptIdSchema,
|
|
19
|
+
evaluatorType: evaluatorTypeSchema,
|
|
20
|
+
expected: jsonValueSchema,
|
|
21
|
+
passed: z.boolean(),
|
|
22
|
+
score: z.number(),
|
|
23
|
+
createdAt: utcIso8601TimestampSchema,
|
|
24
|
+
});
|
|
25
|
+
export const evaluationListResourceSchema = z.strictObject({
|
|
26
|
+
evaluations: z.array(evaluationResourceSchema),
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=evaluation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluation.js","sourceRoot":"","sources":["../../src/schemas/evaluation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;AAE3D,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1D,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;IACnC,QAAQ,EAAE,eAAe;CAC1B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,6BAA6B,CAAC;AAEnE,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC1D,SAAS,EAAE,qBAAqB;CACjC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,YAAY,CAAC;IACrD,EAAE,EAAE,kBAAkB;IACtB,KAAK,EAAE,WAAW;IAClB,YAAY,EAAE,kBAAkB;IAChC,aAAa,EAAE,mBAAmB;IAClC,QAAQ,EAAE,eAAe;IACzB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,SAAS,EAAE,yBAAyB;CACrC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,YAAY,CAAC;IACzD,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC;CAC/C,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const eventEnvelopeSchema: z.ZodObject<{
|
|
3
|
+
schemaVersion: z.ZodLiteral<"1">;
|
|
4
|
+
eventId: z.ZodType<import("../ids.js").OsvaId<"EventId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EventId">, string>>;
|
|
5
|
+
eventType: z.ZodString;
|
|
6
|
+
occurredAt: z.ZodString;
|
|
7
|
+
workspaceId: z.ZodType<import("../ids.js").OsvaId<"WorkspaceId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"WorkspaceId">, string>>;
|
|
8
|
+
aggregateType: z.ZodString;
|
|
9
|
+
aggregateId: z.ZodString;
|
|
10
|
+
correlationId: z.ZodString;
|
|
11
|
+
causationId: z.ZodUnion<readonly [z.ZodType<import("../ids.js").OsvaId<"EventId">, string, z.core.$ZodTypeInternals<import("../ids.js").OsvaId<"EventId">, string>>, z.ZodNull]>;
|
|
12
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
//# sourceMappingURL=event-envelope.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-envelope.d.ts","sourceRoot":"","sources":["../../src/schemas/event-envelope.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;kBAW9B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { EVENT_ENVELOPE_SCHEMA_VERSION } from "../event-envelope.js";
|
|
3
|
+
import { eventIdSchema, workspaceIdSchema } from "./ids.js";
|
|
4
|
+
import { utcIso8601TimestampSchema } from "./utc-instant.js";
|
|
5
|
+
export const eventEnvelopeSchema = z.strictObject({
|
|
6
|
+
schemaVersion: z.literal(EVENT_ENVELOPE_SCHEMA_VERSION),
|
|
7
|
+
eventId: eventIdSchema,
|
|
8
|
+
eventType: z.string().min(1),
|
|
9
|
+
occurredAt: utcIso8601TimestampSchema,
|
|
10
|
+
workspaceId: workspaceIdSchema,
|
|
11
|
+
aggregateType: z.string().min(1),
|
|
12
|
+
aggregateId: z.string().min(1),
|
|
13
|
+
correlationId: z.string().min(1),
|
|
14
|
+
causationId: z.union([eventIdSchema, z.null()]),
|
|
15
|
+
payload: z.record(z.string(), z.unknown()),
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=event-envelope.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-envelope.js","sourceRoot":"","sources":["../../src/schemas/event-envelope.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,YAAY,CAAC;IAChD,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC;IACvD,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5B,UAAU,EAAE,yBAAyB;IACrC,WAAW,EAAE,iBAAiB;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAChC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAChC,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,aAAa,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAC/C,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC;CAC3C,CAAC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { OsvaId } from "../ids.js";
|
|
3
|
+
export declare const workspaceIdSchema: z.ZodType<OsvaId<"WorkspaceId">, string, z.core.$ZodTypeInternals<OsvaId<"WorkspaceId">, string>>;
|
|
4
|
+
export declare const apiKeyIdSchema: z.ZodType<OsvaId<"ApiKeyId">, string, z.core.$ZodTypeInternals<OsvaId<"ApiKeyId">, string>>;
|
|
5
|
+
export declare const agentIdSchema: z.ZodType<OsvaId<"AgentId">, string, z.core.$ZodTypeInternals<OsvaId<"AgentId">, string>>;
|
|
6
|
+
export declare const agentVersionIdSchema: z.ZodType<OsvaId<"AgentVersionId">, string, z.core.$ZodTypeInternals<OsvaId<"AgentVersionId">, string>>;
|
|
7
|
+
export declare const deploymentIdSchema: z.ZodType<OsvaId<"DeploymentId">, string, z.core.$ZodTypeInternals<OsvaId<"DeploymentId">, string>>;
|
|
8
|
+
export declare const runIdSchema: z.ZodType<OsvaId<"RunId">, string, z.core.$ZodTypeInternals<OsvaId<"RunId">, string>>;
|
|
9
|
+
export declare const runAttemptIdSchema: z.ZodType<OsvaId<"RunAttemptId">, string, z.core.$ZodTypeInternals<OsvaId<"RunAttemptId">, string>>;
|
|
10
|
+
export declare const runStepIdSchema: z.ZodType<OsvaId<"RunStepId">, string, z.core.$ZodTypeInternals<OsvaId<"RunStepId">, string>>;
|
|
11
|
+
export declare const scheduleIdSchema: z.ZodType<OsvaId<"ScheduleId">, string, z.core.$ZodTypeInternals<OsvaId<"ScheduleId">, string>>;
|
|
12
|
+
export declare const scheduleOccurrenceIdSchema: z.ZodType<OsvaId<"ScheduleOccurrenceId">, string, z.core.$ZodTypeInternals<OsvaId<"ScheduleOccurrenceId">, string>>;
|
|
13
|
+
export declare const workflowIdSchema: z.ZodType<OsvaId<"WorkflowId">, string, z.core.$ZodTypeInternals<OsvaId<"WorkflowId">, string>>;
|
|
14
|
+
export declare const workflowVersionIdSchema: z.ZodType<OsvaId<"WorkflowVersionId">, string, z.core.$ZodTypeInternals<OsvaId<"WorkflowVersionId">, string>>;
|
|
15
|
+
export declare const workflowRunIdSchema: z.ZodType<OsvaId<"WorkflowRunId">, string, z.core.$ZodTypeInternals<OsvaId<"WorkflowRunId">, string>>;
|
|
16
|
+
export declare const workflowNodeRunIdSchema: z.ZodType<OsvaId<"WorkflowNodeRunId">, string, z.core.$ZodTypeInternals<OsvaId<"WorkflowNodeRunId">, string>>;
|
|
17
|
+
export declare const approvalRequestIdSchema: z.ZodType<OsvaId<"ApprovalRequestId">, string, z.core.$ZodTypeInternals<OsvaId<"ApprovalRequestId">, string>>;
|
|
18
|
+
export declare const workflowEventIdSchema: z.ZodType<OsvaId<"WorkflowEventId">, string, z.core.$ZodTypeInternals<OsvaId<"WorkflowEventId">, string>>;
|
|
19
|
+
export declare const toolIdSchema: z.ZodType<OsvaId<"ToolId">, string, z.core.$ZodTypeInternals<OsvaId<"ToolId">, string>>;
|
|
20
|
+
export declare const toolVersionIdSchema: z.ZodType<OsvaId<"ToolVersionId">, string, z.core.$ZodTypeInternals<OsvaId<"ToolVersionId">, string>>;
|
|
21
|
+
export declare const connectorIdSchema: z.ZodType<OsvaId<"ConnectorId">, string, z.core.$ZodTypeInternals<OsvaId<"ConnectorId">, string>>;
|
|
22
|
+
export declare const connectorVersionIdSchema: z.ZodType<OsvaId<"ConnectorVersionId">, string, z.core.$ZodTypeInternals<OsvaId<"ConnectorVersionId">, string>>;
|
|
23
|
+
export declare const modelProfileIdSchema: z.ZodType<OsvaId<"ModelProfileId">, string, z.core.$ZodTypeInternals<OsvaId<"ModelProfileId">, string>>;
|
|
24
|
+
export declare const modelProfileVersionIdSchema: z.ZodType<OsvaId<"ModelProfileVersionId">, string, z.core.$ZodTypeInternals<OsvaId<"ModelProfileVersionId">, string>>;
|
|
25
|
+
export declare const evaluationIdSchema: z.ZodType<OsvaId<"EvaluationId">, string, z.core.$ZodTypeInternals<OsvaId<"EvaluationId">, string>>;
|
|
26
|
+
export declare const memoryNamespaceIdSchema: z.ZodType<OsvaId<"MemoryNamespaceId">, string, z.core.$ZodTypeInternals<OsvaId<"MemoryNamespaceId">, string>>;
|
|
27
|
+
export declare const evaluationSuiteIdSchema: z.ZodType<OsvaId<"EvaluationSuiteId">, string, z.core.$ZodTypeInternals<OsvaId<"EvaluationSuiteId">, string>>;
|
|
28
|
+
export declare const evaluationSuiteVersionIdSchema: z.ZodType<OsvaId<"EvaluationSuiteVersionId">, string, z.core.$ZodTypeInternals<OsvaId<"EvaluationSuiteVersionId">, string>>;
|
|
29
|
+
export declare const evaluationCaseIdSchema: z.ZodType<OsvaId<"EvaluationCaseId">, string, z.core.$ZodTypeInternals<OsvaId<"EvaluationCaseId">, string>>;
|
|
30
|
+
export declare const evaluationRunIdSchema: z.ZodType<OsvaId<"EvaluationRunId">, string, z.core.$ZodTypeInternals<OsvaId<"EvaluationRunId">, string>>;
|
|
31
|
+
export declare const evaluationCaseResultIdSchema: z.ZodType<OsvaId<"EvaluationCaseResultId">, string, z.core.$ZodTypeInternals<OsvaId<"EvaluationCaseResultId">, string>>;
|
|
32
|
+
export declare const artifactIdSchema: z.ZodType<OsvaId<"ArtifactId">, string, z.core.$ZodTypeInternals<OsvaId<"ArtifactId">, string>>;
|
|
33
|
+
export declare const eventIdSchema: z.ZodType<OsvaId<"EventId">, string, z.core.$ZodTypeInternals<OsvaId<"EventId">, string>>;
|
|
34
|
+
export declare const officeWorkerIdSchema: z.ZodType<OsvaId<"OfficeWorkerId">, string, z.core.$ZodTypeInternals<OsvaId<"OfficeWorkerId">, string>>;
|
|
35
|
+
export declare const roleIdSchema: z.ZodType<OsvaId<"RoleId">, string, z.core.$ZodTypeInternals<OsvaId<"RoleId">, string>>;
|
|
36
|
+
export declare const teamIdSchema: z.ZodType<OsvaId<"TeamId">, string, z.core.$ZodTypeInternals<OsvaId<"TeamId">, string>>;
|
|
37
|
+
export declare const goalIdSchema: z.ZodType<OsvaId<"GoalId">, string, z.core.$ZodTypeInternals<OsvaId<"GoalId">, string>>;
|
|
38
|
+
export declare const assignmentIdSchema: z.ZodType<OsvaId<"AssignmentId">, string, z.core.$ZodTypeInternals<OsvaId<"AssignmentId">, string>>;
|
|
39
|
+
export declare const knowledgeSourceIdSchema: z.ZodType<OsvaId<"KnowledgeSourceId">, string, z.core.$ZodTypeInternals<OsvaId<"KnowledgeSourceId">, string>>;
|
|
40
|
+
export declare const knowledgeIndexIdSchema: z.ZodType<OsvaId<"KnowledgeIndexId">, string, z.core.$ZodTypeInternals<OsvaId<"KnowledgeIndexId">, string>>;
|
|
41
|
+
export declare const knowledgeChunkIdSchema: z.ZodType<OsvaId<"KnowledgeChunkId">, string, z.core.$ZodTypeInternals<OsvaId<"KnowledgeChunkId">, string>>;
|
|
42
|
+
//# sourceMappingURL=ids.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ids.d.ts","sourceRoot":"","sources":["../../src/schemas/ids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAMxC,eAAO,MAAM,iBAAiB,mGAAgC,CAAC;AAC/D,eAAO,MAAM,cAAc,6FAA6B,CAAC;AACzD,eAAO,MAAM,aAAa,2FAA4B,CA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eAAO,MAAM,YAAY,yFAA2B,CAAC;AACrD,eAAO,MAAM,YAAY,yFAA2B,CAAC;AACrD,eAAO,MAAM,kBAAkB,qGAAiC,CAAC;AACjE,eAAO,MAAM,uBAAuB,+GAAsC,CAAC;AAC3E,eAAO,MAAM,sBAAsB,6GAAqC,CAAC;AACzE,eAAO,MAAM,sBAAsB,6GAAqC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
function osvaIdSchema() {
|
|
3
|
+
return z.string().min(1);
|
|
4
|
+
}
|
|
5
|
+
export const workspaceIdSchema = osvaIdSchema();
|
|
6
|
+
export const apiKeyIdSchema = osvaIdSchema();
|
|
7
|
+
export const agentIdSchema = osvaIdSchema();
|
|
8
|
+
export const agentVersionIdSchema = osvaIdSchema();
|
|
9
|
+
export const deploymentIdSchema = osvaIdSchema();
|
|
10
|
+
export const runIdSchema = osvaIdSchema();
|
|
11
|
+
export const runAttemptIdSchema = osvaIdSchema();
|
|
12
|
+
export const runStepIdSchema = osvaIdSchema();
|
|
13
|
+
export const scheduleIdSchema = osvaIdSchema();
|
|
14
|
+
export const scheduleOccurrenceIdSchema = osvaIdSchema();
|
|
15
|
+
export const workflowIdSchema = osvaIdSchema();
|
|
16
|
+
export const workflowVersionIdSchema = osvaIdSchema();
|
|
17
|
+
export const workflowRunIdSchema = osvaIdSchema();
|
|
18
|
+
export const workflowNodeRunIdSchema = osvaIdSchema();
|
|
19
|
+
export const approvalRequestIdSchema = osvaIdSchema();
|
|
20
|
+
export const workflowEventIdSchema = osvaIdSchema();
|
|
21
|
+
export const toolIdSchema = osvaIdSchema();
|
|
22
|
+
export const toolVersionIdSchema = osvaIdSchema();
|
|
23
|
+
export const connectorIdSchema = osvaIdSchema();
|
|
24
|
+
export const connectorVersionIdSchema = osvaIdSchema();
|
|
25
|
+
export const modelProfileIdSchema = osvaIdSchema();
|
|
26
|
+
export const modelProfileVersionIdSchema = osvaIdSchema();
|
|
27
|
+
export const evaluationIdSchema = osvaIdSchema();
|
|
28
|
+
export const memoryNamespaceIdSchema = osvaIdSchema();
|
|
29
|
+
export const evaluationSuiteIdSchema = osvaIdSchema();
|
|
30
|
+
export const evaluationSuiteVersionIdSchema = osvaIdSchema();
|
|
31
|
+
export const evaluationCaseIdSchema = osvaIdSchema();
|
|
32
|
+
export const evaluationRunIdSchema = osvaIdSchema();
|
|
33
|
+
export const evaluationCaseResultIdSchema = osvaIdSchema();
|
|
34
|
+
export const artifactIdSchema = osvaIdSchema();
|
|
35
|
+
export const eventIdSchema = osvaIdSchema();
|
|
36
|
+
export const officeWorkerIdSchema = osvaIdSchema();
|
|
37
|
+
export const roleIdSchema = osvaIdSchema();
|
|
38
|
+
export const teamIdSchema = osvaIdSchema();
|
|
39
|
+
export const goalIdSchema = osvaIdSchema();
|
|
40
|
+
export const assignmentIdSchema = osvaIdSchema();
|
|
41
|
+
export const knowledgeSourceIdSchema = osvaIdSchema();
|
|
42
|
+
export const knowledgeIndexIdSchema = osvaIdSchema();
|
|
43
|
+
export const knowledgeChunkIdSchema = osvaIdSchema();
|
|
44
|
+
//# sourceMappingURL=ids.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ids.js","sourceRoot":"","sources":["../../src/schemas/ids.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,SAAS,YAAY;IACnB,OAAO,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAA+C,CAAC;AACzE,CAAC;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG,YAAY,EAAiB,CAAC;AAC/D,MAAM,CAAC,MAAM,cAAc,GAAG,YAAY,EAAc,CAAC;AACzD,MAAM,CAAC,MAAM,aAAa,GAAG,YAAY,EAAa,CAAC;AACvD,MAAM,CAAC,MAAM,oBAAoB,GAAG,YAAY,EAAoB,CAAC;AACrE,MAAM,CAAC,MAAM,kBAAkB,GAAG,YA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AAC7C,MAAM,CAAC,MAAM,sBAAsB,GAAG,YAAY,EAAsB,CAAC;AACzE,MAAM,CAAC,MAAM,qBAAqB,GAAG,YAAY,EAAqB,CAAC;AACvE,MAAM,CAAC,MAAM,4BAA4B,GACvC,YAAY,EAA4B,CAAC;AAC3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,YAAY,EAAgB,CAAC;AAC7D,MAAM,CAAC,MAAM,aAAa,GAAG,YAAY,EAAa,CAAC;AACvD,MAAM,CAAC,MAAM,oBAAoB,GAAG,YAAY,EAAoB,CAAC;AACrE,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,EAAY,CAAC;AACrD,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,EAAY,CAAC;AACrD,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,EAAY,CAAC;AACrD,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,EAAkB,CAAC;AACjE,MAAM,CAAC,MAAM,uBAAuB,GAAG,YAAY,EAAuB,CAAC;AAC3E,MAAM,CAAC,MAAM,sBAAsB,GAAG,YAAY,EAAsB,CAAC;AACzE,MAAM,CAAC,MAAM,sBAAsB,GAAG,YAAY,EAAsB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export { agentIdSchema, agentVersionIdSchema, approvalRequestIdSchema, artifactIdSchema, deploymentIdSchema, evaluationCaseIdSchema, evaluationCaseResultIdSchema, evaluationIdSchema, evaluationRunIdSchema, evaluationSuiteIdSchema, evaluationSuiteVersionIdSchema, eventIdSchema, memoryNamespaceIdSchema, modelProfileIdSchema, modelProfileVersionIdSchema, runAttemptIdSchema, runIdSchema, runStepIdSchema, scheduleIdSchema, scheduleOccurrenceIdSchema, toolIdSchema, toolVersionIdSchema, connectorIdSchema, connectorVersionIdSchema, workflowIdSchema, workflowNodeRunIdSchema, workflowRunIdSchema, workflowVersionIdSchema, workflowEventIdSchema, workspaceIdSchema, apiKeyIdSchema, officeWorkerIdSchema, roleIdSchema, teamIdSchema, goalIdSchema, assignmentIdSchema, knowledgeSourceIdSchema, knowledgeIndexIdSchema, knowledgeChunkIdSchema, } from "./ids.js";
|
|
2
|
+
export { jsonSchemaRecordSchema } from "./json-schema.js";
|
|
3
|
+
export { jsonValueSchema } from "./json-value.js";
|
|
4
|
+
export { agentManifestSchema, agentRuntimeSchema } from "./agent-manifest.js";
|
|
5
|
+
export { secretReferenceSchema } from "./secret-reference.js";
|
|
6
|
+
export { createModelProfileRequestSchema, createModelProfileVersionRequestSchema, modelProfileListResourceSchema, modelProfileResourceSchema, modelProfileVersionListResourceSchema, modelProfileVersionResourceSchema, updateModelProfileRequestSchema, } from "./model-profile-registry.js";
|
|
7
|
+
export { modelProfileVersionPricingSchema } from "./model-pricing.js";
|
|
8
|
+
export { createEvaluationRequestSchema, evaluationListResourceSchema, evaluationResourceSchema, evaluatorConfigSchema, evaluatorTypeSchema, jsonExactMatchEvaluatorSchema, } from "./evaluation.js";
|
|
9
|
+
export { listRunStepsQuerySchema, runAttemptUsageResourceSchema, runStepKindSchema, runStepListCursorPayloadSchema, runStepListResourceSchema, runStepResourceSchema, runStepStatusSchema, } from "./run-step.js";
|
|
10
|
+
export { createToolRequestSchema, createToolVersionRequestSchema, internalToolVersionResourceSchema, mcpToolVersionResourceSchema, toolListResourceSchema, toolResourceSchema, toolVersionListResourceSchema, toolVersionResourceSchema, updateToolRequestSchema, } from "./tool-registry.js";
|
|
11
|
+
export { connectorAuthConfigSchema, connectorKindSchema, connectorTransportConfigSchema, connectorTransportSchema, stdioTransportConfigSchema, streamableHttpTransportConfigSchema, } from "./connector.js";
|
|
12
|
+
export { osvaMcpAgentRunV1InputSchema, osvaMcpRunGetV1InputSchema, osvaMcpWorkflowRunGetV1InputSchema, osvaMcpWorkflowRunV1InputSchema, } from "./mcp-server.js";
|
|
13
|
+
export { connectorListResourceSchema, connectorResourceSchema, connectorVersionListResourceSchema, connectorVersionResourceSchema, createConnectorRequestSchema, createConnectorVersionRequestSchema, discoverConnectorToolsResponseSchema, discoveredMcpToolSchema, importMcpToolsRequestSchema, importMcpToolsResponseSchema, importedMcpToolResourceSchema, updateConnectorRequestSchema, } from "./connector-registry.js";
|
|
14
|
+
export { internalToolImplementationIdSchema, mcpToolVersionConfigSchema, toolBindingNameSchema, toolTypeSchema, } from "./tool-gateway.js";
|
|
15
|
+
export { agentListResourceSchema, agentResourceSchema, agentVersionListResourceSchema, agentVersionResourceSchema, createAgentRequestSchema, createAgentVersionRequestSchema, updateAgentRequestSchema, } from "./agent-registry.js";
|
|
16
|
+
export { createRunRequestSchema, createRunResponseSchema, listRunsQuerySchema, runAttemptListResourceSchema, runAttemptResourceSchema, runListCursorPayloadSchema, runListResourceSchema, runResourceSchema, } from "./run-lifecycle.js";
|
|
17
|
+
export { executionFailureSchema, executionRequestSchema, executionResultSchema, executionSuccessSchema, } from "./runtime-protocol.js";
|
|
18
|
+
export { eventEnvelopeSchema } from "./event-envelope.js";
|
|
19
|
+
export { UTC_ISO8601_INSTANT_PATTERN, utcIso8601TimestampSchema, } from "./utc-instant.js";
|
|
20
|
+
export { jobQueuePayloadSchema } from "./job-queue.js";
|
|
21
|
+
export { generateTextInputSchema, generateTextResultSchema, modelProviderModelIdSchema, modelProviderSchema, modelRequestSchema, modelResponseSchema, modelTextMessageSchema, modelUsageSchema, } from "./model-gateway.js";
|
|
22
|
+
export { toolGrantSchema, toolInvocationSchema } from "./tool.js";
|
|
23
|
+
export { workflowDefinitionAgentNodeV2Schema, workflowDefinitionApprovalNodeV2Schema, workflowDefinitionBranchCaseSchema, workflowDefinitionBranchNodeV2Schema, workflowDefinitionEdgeSchema, workflowDefinitionJoinNodeV2Schema, workflowDefinitionNodeSchema, workflowDefinitionParallelNodeV2Schema, workflowDefinitionSchema, workflowDefinitionV1Schema, workflowDefinitionV2NodeSchema, workflowDefinitionV2Schema, } from "./workflow-definition.js";
|
|
24
|
+
export { ingestWorkflowEventRequestSchema, workflowEventResourceSchema, } from "./workflow-event.js";
|
|
25
|
+
export { approvalDecisionSchema, approvalRequestResourceSchema, approvalRequestStateSchema, createWorkflowRequestSchema, createWorkflowRunRequestSchema, createWorkflowVersionRequestSchema, decideApprovalRequestSchema, workflowListResourceSchema, workflowNodeRunResourceSchema, workflowNodeRunStateSchema, workflowResourceSchema, workflowRunErrorResourceSchema, workflowRunResourceSchema, workflowRunStateSchema, workflowVersionListResourceSchema, workflowVersionResourceSchema, } from "./workflow-registry.js";
|
|
26
|
+
export { createMemoryNamespaceRequestSchema, listMemoryRecordsQuerySchema, memoryNamespaceListResourceSchema, memoryNamespaceResourceSchema, memoryRecordListResourceSchema, memoryRecordResourceSchema, } from "./memory-registry.js";
|
|
27
|
+
export { createKnowledgeIndexRequestSchema, createKnowledgeSourceRequestSchema, knowledgeHitSchema, knowledgeIndexResourceSchema, knowledgeListCursorPayloadSchema, knowledgeRetrieveFilterSchema, knowledgeRetrieveRequestSchema, knowledgeRetrieveResponseSchema, knowledgeSourceResourceSchema, listKnowledgeSourcesQuerySchema, retryKnowledgeIndexRequestSchema, } from "./knowledge.js";
|
|
28
|
+
export { artifactDigestSchema, artifactListCursorPayloadSchema, artifactListResourceSchema, artifactProducerResourceSchema, artifactReferenceV1Schema, artifactResourceSchema, createArtifactFormFieldsSchema, createRuntimeArtifactFormFieldsSchema, listArtifactsQuerySchema, } from "./artifact.js";
|
|
29
|
+
export { createEvaluationRunRequestSchema, createEvaluationSuiteRequestSchema, createEvaluationSuiteVersionRequestSchema, evaluationCaseDefinitionSchema, evaluationCaseResourceSchema, evaluationCaseResultListResourceSchema, evaluationCaseResultResourceSchema, evaluationRunDetailResourceSchema, evaluationRunResourceSchema, evaluationRunSummarySchema, evaluationSuiteListResourceSchema, evaluationSuiteResourceSchema, evaluationSuiteVersionListResourceSchema, evaluationSuiteVersionResourceSchema, } from "./evaluation-suite.js";
|
|
30
|
+
export { createScheduleRequestSchema, listScheduleOccurrencesQuerySchema, listSchedulesQuerySchema, scheduleListResourceSchema, scheduleOccurrenceListResourceSchema, scheduleOccurrenceResourceSchema, scheduleResourceSchema, updateScheduleRequestSchema, } from "./schedule-registry.js";
|
|
31
|
+
export { addTeamMembershipRequestSchema, assignmentListResourceSchema, assignmentResourceSchema, assignmentStateSchema, assignmentTargetTypeSchema, createAssignmentRequestSchema, createGoalRequestSchema, createOfficeWorkerRequestSchema, createRoleRequestSchema, createTeamRequestSchema, goalListResourceSchema, goalResourceSchema, goalStateSchema, listOfficeResourcesQuerySchema, officeWorkerListResourceSchema, officeWorkerResourceSchema, roleListResourceSchema, roleResourceSchema, teamListResourceSchema, teamMembershipListResourceSchema, teamMembershipResourceSchema, teamResourceSchema, updateAssignmentRequestSchema, updateGoalRequestSchema, updateOfficeWorkerRequestSchema, updateRoleRequestSchema, updateTeamRequestSchema, } from "./office-registry.js";
|
|
32
|
+
export { apiKeyListResourceSchema, apiKeyResourceSchema, communityEditionRoleSchema, createApiKeyRequestSchema, createApiKeyResponseSchema, revokeApiKeyResponseSchema, } from "./api-key-registry.js";
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,uBAAuB,EACvB,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,4BAA4B,EAC5B,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACvB,8BAA8B,EAC9B,aAAa,EACb,uBAAuB,EACvB,oBAAoB,EACpB,2BAA2B,EAC3B,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,0BAA0B,EAC1B,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EACjB,wBAAwB,EACxB,gBAAgB,EAChB,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,YAAY,EACZ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