openpond-sdk 0.1.8 → 0.1.10

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.
@@ -4,6 +4,124 @@ export declare const ModelStarterCatalogQuerySchema: z.ZodObject<{
4
4
  afterId: z.ZodOptional<z.ZodString>;
5
5
  limit: z.ZodDefault<z.ZodNumber>;
6
6
  }, z.core.$strict>;
7
+ export declare const ModelStarterCatalogItemSchema: z.ZodObject<{
8
+ schemaVersion: z.ZodLiteral<"openpond.modelStarter.v1">;
9
+ id: z.ZodString;
10
+ revision: z.ZodNumber;
11
+ name: z.ZodString;
12
+ description: z.ZodString;
13
+ category: z.ZodEnum<{
14
+ coding: "coding";
15
+ extraction: "extraction";
16
+ support: "support";
17
+ operations: "operations";
18
+ knowledge: "knowledge";
19
+ writing: "writing";
20
+ classification: "classification";
21
+ }>;
22
+ taskset: z.ZodObject<{
23
+ id: z.ZodString;
24
+ contentHash: z.ZodString;
25
+ revision: z.ZodNumber;
26
+ }, z.core.$strict>;
27
+ taskDefinition: z.ZodObject<{
28
+ id: z.ZodString;
29
+ contentHash: z.ZodString;
30
+ revision: z.ZodNumber;
31
+ }, z.core.$strict>;
32
+ rewardBinding: z.ZodObject<{
33
+ id: z.ZodString;
34
+ contentHash: z.ZodString;
35
+ revision: z.ZodNumber;
36
+ }, z.core.$strict>;
37
+ rewards: z.ZodArray<z.ZodObject<{
38
+ id: z.ZodString;
39
+ contentHash: z.ZodString;
40
+ revision: z.ZodNumber;
41
+ }, z.core.$strict>>;
42
+ assets: z.ZodArray<z.ZodObject<{
43
+ id: z.ZodString;
44
+ contentHash: z.ZodString;
45
+ revision: z.ZodNumber;
46
+ }, z.core.$strict>>;
47
+ previewTaskIds: z.ZodArray<z.ZodString>;
48
+ startingModel: z.ZodObject<{
49
+ schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">;
50
+ modelId: z.ZodString;
51
+ revision: z.ZodNullable<z.ZodString>;
52
+ tokenizerRevision: z.ZodNullable<z.ZodString>;
53
+ chatTemplateHash: z.ZodNullable<z.ZodString>;
54
+ modelAssetId: z.ZodNullable<z.ZodString>;
55
+ source: z.ZodEnum<{
56
+ local: "local";
57
+ managed: "managed";
58
+ builtin: "builtin";
59
+ }>;
60
+ }, z.core.$strict>;
61
+ supportedMethods: z.ZodArray<z.ZodEnum<{
62
+ sft: "sft";
63
+ dpo: "dpo";
64
+ grpo: "grpo";
65
+ ppo: "ppo";
66
+ sdft: "sdft";
67
+ opd: "opd";
68
+ opsd: "opsd";
69
+ sdpo: "sdpo";
70
+ }>>;
71
+ defaultMethod: z.ZodEnum<{
72
+ sft: "sft";
73
+ dpo: "dpo";
74
+ grpo: "grpo";
75
+ ppo: "ppo";
76
+ sdft: "sdft";
77
+ opd: "opd";
78
+ opsd: "opsd";
79
+ sdpo: "sdpo";
80
+ }>;
81
+ provenance: z.ZodObject<{
82
+ author: z.ZodString;
83
+ license: z.ZodString;
84
+ sourceDescription: z.ZodString;
85
+ }, z.core.$strict>;
86
+ evidence: z.ZodObject<{
87
+ verifierFixtures: z.ZodNullable<z.ZodObject<{
88
+ id: z.ZodString;
89
+ contentHash: z.ZodString;
90
+ revision: z.ZodNumber;
91
+ }, z.core.$strict>>;
92
+ baseline: z.ZodNullable<z.ZodObject<{
93
+ id: z.ZodString;
94
+ contentHash: z.ZodString;
95
+ revision: z.ZodNumber;
96
+ }, z.core.$strict>>;
97
+ training: z.ZodNullable<z.ZodObject<{
98
+ id: z.ZodString;
99
+ contentHash: z.ZodString;
100
+ revision: z.ZodNumber;
101
+ }, z.core.$strict>>;
102
+ evaluation: z.ZodNullable<z.ZodObject<{
103
+ id: z.ZodString;
104
+ contentHash: z.ZodString;
105
+ revision: z.ZodNumber;
106
+ }, z.core.$strict>>;
107
+ }, z.core.$strict>;
108
+ contentHash: z.ZodString;
109
+ rewardSummary: z.ZodOptional<z.ZodArray<z.ZodObject<{
110
+ name: z.ZodString;
111
+ kind: z.ZodEnum<{
112
+ state: "state";
113
+ content: "content";
114
+ schema: "schema";
115
+ artifact: "artifact";
116
+ runtime_event: "runtime_event";
117
+ model_judge: "model_judge";
118
+ custom_verifier: "custom_verifier";
119
+ human: "human";
120
+ learned_model: "learned_model";
121
+ }>;
122
+ }, z.core.$strict>>>;
123
+ }, z.core.$strict>;
124
+ export type ModelStarterCatalogItem = z.infer<typeof ModelStarterCatalogItemSchema>;
7
125
  export declare const ModelStarterCatalogPageSchema: z.ZodObject<{
8
126
  items: z.ZodArray<z.ZodObject<{
9
127
  schemaVersion: z.ZodLiteral<"openpond.modelStarter.v1">;
@@ -107,6 +225,20 @@ export declare const ModelStarterCatalogPageSchema: z.ZodObject<{
107
225
  }, z.core.$strict>>;
108
226
  }, z.core.$strict>;
109
227
  contentHash: z.ZodString;
228
+ rewardSummary: z.ZodOptional<z.ZodArray<z.ZodObject<{
229
+ name: z.ZodString;
230
+ kind: z.ZodEnum<{
231
+ state: "state";
232
+ content: "content";
233
+ schema: "schema";
234
+ artifact: "artifact";
235
+ runtime_event: "runtime_event";
236
+ model_judge: "model_judge";
237
+ custom_verifier: "custom_verifier";
238
+ human: "human";
239
+ learned_model: "learned_model";
240
+ }>;
241
+ }, z.core.$strict>>>;
110
242
  }, z.core.$strict>>;
