openpond-sdk 0.7.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/MODEL_STARTERS.md +25 -0
  2. package/TASKSETS.md +8 -0
  3. package/TRAINING_PROTOCOL.md +28 -0
  4. package/dist/{chunk-CGIMLZE5.js → chunk-5KA6NN6I.js} +277 -188
  5. package/dist/chunk-5KA6NN6I.js.map +7 -0
  6. package/dist/{chunk-ECTMEJ5N.js → chunk-IKTZ2CD4.js} +63 -42
  7. package/dist/chunk-IKTZ2CD4.js.map +7 -0
  8. package/dist/dataset-workspaces.js +5 -1
  9. package/dist/dataset-workspaces.js.map +2 -2
  10. package/dist/model-starter-attempts.js +5 -1
  11. package/dist/model-starter-catalog.js +1 -1
  12. package/dist/model-starters.js +1 -1
  13. package/dist/model-taskset-runs.js +10 -7
  14. package/dist/model-taskset-runs.js.map +2 -2
  15. package/dist/taskset-drafts.js +1 -1
  16. package/dist/taskset-packages.js +1 -1
  17. package/dist/training-bundle.js +1 -1
  18. package/dist/training.js +13 -1
  19. package/dist/types/packages/sdk/src/dataset-workspace-client.d.ts +4 -0
  20. package/dist/types/packages/sdk/src/dataset-workspace-client.d.ts.map +1 -1
  21. package/dist/types/packages/sdk/src/dataset-workspace-contracts.d.ts +3 -0
  22. package/dist/types/packages/sdk/src/dataset-workspace-contracts.d.ts.map +1 -1
  23. package/dist/types/packages/sdk/src/evaluation-project-context.d.ts +19 -0
  24. package/dist/types/packages/sdk/src/evaluation-project-context.d.ts.map +1 -0
  25. package/dist/types/packages/sdk/src/model-starter-attempts.d.ts +127 -12
  26. package/dist/types/packages/sdk/src/model-starter-attempts.d.ts.map +1 -1
  27. package/dist/types/packages/sdk/src/model-taskset-runs-contracts.d.ts +83 -8
  28. package/dist/types/packages/sdk/src/model-taskset-runs-contracts.d.ts.map +1 -1
  29. package/dist/types/packages/sdk/src/model-taskset-runs.d.ts +79 -9
  30. package/dist/types/packages/sdk/src/model-taskset-runs.d.ts.map +1 -1
  31. package/dist/types/packages/sdk/src/training-preparations.d.ts +639 -0
  32. package/dist/types/packages/sdk/src/training-preparations.d.ts.map +1 -0
  33. package/dist/types/packages/sdk/src/training-project-client.d.ts +4 -4
  34. package/dist/types/packages/sdk/src/training-project-contracts.d.ts +5 -5
  35. package/dist/types/packages/sdk/src/training.d.ts +309 -0
  36. package/dist/types/packages/sdk/src/training.d.ts.map +1 -1
  37. package/package.json +1 -1
  38. package/dist/chunk-CGIMLZE5.js.map +0 -7
  39. package/dist/chunk-ECTMEJ5N.js.map +0 -7
@@ -1,7 +1,16 @@
1
1
  import { z } from "zod";
2
+ export { EvaluationProjectContextSchema, EvaluationMessagesSchema, type EvaluationProjectContext } from "./evaluation-project-context.js";
2
3
  export declare const ModelStarterAttemptPolicySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3
4
  kind: z.ZodLiteral<"hosted_chat">;
4
5
  modelId: z.ZodString;
6
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
+ role: z.ZodEnum<{
8
+ user: "user";
9
+ system: "system";
10
+ assistant: "assistant";
11
+ }>;
12
+ content: z.ZodString;
13
+ }, z.core.$strict>>>;
5
14
  maxOutputTokens: z.ZodDefault<z.ZodNumber>;
6
15
  temperature: z.ZodDefault<z.ZodNumber>;
7
16
  topP: z.ZodDefault<z.ZodNumber>;