111
243
  nextCursor: z.ZodNullable<z.ZodString>;
112
244
  }, z.core.$strict>;
@@ -204,6 +336,10 @@ export declare class OpenPondModelStarterCatalogClient {
204
336
  } | null;
205
337
  };
206
338
  contentHash: string;
339
+ rewardSummary?: {
340
+ name: string;
341
+ kind: "state" | "content" | "schema" | "artifact" | "runtime_event" | "model_judge" | "custom_verifier" | "human" | "learned_model";
342
+ }[] | undefined;
207
343
  }[];
208
344
  nextCursor: string | null;
209
345
  }>;
@@ -625,6 +761,165 @@ export declare class OpenPondModelStarterCatalogClient {
625
761
  text: string;
626
762
  contentHash: string;
627
763
  }[];
764
+ execution?: {
765
+ environment: {
766
+ schemaVersion: "openpond.environmentRelease.v1";
767
+ id: string;
768
+ revision: number;
769
+ contract: {
770
+ protocolVersion: "openpond.environment.v1";
771
+ kind: "text" | "work" | "agent" | "custom_program";
772
+ entrypoint: string;
773
+ stateful: boolean;
774
+ deterministicSeeds: boolean;
775
+ lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[];
776
+ networkPolicy: "none" | "declared_read_only" | "declared_scoped";
777
+ defaultTimeoutMs: number;
778
+ };
779
+ actionSchemaRef: {
780
+ id: string;
781
+ path: string;
782
+ contentHash: string;
783
+ sizeBytes: number;
784
+ mediaType: string;
785
+ visibility: "policy" | "verifier" | "host_private";
786
+ } | null;
787
+ observationSchemaRef: {
788
+ id: string;
789
+ path: string;
790
+ contentHash: string;
791
+ sizeBytes: number;
792
+ mediaType: string;
793
+ visibility: "policy" | "verifier" | "host_private";
794
+ } | null;
795
+ stateSchemaRef: {
796
+ id: string;
797
+ path: string;
798
+ contentHash: string;
799
+ sizeBytes: number;
800
+ mediaType: string;
801
+ visibility: "policy" | "verifier" | "host_private";
802
+ } | null;
803
+ artifactCollection: {
804
+ maxArtifacts: number;
805
+ maxTotalBytes: number;
806
+ };
807
+ adapterConformanceHashes: Record<string, string>;
808
+ metadata: Record<string, unknown>;
809
+ contentHash: string;
810
+ };
811
+ verifierSet: {
812
+ schemaVersion: "openpond.verifierSetRelease.v1";
813
+ id: string;
814
+ revision: number;
815
+ graders: ({
816
+ id: string;
817
+ version: string;
818
+ weight: number;
819
+ hardGate: boolean;
820
+ rewardEligible: boolean;
821
+ privileged: boolean;
822
+ kind: "state" | "content" | "schema" | "artifact" | "runtime_event";
823
+ config: Record<string, unknown>;
824
+ } | {
825
+ id: string;
826
+ version: string;
827
+ weight: number;
828
+ hardGate: boolean;
829
+ rewardEligible: boolean;
830
+ privileged: boolean;
831
+ kind: "model_judge";
832
+ rubricRef: {
833
+ id: string;
834
+ path: string;
835
+ contentHash: string;
836
+ sizeBytes: number;
837
+ mediaType: string;
838
+ visibility: "policy" | "verifier" | "host_private";
839
+ };
840
+ calibrationStatus: "failed" | "pending" | "passed";
841
+ model?: {
842
+ providerId: string;
843
+ modelId: string;
844
+ revision: string | null;
845
+ } | undefined;
846
+ temperature?: number | undefined;
847
+ } | {
848
+ id: string;
849
+ version: string;
850
+ weight: number;
851
+ hardGate: boolean;
852
+ rewardEligible: boolean;
853
+ privileged: boolean;
854
+ kind: "custom_verifier";
855
+ verifierRef: {
856
+ id: string;
857
+ path: string;
858
+ contentHash: string;
859
+ sizeBytes: number;
860
+ mediaType: string;
861
+ visibility: "policy" | "verifier" | "host_private";
862
+ };
863
+ timeoutMs: number;
864
+ networkPolicy: "none";
865
+ exportName?: string | undefined;
866
+ } | {
867
+ id: string;
868
+ version: string;
869
+ weight: number;
870
+ hardGate: boolean;
871
+ rewardEligible: boolean;
872
+ privileged: boolean;
873
+ kind: "human";
874
+ rubricRef: {
875
+ id: string;
876
+ path: string;
877
+ contentHash: string;
878
+ sizeBytes: number;
879
+ mediaType: string;
880
+ visibility: "policy" | "verifier" | "host_private";
881
+ };
882
+ reviewerRole: string;
883
+ })[];
884
+ isolation: {
885
+ processBoundary: "same_process" | "isolated_process" | "container";
886
+ networkPolicy: "none";
887
+ defaultTimeoutMs: number;
888
+ };
889
+ calibrationReceiptRefs: {
890
+ id: string;
891
+ contentHash: string;
892
+ }[];
893
+ metadata: Record<string, unknown>;
894
+ contentHash: string;
895
+ };
896
+ javascript: {
897
+ schemaVersion: "openpond.javascriptEnvironment.v1";
898
+ id: string;
899
+ revision: number;
900
+ module: {
901
+ id: string;
902
+ path: string;
903
+ contentHash: string;
904
+ sizeBytes: number;
905
+ mediaType: string;
906
+ visibility: "policy" | "verifier" | "host_private";
907
+ };
908
+ tools: {
909
+ name: string;
910
+ description: string;
911
+ inputSchema: Record<string, unknown>;
912
+ inputSchemaHash: string;
913
+ sideEffect: "read" | "write";
914
+ timeoutMs: number;
915
+ }[];
916
+ maxSteps: number;
917
+ maxStateBytes: number;
918
+ maxObservationBytes: number;
919
+ operationTimeoutMs: number;
920
+ contentHash: string;
921
+ };
922
+ } | undefined;
628
923
  }>;