@@ -15,7 +24,13 @@ export declare const ModelStarterAttemptRequestSchema: z.ZodObject<{
15
24
  schemaVersion: z.ZodLiteral<"openpond.modelStarterAttemptRequest.v1">;
16
25
  operationId: z.ZodString;
17
26
  teamId: z.ZodString;
18
- modelProjectId: z.ZodString;
27
+ modelProjectId: z.ZodNullable<z.ZodString>;
28
+ project: z.ZodOptional<z.ZodObject<{
29
+ id: z.ZodString;
30
+ revision: z.ZodNumber;
31
+ contentHash: z.ZodString;
32
+ targetId: z.ZodNullable<z.ZodString>;
33
+ }, z.core.$strict>>;
19
34
  taskset: z.ZodObject<{
20
35
  id: z.ZodString;
21
36
  contentHash: z.ZodString;
@@ -26,6 +41,14 @@ export declare const ModelStarterAttemptRequestSchema: z.ZodObject<{
26
41
  policy: z.ZodDiscriminatedUnion<[z.ZodObject<{
27
42
  kind: z.ZodLiteral<"hosted_chat">;
28
43
  modelId: z.ZodString;
44
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
45
+ role: z.ZodEnum<{
46
+ user: "user";
47
+ system: "system";
48
+ assistant: "assistant";
49
+ }>;
50
+ content: z.ZodString;
51
+ }, z.core.$strict>>>;
29
52
  maxOutputTokens: z.ZodDefault<z.ZodNumber>;
30
53
  temperature: z.ZodDefault<z.ZodNumber>;
31
54
  topP: z.ZodDefault<z.ZodNumber>;
@@ -36,7 +59,7 @@ export declare const ModelStarterAttemptRequestSchema: z.ZodObject<{
36
59
  }, z.core.$strict>;
37
60
  export type ModelStarterAttemptRequest = z.infer<typeof ModelStarterAttemptRequestSchema>;
38
61
  export declare const ModelStarterAttemptChoicesQuerySchema: z.ZodObject<{
39
- modelProjectId: z.ZodString;
62
+ modelProjectId: z.ZodNullable<z.ZodString>;
40
63
  taskset: z.ZodObject<{
41
64
  id: z.ZodString;
42
65
  contentHash: z.ZodString;
@@ -46,7 +69,7 @@ export declare const ModelStarterAttemptChoicesQuerySchema: z.ZodObject<{
46
69
  limit: z.ZodDefault<z.ZodNumber>;
47
70
  }, z.core.$strict>;
48
71
  export declare const ModelStarterAttemptChoicesSchema: z.ZodObject<{
49
- modelProjectId: z.ZodString;
72
+ modelProjectId: z.ZodNullable<z.ZodString>;
50
73
  taskset: z.ZodObject<{
51
74
  id: z.ZodString;
52
75
  contentHash: z.ZodString;
@@ -81,7 +104,13 @@ export declare const ModelStarterAttemptSummarySchema: z.ZodObject<{
81
104
  schemaVersion: z.ZodLiteral<"openpond.modelStarterAttemptRequest.v1">;
82
105
  operationId: z.ZodString;
83
106
  teamId: z.ZodString;
84
- modelProjectId: z.ZodString;
107
+ modelProjectId: z.ZodNullable<z.ZodString>;
108
+ project: z.ZodOptional<z.ZodObject<{
109
+ id: z.ZodString;
110
+ revision: z.ZodNumber;
111
+ contentHash: z.ZodString;
112
+ targetId: z.ZodNullable<z.ZodString>;
113
+ }, z.core.$strict>>;
85
114
  taskset: z.ZodObject<{
86
115
  id: z.ZodString;
87
116
  contentHash: z.ZodString;
@@ -92,6 +121,14 @@ export declare const ModelStarterAttemptSummarySchema: z.ZodObject<{
92
121
  policy: z.ZodDiscriminatedUnion<[z.ZodObject<{
93
122
  kind: z.ZodLiteral<"hosted_chat">;
94
123
  modelId: z.ZodString;
124
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
125
+ role: z.ZodEnum<{
126
+ user: "user";
127
+ system: "system";
128
+ assistant: "assistant";
129
+ }>;
130
+ content: z.ZodString;
131
+ }, z.core.$strict>>>;
95
132
  maxOutputTokens: z.ZodDefault<z.ZodNumber>;
96
133
  temperature: z.ZodDefault<z.ZodNumber>;
97
134
  topP: z.ZodDefault<z.ZodNumber>;
@@ -148,7 +185,13 @@ export declare const ModelStarterAttemptPageSchema: z.ZodObject<{
148
185
  schemaVersion: z.ZodLiteral<"openpond.modelStarterAttemptRequest.v1">;
149
186
  operationId: z.ZodString;
150
187
  teamId: z.ZodString;
151
- modelProjectId: z.ZodString;
188
+ modelProjectId: z.ZodNullable<z.ZodString>;
189
+ project: z.ZodOptional<z.ZodObject<{
190
+ id: z.ZodString;
191
+ revision: z.ZodNumber;
192
+ contentHash: z.ZodString;
193
+ targetId: z.ZodNullable<z.ZodString>;
194
+ }, z.core.$strict>>;
152
195
  taskset: z.ZodObject<{
153
196
  id: z.ZodString;
154
197
  contentHash: z.ZodString;
@@ -159,6 +202,14 @@ export declare const ModelStarterAttemptPageSchema: z.ZodObject<{
159
202
  policy: z.ZodDiscriminatedUnion<[z.ZodObject<{
160
203
  kind: z.ZodLiteral<"hosted_chat">;
161
204
  modelId: z.ZodString;
205
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
206
+ role: z.ZodEnum<{
207
+ user: "user";
208
+ system: "system";
209
+ assistant: "assistant";
210
+ }>;
211
+ content: z.ZodString;
212
+ }, z.core.$strict>>>;
162
213
  maxOutputTokens: z.ZodDefault<z.ZodNumber>;
163
214
  temperature: z.ZodDefault<z.ZodNumber>;
164
215
  topP: z.ZodDefault<z.ZodNumber>;
@@ -212,7 +263,13 @@ export declare const ModelStarterAttemptResultSchema: z.ZodObject<{
212
263
  schemaVersion: z.ZodLiteral<"openpond.modelStarterAttemptRequest.v1">;
213
264
  operationId: z.ZodString;
214
265
  teamId: z.ZodString;
215
- modelProjectId: z.ZodString;
266
+ modelProjectId: z.ZodNullable<z.ZodString>;
267
+ project: z.ZodOptional<z.ZodObject<{
268
+ id: z.ZodString;
269
+ revision: z.ZodNumber;
270
+ contentHash: z.ZodString;
271
+ targetId: z.ZodNullable<z.ZodString>;
272
+ }, z.core.$strict>>;
216
273
  taskset: z.ZodObject<{
217
274
  id: z.ZodString;
218
275
  contentHash: z.ZodString;
@@ -223,6 +280,14 @@ export declare const ModelStarterAttemptResultSchema: z.ZodObject<{
223
280
  policy: z.ZodDiscriminatedUnion<[z.ZodObject<{
224
281
  kind: z.ZodLiteral<"hosted_chat">;
225
282
  modelId: z.ZodString;
283
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
284
+ role: z.ZodEnum<{
285
+ user: "user";
286
+ system: "system";
287
+ assistant: "assistant";
288
+ }>;
289
+ content: z.ZodString;
290
+ }, z.core.$strict>>>;
226
291
  maxOutputTokens: z.ZodDefault<z.ZodNumber>;
227
292
  temperature: z.ZodDefault<z.ZodNumber>;
228
293
  topP: z.ZodDefault<z.ZodNumber>;
@@ -451,7 +516,7 @@ export declare class OpenPondModelStarterAttemptsClient {
451
516
  schemaVersion: "openpond.modelStarterAttemptRequest.v1";
452
517
  operationId: string;
453
518
  teamId: string;
454
- modelProjectId: string;
519
+ modelProjectId: string | null;
455
520
  taskset: {
456
521
  id: string;
457
522
  contentHash: string;
@@ -465,10 +530,20 @@ export declare class OpenPondModelStarterAttemptsClient {
465
530
  maxOutputTokens: number;
466
531
  temperature: number;
467
532
  topP: number;
533
+ messages?: {
534
+ role: "user" | "system" | "assistant";
535
+ content: string;
536
+ }[] | undefined;
468
537
  } | {
469
538
  kind: "fixture";
470
539
  fixtureId: string;
471
540
  };
541
+ project?: {
542
+ id: string;
543
+ revision: number;
544
+ contentHash: string;
545
+ targetId: string | null;
546
+ } | undefined;
472
547
  };
473
548
  status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
474
549
  policySnapshot: {
@@ -501,7 +576,7 @@ export declare class OpenPondModelStarterAttemptsClient {
501
576
  schemaVersion: "openpond.modelStarterAttemptRequest.v1";
502
577
  operationId: string;
503
578
  teamId: string;
504
- modelProjectId: string;
579
+ modelProjectId: string | null;
505
580
  taskset: {
506
581
  id: string;
507
582
  contentHash: string;
@@ -515,10 +590,20 @@ export declare class OpenPondModelStarterAttemptsClient {
515
590
  maxOutputTokens: number;
516
591
  temperature: number;
517
592
  topP: number;
593
+ messages?: {
594
+ role: "user" | "system" | "assistant";
595
+ content: string;
596
+ }[] | undefined;
518
597
  } | {
519
598
  kind: "fixture";
520
599
  fixtureId: string;
521
600
  };
601
+ project?: {
602
+ id: string;
603
+ revision: number;
604
+ contentHash: string;
605
+ targetId: string | null;
606
+ } | undefined;
522
607
  };
523
608
  status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
524
609
  policySnapshot: {
@@ -544,7 +629,7 @@ export declare class OpenPondModelStarterAttemptsClient {
544
629
  choices(value: z.input<typeof ModelStarterAttemptChoicesQuerySchema>, options?: {
545
630
  signal?: AbortSignal;
546
631
  }): Promise<{
547
- modelProjectId: string;
632
+ modelProjectId: string | null;
548
633
  taskset: {
549
634
  id: string;
550
635
  contentHash: string;
@@ -577,7 +662,7 @@ export declare class OpenPondModelStarterAttemptsClient {
577
662
  schemaVersion: "openpond.modelStarterAttemptRequest.v1";
578
663
  operationId: string;
579
664
  teamId: string;
580
- modelProjectId: string;
665
+ modelProjectId: string | null;
581
666
  taskset: {
582
667
  id: string;
583
668
  contentHash: string;
@@ -591,10 +676,20 @@ export declare class OpenPondModelStarterAttemptsClient {
591
676
  maxOutputTokens: number;
592
677
  temperature: number;
593
678
  topP: number;
679
+ messages?: {
680
+ role: "user" | "system" | "assistant";
681
+ content: string;
682
+ }[] | undefined;
594
683
  } | {
595
684
  kind: "fixture";
596
685
  fixtureId: string;
597
686
  };
687
+ project?: {
688
+ id: string;
689
+ revision: number;
690
+ contentHash: string;
691
+ targetId: string | null;
692
+ } | undefined;
598
693
  };
599
694
  status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
600
695
  policySnapshot: {
@@ -629,7 +724,7 @@ export declare class OpenPondModelStarterAttemptsClient {
629
724
  schemaVersion: "openpond.modelStarterAttemptRequest.v1";
630
725
  operationId: string;
631
726
  teamId: string;
632
- modelProjectId: string;
727
+ modelProjectId: string | null;
633
728
  taskset: {
634
729
  id: string;
635
730
  contentHash: string;
@@ -643,10 +738,20 @@ export declare class OpenPondModelStarterAttemptsClient {
643
738
  maxOutputTokens: number;
644
739
  temperature: number;
645
740
  topP: number;
741
+ messages?: {
742
+ role: "user" | "system" | "assistant";
743
+ content: string;
744
+ }[] | undefined;
646
745
  } | {
647
746
  kind: "fixture";
648
747
  fixtureId: string;
649
748
  };
749
+ project?: {
750
+ id: string;
751
+ revision: number;
752
+ contentHash: string;
753
+ targetId: string | null;
754
+ } | undefined;
650
755
  };
651
756
  status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
652
757
  policySnapshot: {
@@ -795,7 +900,7 @@ export declare class OpenPondModelStarterAttemptsClient {
795
900
  schemaVersion: "openpond.modelStarterAttemptRequest.v1";
796
901
  operationId: string;
797
902
  teamId: string;
798
- modelProjectId: string;
903
+ modelProjectId: string | null;
799
904
  taskset: {
800
905
  id: string;
801
906
  contentHash: string;
@@ -809,10 +914,20 @@ export declare class OpenPondModelStarterAttemptsClient {
809
914
  maxOutputTokens: number;
810
915
  temperature: number;
811
916
  topP: number;
917
+ messages?: {
918
+ role: "user" | "system" | "assistant";
919
+ content: string;
920
+ }[] | undefined;
812
921
  } | {
813
922
  kind: "fixture";
814
923
  fixtureId: string;
815
924
  };
925
+ project?: {
926
+ id: string;
927
+ revision: number;
928
+ contentHash: string;
929
+ targetId: string | null;
930
+ } | undefined;
816
931
  };
817
932
  status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
818
933
  policySnapshot: {
@@ -1 +1 @@
1
- {"version":3,"file":"model-starter-attempts.d.ts","sourceRoot":"","sources":["../../../../../src/model-starter-attempts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,+BAA+B;;;;;;;;;4BAG1C,CAAC;AACH;kFACkF;AAClF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;kBAMlC,CAAC;AACZ,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1F,eAAO,MAAM,qCAAqC;;;;;;;;;kBAAkL,CAAC;AACrO,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAKlC,CAAC;AACZ,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAa3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1F,eAAO,MAAM,kCAAkC;;;;kBAAqI,CAAC;AACrL,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAoH,CAAC;AAC/J,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ZodDiscriminatedUnion<[z.ZodObject<{
3
3
  kind: z.ZodLiteral<"hosted_chat">;
4
4
  modelId: z.ZodString;
5
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
+ role: z.ZodEnum<{
7
+ user: "user";
8
+ system: "system";
9
+ assistant: "assistant";
10
+ }>;
11
+ content: z.ZodString;
12
+ }, z.core.$strict>>>;
5
13
  maxOutputTokens: z.ZodDefault<z.ZodNumber>;
6
14
  temperature: z.ZodDefault<z.ZodNumber>;
7
15
  topP: z.ZodDefault<z.ZodNumber>;
@@ -12,7 +20,13 @@ export declare const ModelTasksetRunRequestSchema: z.ZodObject<{
12
20
  schemaVersion: z.ZodLiteral<"openpond.modelTasksetRunRequest.v1">;
13
21
  operationId: z.ZodString;
14
22
  teamId: z.ZodString;
15
- modelProjectId: z.ZodString;
23
+ modelProjectId: z.ZodNullable<z.ZodString>;
24
+ project: z.ZodOptional<z.ZodObject<{
25
+ id: z.ZodString;
26
+ revision: z.ZodNumber;
27
+ contentHash: z.ZodString;
28
+ targetId: z.ZodNullable<z.ZodString>;
29
+ }, z.core.$strict>>;
16
30
  taskset: z.ZodObject<{
17
31
  id: z.ZodString;
18
32
  contentHash: z.ZodString;
@@ -21,6 +35,14 @@ export declare const ModelTasksetRunRequestSchema: z.ZodObject<{
21
35
  policy: z.ZodDiscriminatedUnion<[z.ZodObject<{
22
36
  kind: z.ZodLiteral<"hosted_chat">;
23
37
  modelId: z.ZodString;
38
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
39
+ role: z.ZodEnum<{
40
+ user: "user";
41
+ system: "system";
42
+ assistant: "assistant";
43
+ }>;
44
+ content: z.ZodString;
45
+ }, z.core.$strict>>>;
24
46
  maxOutputTokens: z.ZodDefault<z.ZodNumber>;
25
47
  temperature: z.ZodDefault<z.ZodNumber>;
26
48
  topP: z.ZodDefault<z.ZodNumber>;
@@ -40,7 +62,13 @@ export declare const ModelTasksetRunSummarySchema: z.ZodObject<{
40
62
  id: z.ZodString;
41
63
  revision: z.ZodNumber;
42
64
  teamId: z.ZodString;
43
- modelProjectId: z.ZodString;
65
+ modelProjectId: z.ZodNullable<z.ZodString>;
66
+ project: z.ZodOptional<z.ZodObject<{
67
+ id: z.ZodString;
68
+ revision: z.ZodNumber;
69
+ contentHash: z.ZodString;
70
+ targetId: z.ZodNullable<z.ZodString>;
71
+ }, z.core.$strict>>;
44
72
  operationId: z.ZodString;
45
73
  taskset: z.ZodObject<{
46
74
  id: z.ZodString;
@@ -87,7 +115,13 @@ export declare const ModelTasksetRunDetailsSchema: z.ZodObject<{
87
115
  id: z.ZodString;
88
116
  revision: z.ZodNumber;
89
117
  teamId: z.ZodString;
90
- modelProjectId: z.ZodString;
118
+ modelProjectId: z.ZodNullable<z.ZodString>;
119
+ project: z.ZodOptional<z.ZodObject<{
120
+ id: z.ZodString;
121
+ revision: z.ZodNumber;
122
+ contentHash: z.ZodString;
123
+ targetId: z.ZodNullable<z.ZodString>;
124
+ }, z.core.$strict>>;
91
125
  operationId: z.ZodString;
92
126
  taskset: z.ZodObject<{
93
127
  id: z.ZodString;
@@ -131,7 +165,13 @@ export declare const ModelTasksetRunDetailsSchema: z.ZodObject<{
131
165
  schemaVersion: z.ZodLiteral<"openpond.modelTasksetRunRequest.v1">;
132
166
  operationId: z.ZodString;
133
167
  teamId: z.ZodString;
134
- modelProjectId: z.ZodString;
168
+ modelProjectId: z.ZodNullable<z.ZodString>;
169
+ project: z.ZodOptional<z.ZodObject<{
170
+ id: z.ZodString;
171
+ revision: z.ZodNumber;
172
+ contentHash: z.ZodString;
173
+ targetId: z.ZodNullable<z.ZodString>;
174
+ }, z.core.$strict>>;
135
175
  taskset: z.ZodObject<{
136
176
  id: z.ZodString;
137
177
  contentHash: z.ZodString;
@@ -140,6 +180,14 @@ export declare const ModelTasksetRunDetailsSchema: z.ZodObject<{
140
180
  policy: z.ZodDiscriminatedUnion<[z.ZodObject<{
141
181
  kind: z.ZodLiteral<"hosted_chat">;
142
182
  modelId: z.ZodString;
183
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
184
+ role: z.ZodEnum<{
185
+ user: "user";
186
+ system: "system";
187
+ assistant: "assistant";
188
+ }>;
189
+ content: z.ZodString;
190
+ }, z.core.$strict>>>;
143
191
  maxOutputTokens: z.ZodDefault<z.ZodNumber>;
144
192
  temperature: z.ZodDefault<z.ZodNumber>;
145
193
  topP: z.ZodDefault<z.ZodNumber>;
@@ -276,7 +324,8 @@ export declare const ModelTasksetRunDetailsSchema: z.ZodObject<{
276
324
  }, z.core.$strict>;
277
325
  export type ModelTasksetRunDetails = z.infer<typeof ModelTasksetRunDetailsSchema>;
278
326
  export declare const ModelTasksetRunListQuerySchema: z.ZodObject<{
279
- modelProjectId: z.ZodString;
327
+ modelProjectId: z.ZodOptional<z.ZodString>;
328
+ projectId: z.ZodOptional<z.ZodString>;
280
329
  afterId: z.ZodOptional<z.ZodString>;
281
330
  limit: z.ZodDefault<z.ZodNumber>;
282
331
  }, z.core.$strict>;
@@ -286,7 +335,13 @@ export declare const ModelTasksetRunPageSchema: z.ZodObject<{
286
335
  id: z.ZodString;
287
336
  revision: z.ZodNumber;
288
337
  teamId: z.ZodString;
289
- modelProjectId: z.ZodString;
338
+ modelProjectId: z.ZodNullable<z.ZodString>;
339
+ project: z.ZodOptional<z.ZodObject<{
340
+ id: z.ZodString;
341
+ revision: z.ZodNumber;
342
+ contentHash: z.ZodString;
343
+ targetId: z.ZodNullable<z.ZodString>;
344
+ }, z.core.$strict>>;
290
345
  operationId: z.ZodString;
291
346
  taskset: z.ZodObject<{
292
347
  id: z.ZodString;
@@ -336,7 +391,13 @@ export declare const ModelTasksetRunResultSchema: z.ZodObject<{
336
391
  id: z.ZodString;
337
392
  revision: z.ZodNumber;
338
393
  teamId: z.ZodString;
339
- modelProjectId: z.ZodString;
394
+ modelProjectId: z.ZodNullable<z.ZodString>;
395
+ project: z.ZodOptional<z.ZodObject<{
396
+ id: z.ZodString;
397
+ revision: z.ZodNumber;
398
+ contentHash: z.ZodString;
399
+ targetId: z.ZodNullable<z.ZodString>;
400
+ }, z.core.$strict>>;
340
401
  operationId: z.ZodString;
341
402
  taskset: z.ZodObject<{
342
403
  id: z.ZodString;
@@ -380,7 +441,13 @@ export declare const ModelTasksetRunResultSchema: z.ZodObject<{
380
441
  schemaVersion: z.ZodLiteral<"openpond.modelTasksetRunRequest.v1">;
381
442
  operationId: z.ZodString;
382
443
  teamId: z.ZodString;
383
- modelProjectId: z.ZodString;
444
+ modelProjectId: z.ZodNullable<z.ZodString>;
445
+ project: z.ZodOptional<z.ZodObject<{
446
+ id: z.ZodString;
447
+ revision: z.ZodNumber;
448
+ contentHash: z.ZodString;
449
+ targetId: z.ZodNullable<z.ZodString>;
450
+ }, z.core.$strict>>;
384
451
  taskset: z.ZodObject<{
385
452
  id: z.ZodString;
386
453
  contentHash: z.ZodString;
@@ -389,6 +456,14 @@ export declare const ModelTasksetRunResultSchema: z.ZodObject<{
389
456
  policy: z.ZodDiscriminatedUnion<[z.ZodObject<{
390
457
  kind: z.ZodLiteral<"hosted_chat">;
391
458
  modelId: z.ZodString;
459
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
460
+ role: z.ZodEnum<{
461
+ user: "user";
462
+ system: "system";
463
+ assistant: "assistant";
464
+ }>;
465
+ content: z.ZodString;
466
+ }, z.core.$strict>>>;
392
467
  maxOutputTokens: z.ZodDefault<z.ZodNumber>;
393
468
  temperature: z.ZodDefault<z.ZodNumber>;
394
469
  topP: z.ZodDefault<z.ZodNumber>;
@@ -1 +1 @@
1
- {"version":3,"file":"model-taskset-runs-contracts.d.ts","sourceRoot":"","sources":["../../../../../src/model-taskset-runs-contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,eAAO,MAAM,2BAA2B;;;;;;;;4BAGtC,CAAC;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;kBASvC,CAAC;AACH,MAAM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