629
924
  }
630
925
  //# sourceMappingURL=model-starter-catalog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"model-starter-catalog.d.ts","sourceRoot":"","sources":["../../../../../src/model-starter-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAC;AAGrE,eAAO,MAAM,8BAA8B;;;kBAGhC,CAAC;AACZ,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG/B,CAAC;AACZ,eAAO,MAAM,8BAA8B;;;kBAAiG,CAAC;AAE7I,qBAAa,gCAAiC,SAAQ,KAAK;IAC7C,QAAQ,CAAC,MAAM,EAAE,MAAM;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM;gBAArC,MAAM,EAAE,MAAM,EAAW,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAC5E;AAED;+EAC+E;AAC/E,qBAAa,iCAAiC;;gBAEhC,OAAO,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,OAAO,UAAU,CAAC,KAAK,CAAA;KAAE;IAOnG,IAAI,CAAC,KAAK,GAAE,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAM,EAAE,OAAO,GAAE;QAAE,MAAM,CAAC,EAAE,WAAW,CAAA;KAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASvG,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiChH"}
@@ -0,0 +1,226 @@
1
+ import { z } from "zod";
2
+ import { type LearningTextAsset } from "@openpond/evals/learning";
3
+ import type { TasksetRelease } from "@openpond/evals/tasksets";
4
+ export declare const ModelStarterExecutionSchema: z.ZodObject<{
5
+ environment: z.ZodObject<{
6
+ schemaVersion: z.ZodLiteral<"openpond.environmentRelease.v1">;
7
+ id: z.ZodString;
8
+ revision: z.ZodNumber;
9
+ contract: z.ZodObject<{
10
+ protocolVersion: z.ZodLiteral<"openpond.environment.v1">;
11
+ kind: z.ZodEnum<{
12
+ text: "text";
13
+ agent: "agent";
14
+ work: "work";
15
+ custom_program: "custom_program";
16
+ }>;
17
+ entrypoint: z.ZodString;
18
+ stateful: z.ZodBoolean;
19
+ deterministicSeeds: z.ZodBoolean;
20
+ lifecycle: z.ZodArray<z.ZodEnum<{
21
+ create: "create";
22
+ reset: "reset";
23
+ step: "step";
24
+ collect: "collect";
25
+ destroy: "destroy";
26
+ }>>;
27
+ networkPolicy: z.ZodEnum<{
28
+ none: "none";
29
+ declared_read_only: "declared_read_only";
30
+ declared_scoped: "declared_scoped";
31
+ }>;
32
+ defaultTimeoutMs: z.ZodNumber;
33
+ }, z.core.$strict>;
34
+ actionSchemaRef: z.ZodNullable<z.ZodObject<{
35
+ id: z.ZodString;
36
+ path: z.ZodString;
37
+ contentHash: z.ZodString;
38
+ sizeBytes: z.ZodNumber;
39
+ mediaType: z.ZodString;
40
+ visibility: z.ZodEnum<{
41
+ policy: "policy";
42
+ verifier: "verifier";
43
+ host_private: "host_private";
44
+ }>;
45
+ }, z.core.$strict>>;
46
+ observationSchemaRef: z.ZodNullable<z.ZodObject<{
47
+ id: z.ZodString;
48
+ path: z.ZodString;
49
+ contentHash: z.ZodString;
50
+ sizeBytes: z.ZodNumber;
51
+ mediaType: z.ZodString;
52
+ visibility: z.ZodEnum<{
53
+ policy: "policy";
54
+ verifier: "verifier";
55
+ host_private: "host_private";
56
+ }>;
57
+ }, z.core.$strict>>;
58
+ stateSchemaRef: z.ZodNullable<z.ZodObject<{
59
+ id: z.ZodString;
60
+ path: z.ZodString;
61
+ contentHash: z.ZodString;
62
+ sizeBytes: z.ZodNumber;
63
+ mediaType: z.ZodString;
64
+ visibility: z.ZodEnum<{
65
+ policy: "policy";
66
+ verifier: "verifier";
67
+ host_private: "host_private";
68
+ }>;
69
+ }, z.core.$strict>>;
70
+ artifactCollection: z.ZodObject<{
71
+ maxArtifacts: z.ZodNumber;
72
+ maxTotalBytes: z.ZodNumber;
73
+ }, z.core.$strict>;
74
+ adapterConformanceHashes: z.ZodRecord<z.ZodString, z.ZodString>;
75
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
76
+ contentHash: z.ZodString;
77
+ }, z.core.$strict>;
78
+ verifierSet: z.ZodObject<{
79
+ schemaVersion: z.ZodLiteral<"openpond.verifierSetRelease.v1">;
80
+ id: z.ZodString;
81
+ revision: z.ZodNumber;
82
+ graders: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
83
+ id: z.ZodString;
84
+ version: z.ZodString;
85
+ weight: z.ZodDefault<z.ZodNumber>;
86
+ hardGate: z.ZodDefault<z.ZodBoolean>;
87
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
88
+ privileged: z.ZodDefault<z.ZodBoolean>;
89
+ kind: z.ZodEnum<{
90
+ content: "content";
91
+ schema: "schema";
92
+ artifact: "artifact";
93
+ runtime_event: "runtime_event";
94
+ state: "state";
95
+ }>;
96
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
97
+ }, z.core.$strict>, z.ZodObject<{
98
+ id: z.ZodString;
99
+ version: z.ZodString;
100
+ weight: z.ZodDefault<z.ZodNumber>;
101
+ hardGate: z.ZodDefault<z.ZodBoolean>;
102
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
103
+ privileged: z.ZodDefault<z.ZodBoolean>;
104
+ kind: z.ZodLiteral<"model_judge">;
105
+ rubricRef: z.ZodObject<{
106
+ id: z.ZodString;
107
+ path: z.ZodString;
108
+ contentHash: z.ZodString;
109
+ sizeBytes: z.ZodNumber;
110
+ mediaType: z.ZodString;
111
+ visibility: z.ZodEnum<{
112
+ policy: "policy";
113
+ verifier: "verifier";
114
+ host_private: "host_private";
115
+ }>;
116
+ }, z.core.$strict>;
117
+ calibrationStatus: z.ZodEnum<{
118
+ pending: "pending";
119
+ passed: "passed";
120
+ failed: "failed";
121
+ }>;
122
+ model: z.ZodOptional<z.ZodObject<{
123
+ providerId: z.ZodString;
124
+ modelId: z.ZodString;
125
+ revision: z.ZodNullable<z.ZodString>;
126
+ }, z.core.$strict>>;
127
+ temperature: z.ZodOptional<z.ZodNumber>;
128
+ }, z.core.$strict>, z.ZodObject<{
129
+ id: z.ZodString;
130
+ version: z.ZodString;
131
+ weight: z.ZodDefault<z.ZodNumber>;
132
+ hardGate: z.ZodDefault<z.ZodBoolean>;
133
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
134
+ privileged: z.ZodDefault<z.ZodBoolean>;
135
+ kind: z.ZodLiteral<"custom_verifier">;
136
+ verifierRef: z.ZodObject<{
137
+ id: z.ZodString;
138
+ path: z.ZodString;
139
+ contentHash: z.ZodString;
140
+ sizeBytes: z.ZodNumber;
141
+ mediaType: z.ZodString;
142
+ visibility: z.ZodEnum<{
143
+ policy: "policy";
144
+ verifier: "verifier";
145
+ host_private: "host_private";
146
+ }>;
147
+ }, z.core.$strict>;
148
+ exportName: z.ZodOptional<z.ZodString>;
149
+ timeoutMs: z.ZodNumber;
150
+ networkPolicy: z.ZodLiteral<"none">;
151
+ }, z.core.$strict>, z.ZodObject<{
152
+ id: z.ZodString;
153
+ version: z.ZodString;
154
+ weight: z.ZodDefault<z.ZodNumber>;
155
+ hardGate: z.ZodDefault<z.ZodBoolean>;
156
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
157
+ privileged: z.ZodDefault<z.ZodBoolean>;
158
+ kind: z.ZodLiteral<"human">;
159
+ rubricRef: z.ZodObject<{
160
+ id: z.ZodString;
161
+ path: z.ZodString;
162
+ contentHash: z.ZodString;
163
+ sizeBytes: z.ZodNumber;
164
+ mediaType: z.ZodString;
165
+ visibility: z.ZodEnum<{
166
+ policy: "policy";
167
+ verifier: "verifier";
168
+ host_private: "host_private";
169
+ }>;
170
+ }, z.core.$strict>;
171
+ reviewerRole: z.ZodString;
172
+ }, z.core.$strict>]>>;
173
+ isolation: z.ZodObject<{
174
+ processBoundary: z.ZodEnum<{
175
+ same_process: "same_process";
176
+ isolated_process: "isolated_process";
177
+ container: "container";
178
+ }>;
179
+ networkPolicy: z.ZodLiteral<"none">;
180
+ defaultTimeoutMs: z.ZodNumber;
181
+ }, z.core.$strict>;
182
+ calibrationReceiptRefs: z.ZodArray<z.ZodObject<{
183
+ id: z.ZodString;
184
+ contentHash: z.ZodString;
185
+ }, z.core.$strict>>;
186
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
187
+ contentHash: z.ZodString;
188
+ }, z.core.$strict>;
189
+ javascript: z.ZodObject<{
190
+ schemaVersion: z.ZodLiteral<"openpond.javascriptEnvironment.v1">;
191
+ id: z.ZodString;
192
+ revision: z.ZodNumber;
193
+ module: z.ZodObject<{
194
+ id: z.ZodString;
195
+ path: z.ZodString;
196
+ contentHash: z.ZodString;
197
+ sizeBytes: z.ZodNumber;
198
+ mediaType: z.ZodString;
199
+ visibility: z.ZodEnum<{
200
+ policy: "policy";
201
+ verifier: "verifier";
202
+ host_private: "host_private";
203
+ }>;
204
+ }, z.core.$strict>;
205
+ tools: z.ZodArray<z.ZodObject<{
206
+ name: z.ZodString;
207
+ description: z.ZodString;
208
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
209
+ inputSchemaHash: z.ZodString;
210
+ sideEffect: z.ZodEnum<{
211
+ read: "read";
212
+ write: "write";
213
+ }>;
214
+ timeoutMs: z.ZodNumber;
215
+ }, z.core.$strict>>;
216
+ maxSteps: z.ZodNumber;
217
+ maxStateBytes: z.ZodNumber;
218
+ maxObservationBytes: z.ZodNumber;
219
+ operationTimeoutMs: z.ZodNumber;
220
+ contentHash: z.ZodString;
221
+ }, z.core.$strict>;
222
+ }, z.core.$strict>;
223
+ export type ModelStarterExecution = z.infer<typeof ModelStarterExecutionSchema>;
224
+ /** Close executable dependencies before a host persists or runs a package. */
225
+ export declare function validateModelStarterExecution(execution: ModelStarterExecution | undefined, taskset: TasksetRelease, assets: LearningTextAsset[]): void;
226
+ //# sourceMappingURL=model-starter-execution.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-starter-execution.d.ts","sourceRoot":"","sources":["../../../../../src/model-starter-execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAA6D,KAAK,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7H,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE/D,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAI7B,CAAC;AACZ,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAMhF,8EAA8E;AAC9E,wBAAgB,6BAA6B,CAC3C,SAAS,EAAE,qBAAqB,GAAG,SAAS,EAC5C,OAAO,EAAE,cAAc,EACvB,MAAM,EAAE,iBAAiB,EAAE,GAC1B,IAAI,CAsCN"}