openpond-sdk 0.6.6 → 0.7.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/dist/{chunk-EJYSXE4V.js → chunk-32H2EJRA.js} +292 -456
- package/dist/chunk-32H2EJRA.js.map +7 -0
- package/dist/chunk-3HV3G6DG.js +95 -0
- package/dist/chunk-3HV3G6DG.js.map +7 -0
- package/dist/{chunk-FPOW5PU7.js → chunk-CGIMLZE5.js} +7 -7
- package/dist/chunk-DNBAJUVR.js +380 -0
- package/dist/chunk-DNBAJUVR.js.map +7 -0
- package/dist/{chunk-YGCHXNPI.js → chunk-DT7FRNIZ.js} +3 -94
- package/dist/{chunk-YGCHXNPI.js.map → chunk-DT7FRNIZ.js.map} +4 -4
- package/dist/{chunk-DNEPLQXN.js → chunk-KYCQ7LZ4.js} +5 -5
- package/dist/{chunk-TXQHWOFM.js → chunk-LGEF4S5I.js} +2 -2
- package/dist/chunk-QABCKPW6.js +171 -0
- package/dist/chunk-QABCKPW6.js.map +7 -0
- package/dist/{chunk-42YOB36J.js → chunk-WOPM32SE.js} +7 -7
- package/dist/{chunk-EAEYAU4R.js → chunk-Y4NGWGTA.js} +23 -2
- package/dist/{chunk-EAEYAU4R.js.map → chunk-Y4NGWGTA.js.map} +4 -4
- package/dist/dataset-workspaces.js +118 -0
- package/dist/dataset-workspaces.js.map +7 -0
- package/dist/index.js +20 -15
- package/dist/index.js.map +2 -2
- package/dist/learning.js +4 -4
- package/dist/model-starter-catalog.js +5 -5
- package/dist/model-starters.js +5 -5
- package/dist/model-taskset-runs.js +4 -4
- package/dist/taskset-drafts.js +10 -8
- package/dist/taskset-drafts.js.map +1 -1
- package/dist/taskset-packages.js +42 -364
- package/dist/taskset-packages.js.map +4 -4
- package/dist/training-bundle.js +10 -8
- package/dist/training-bundle.js.map +1 -1
- package/dist/training-projects.js +134 -0
- package/dist/training-projects.js.map +7 -0
- package/dist/training.js +3 -3
- package/dist/types/packages/cloud/src/hosted-chat.d.ts +1 -0
- package/dist/types/packages/cloud/src/hosted-chat.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/dataset-workspace-client.d.ts +1627 -0
- package/dist/types/packages/sdk/src/dataset-workspace-client.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/dataset-workspace-contracts.d.ts +1622 -0
- package/dist/types/packages/sdk/src/dataset-workspace-contracts.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/dataset-workspaces.d.ts +3 -0
- package/dist/types/packages/sdk/src/dataset-workspaces.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/managed-training-preparation.d.ts +2 -2
- package/dist/types/packages/sdk/src/model-batch-review-preparation.d.ts +3 -3
- package/dist/types/packages/sdk/src/model-batch-review.d.ts +7 -7
- package/dist/types/packages/sdk/src/model-learning-intent.d.ts +1 -1
- package/dist/types/packages/sdk/src/model-learning-policy.d.ts +1 -1
- package/dist/types/packages/sdk/src/model-projects.d.ts +122 -122
- package/dist/types/packages/sdk/src/model-starter-attempts.d.ts +17 -17
- package/dist/types/packages/sdk/src/model-starter-catalog.d.ts +23 -23
- package/dist/types/packages/sdk/src/model-starter-execution.d.ts +3 -3
- package/dist/types/packages/sdk/src/model-starters.d.ts +22 -22
- package/dist/types/packages/sdk/src/model-taskset-runs-contracts.d.ts +8 -8
- package/dist/types/packages/sdk/src/model-taskset-runs.d.ts +6 -6
- package/dist/types/packages/sdk/src/task-inventory.d.ts +3 -3
- package/dist/types/packages/sdk/src/taskset-authored-contracts.d.ts +51 -51
- package/dist/types/packages/sdk/src/taskset-authored-files.d.ts +30 -30
- package/dist/types/packages/sdk/src/taskset-draft-api-contracts.d.ts +86 -86
- package/dist/types/packages/sdk/src/taskset-draft-client.d.ts +183 -183
- package/dist/types/packages/sdk/src/taskset-draft-core.d.ts +42 -42
- package/dist/types/packages/sdk/src/taskset-draft-dataset-artifacts.d.ts +36 -36
- package/dist/types/packages/sdk/src/taskset-draft-dataset-sources.d.ts +34 -34
- package/dist/types/packages/sdk/src/taskset-draft-document.d.ts +43 -43
- package/dist/types/packages/sdk/src/taskset-draft-package-compiler.d.ts +1094 -48
- package/dist/types/packages/sdk/src/taskset-draft-package-compiler.d.ts.map +1 -1
- package/dist/types/packages/sdk/src/taskset-draft-source.d.ts +71 -71
- package/dist/types/packages/sdk/src/taskset-draft-workspace.d.ts +84 -84
- package/dist/types/packages/sdk/src/taskset-package-client.d.ts +671 -671
- package/dist/types/packages/sdk/src/taskset-package-contracts.d.ts +371 -371
- package/dist/types/packages/sdk/src/taskset-package-grader-projection.d.ts +1 -1
- package/dist/types/packages/sdk/src/taskset-package-learning.d.ts +5 -5
- package/dist/types/packages/sdk/src/taskset-package-projection.d.ts +87 -87
- package/dist/types/packages/sdk/src/training-evaluation-results.d.ts +1 -1
- package/dist/types/packages/sdk/src/training-learning-batch.d.ts +64 -64
- package/dist/types/packages/sdk/src/training-project-client.d.ts +401 -0
- package/dist/types/packages/sdk/src/training-project-client.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/training-project-contracts.d.ts +617 -0
- package/dist/types/packages/sdk/src/training-project-contracts.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/training-projects.d.ts +3 -0
- package/dist/types/packages/sdk/src/training-projects.d.ts.map +1 -0
- package/dist/types/packages/sdk/src/training.d.ts +24 -24
- package/package.json +11 -2
- package/dist/chunk-EJYSXE4V.js.map +0 -7
- /package/dist/{chunk-FPOW5PU7.js.map → chunk-CGIMLZE5.js.map} +0 -0
- /package/dist/{chunk-DNEPLQXN.js.map → chunk-KYCQ7LZ4.js.map} +0 -0
- /package/dist/{chunk-TXQHWOFM.js.map → chunk-LGEF4S5I.js.map} +0 -0
- /package/dist/{chunk-42YOB36J.js.map → chunk-WOPM32SE.js.map} +0 -0
|
@@ -101,11 +101,11 @@ export declare const ModelStarterAttemptSummarySchema: z.ZodObject<{
|
|
|
101
101
|
}, z.core.$strict>], "kind">;
|
|
102
102
|
}, z.core.$strict>;
|
|
103
103
|
status: z.ZodEnum<{
|
|
104
|
-
running: "running";
|
|
105
104
|
failed: "failed";
|
|
106
|
-
queued: "queued";
|
|
107
105
|
completed: "completed";
|
|
108
106
|
cancelled: "cancelled";
|
|
107
|
+
queued: "queued";
|
|
108
|
+
running: "running";
|
|
109
109
|
cancelling: "cancelling";
|
|
110
110
|
}>;
|
|
111
111
|
policySnapshot: z.ZodNullable<z.ZodObject<{
|
|
@@ -168,11 +168,11 @@ export declare const ModelStarterAttemptPageSchema: z.ZodObject<{
|
|
|
168
168
|
}, z.core.$strict>], "kind">;
|
|
169
169
|
}, z.core.$strict>;
|
|
170
170
|
status: z.ZodEnum<{
|
|
171
|
-
running: "running";
|
|
172
171
|
failed: "failed";
|
|
173
|
-
queued: "queued";
|
|
174
172
|
completed: "completed";
|
|
175
173
|
cancelled: "cancelled";
|
|
174
|
+
queued: "queued";
|
|
175
|
+
running: "running";
|
|
176
176
|
cancelling: "cancelling";
|
|
177
177
|
}>;
|
|
178
178
|
policySnapshot: z.ZodNullable<z.ZodObject<{
|
|
@@ -232,11 +232,11 @@ export declare const ModelStarterAttemptResultSchema: z.ZodObject<{
|
|
|
232
232
|
}, z.core.$strict>], "kind">;
|
|
233
233
|
}, z.core.$strict>;
|
|
234
234
|
status: z.ZodEnum<{
|
|
235
|
-
running: "running";
|
|
236
235
|
failed: "failed";
|
|
237
|
-
queued: "queued";
|
|
238
236
|
completed: "completed";
|
|
239
237
|
cancelled: "cancelled";
|
|
238
|
+
queued: "queued";
|
|
239
|
+
running: "running";
|
|
240
240
|
cancelling: "cancelling";
|
|
241
241
|
}>;
|
|
242
242
|
policySnapshot: z.ZodNullable<z.ZodObject<{
|
|
@@ -408,11 +408,11 @@ export declare const ModelStarterAttemptResultSchema: z.ZodObject<{
|
|
|
408
408
|
environment: z.ZodObject<{
|
|
409
409
|
status: z.ZodEnum<{
|
|
410
410
|
completed: "completed";
|
|
411
|
+
budget_exhausted: "budget_exhausted";
|
|
411
412
|
cancelled: "cancelled";
|
|
413
|
+
timed_out: "timed_out";
|
|
412
414
|
policy_failure: "policy_failure";
|
|
413
415
|
environment_failure: "environment_failure";
|
|
414
|
-
budget_exhausted: "budget_exhausted";
|
|
415
|
-
timed_out: "timed_out";
|
|
416
416
|
}>;
|
|
417
417
|
collected: z.ZodBoolean;
|
|
418
418
|
definition: z.ZodObject<{
|
|
@@ -470,7 +470,7 @@ export declare class OpenPondModelStarterAttemptsClient {
|
|
|
470
470
|
fixtureId: string;
|
|
471
471
|
};
|
|
472
472
|
};
|
|
473
|
-
status: "
|
|
473
|
+
status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
|
|
474
474
|
policySnapshot: {
|
|
475
475
|
modelId: string;
|
|
476
476
|
provider: string;
|
|
@@ -520,7 +520,7 @@ export declare class OpenPondModelStarterAttemptsClient {
|
|
|
520
520
|
fixtureId: string;
|
|
521
521
|
};
|
|
522
522
|
};
|
|
523
|
-
status: "
|
|
523
|
+
status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
|
|
524
524
|
policySnapshot: {
|
|
525
525
|
modelId: string;
|
|
526
526
|
provider: string;
|
|
@@ -596,7 +596,7 @@ export declare class OpenPondModelStarterAttemptsClient {
|
|
|
596
596
|
fixtureId: string;
|
|
597
597
|
};
|
|
598
598
|
};
|
|
599
|
-
status: "
|
|
599
|
+
status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
|
|
600
600
|
policySnapshot: {
|
|
601
601
|
modelId: string;
|
|
602
602
|
provider: string;
|
|
@@ -648,7 +648,7 @@ export declare class OpenPondModelStarterAttemptsClient {
|
|
|
648
648
|
fixtureId: string;
|
|
649
649
|
};
|
|
650
650
|
};
|
|
651
|
-
status: "
|
|
651
|
+
status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
|
|
652
652
|
policySnapshot: {
|
|
653
653
|
modelId: string;
|
|
654
654
|
provider: string;
|
|
@@ -701,7 +701,7 @@ export declare class OpenPondModelStarterAttemptsClient {
|
|
|
701
701
|
score: number | null;
|
|
702
702
|
passed: boolean;
|
|
703
703
|
rewardEligible: boolean;
|
|
704
|
-
failureClass: "
|
|
704
|
+
failureClass: "infrastructure_failure" | "cancelled" | "policy_failure" | "environment_failure" | "grader_failure" | "timeout" | null;
|
|
705
705
|
feedback: string[];
|
|
706
706
|
visibleEvidenceRefs: string[];
|
|
707
707
|
privilegedEvidenceRefs: string[];
|
|
@@ -733,7 +733,7 @@ export declare class OpenPondModelStarterAttemptsClient {
|
|
|
733
733
|
contentHash: string;
|
|
734
734
|
} | null;
|
|
735
735
|
environment: {
|
|
736
|
-
status: "completed" | "
|
|
736
|
+
status: "completed" | "budget_exhausted" | "cancelled" | "timed_out" | "policy_failure" | "environment_failure";
|
|
737
737
|
collected: boolean;
|
|
738
738
|
definition: {
|
|
739
739
|
id: string;
|
|
@@ -750,7 +750,7 @@ export declare class OpenPondModelStarterAttemptsClient {
|
|
|
750
750
|
score: number | null;
|
|
751
751
|
passed: boolean;
|
|
752
752
|
rewardEligible: boolean;
|
|
753
|
-
failureClass: "
|
|
753
|
+
failureClass: "infrastructure_failure" | "cancelled" | "policy_failure" | "environment_failure" | "grader_failure" | "timeout" | null;
|
|
754
754
|
gradingStatus: "unscorable" | "scored" | "not_configured";
|
|
755
755
|
schemaVersion: "openpond.taskGrade.v1";
|
|
756
756
|
taskHash: string;
|
|
@@ -763,7 +763,7 @@ export declare class OpenPondModelStarterAttemptsClient {
|
|
|
763
763
|
score: number | null;
|
|
764
764
|
passed: boolean;
|
|
765
765
|
rewardEligible: boolean;
|
|
766
|
-
failureClass: "
|
|
766
|
+
failureClass: "infrastructure_failure" | "cancelled" | "policy_failure" | "environment_failure" | "grader_failure" | "timeout" | null;
|
|
767
767
|
feedback: string[];
|
|
768
768
|
visibleEvidenceRefs: string[];
|
|
769
769
|
privilegedEvidenceRefs: string[];
|
|
@@ -814,7 +814,7 @@ export declare class OpenPondModelStarterAttemptsClient {
|
|
|
814
814
|
fixtureId: string;
|
|
815
815
|
};
|
|
816
816
|
};
|
|
817
|
-
status: "
|
|
817
|
+
status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
|
|
818
818
|
policySnapshot: {
|
|
819
819
|
modelId: string;
|
|
820
820
|
provider: string;
|
|
@@ -54,8 +54,8 @@ export declare const ModelStarterCatalogItemSchema: z.ZodObject<{
|
|
|
54
54
|
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
55
55
|
source: z.ZodEnum<{
|
|
56
56
|
local: "local";
|
|
57
|
-
managed: "managed";
|
|
58
57
|
builtin: "builtin";
|
|
58
|
+
managed: "managed";
|
|
59
59
|
}>;
|
|
60
60
|
}, z.core.$strict>;
|
|
61
61
|
supportedMethods: z.ZodArray<z.ZodEnum<{
|
|
@@ -110,13 +110,13 @@ export declare const ModelStarterCatalogItemSchema: z.ZodObject<{
|
|
|
110
110
|
name: z.ZodString;
|
|
111
111
|
kind: z.ZodEnum<{
|
|
112
112
|
content: "content";
|
|
113
|
-
state: "state";
|
|
114
113
|
schema: "schema";
|
|
115
|
-
artifact: "artifact";
|
|
116
|
-
runtime_event: "runtime_event";
|
|
117
114
|
model_judge: "model_judge";
|
|
118
|
-
custom_verifier: "custom_verifier";
|
|
119
115
|
human: "human";
|
|
116
|
+
runtime_event: "runtime_event";
|
|
117
|
+
state: "state";
|
|
118
|
+
custom_verifier: "custom_verifier";
|
|
119
|
+
artifact: "artifact";
|
|
120
120
|
learned_model: "learned_model";
|
|
121
121
|
}>;
|
|
122
122
|
}, z.core.$strict>>>;
|
|
@@ -173,8 +173,8 @@ export declare const ModelStarterCatalogPageSchema: z.ZodObject<{
|
|
|
173
173
|
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
174
174
|
source: z.ZodEnum<{
|
|
175
175
|
local: "local";
|
|
176
|
-
managed: "managed";
|
|
177
176
|
builtin: "builtin";
|
|
177
|
+
managed: "managed";
|
|
178
178
|
}>;
|
|
179
179
|
}, z.core.$strict>;
|
|
180
180
|
supportedMethods: z.ZodArray<z.ZodEnum<{
|
|
@@ -229,13 +229,13 @@ export declare const ModelStarterCatalogPageSchema: z.ZodObject<{
|
|
|
229
229
|
name: z.ZodString;
|
|
230
230
|
kind: z.ZodEnum<{
|
|
231
231
|
content: "content";
|
|
232
|
-
state: "state";
|
|
233
232
|
schema: "schema";
|
|
234
|
-
artifact: "artifact";
|
|
235
|
-
runtime_event: "runtime_event";
|
|
236
233
|
model_judge: "model_judge";
|
|
237
|
-
custom_verifier: "custom_verifier";
|
|
238
234
|
human: "human";
|
|
235
|
+
runtime_event: "runtime_event";
|
|
236
|
+
state: "state";
|
|
237
|
+
custom_verifier: "custom_verifier";
|
|
238
|
+
artifact: "artifact";
|
|
239
239
|
learned_model: "learned_model";
|
|
240
240
|
}>;
|
|
241
241
|
}, z.core.$strict>>>;
|
|
@@ -304,7 +304,7 @@ export declare class OpenPondModelStarterCatalogClient {
|
|
|
304
304
|
tokenizerRevision: string | null;
|
|
305
305
|
chatTemplateHash: string | null;
|
|
306
306
|
modelAssetId: string | null;
|
|
307
|
-
source: "local" | "
|
|
307
|
+
source: "local" | "builtin" | "managed";
|
|
308
308
|
};
|
|
309
309
|
supportedMethods: ("sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[];
|
|
310
310
|
defaultMethod: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo";
|
|
@@ -338,7 +338,7 @@ export declare class OpenPondModelStarterCatalogClient {
|
|
|
338
338
|
contentHash: string;
|
|
339
339
|
rewardSummary?: {
|
|
340
340
|
name: string;
|
|
341
|
-
kind: "content" | "
|
|
341
|
+
kind: "content" | "schema" | "model_judge" | "human" | "runtime_event" | "state" | "custom_verifier" | "artifact" | "learned_model";
|
|
342
342
|
}[] | undefined;
|
|
343
343
|
}[];
|
|
344
344
|
nextCursor: string | null;
|
|
@@ -386,7 +386,7 @@ export declare class OpenPondModelStarterCatalogClient {
|
|
|
386
386
|
tokenizerRevision: string | null;
|
|
387
387
|
chatTemplateHash: string | null;
|
|
388
388
|
modelAssetId: string | null;
|
|
389
|
-
source: "local" | "
|
|
389
|
+
source: "local" | "builtin" | "managed";
|
|
390
390
|
};
|
|
391
391
|
supportedMethods: ("sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[];
|
|
392
392
|
defaultMethod: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo";
|
|
@@ -431,7 +431,7 @@ export declare class OpenPondModelStarterCatalogClient {
|
|
|
431
431
|
};
|
|
432
432
|
environment: {
|
|
433
433
|
protocolVersion: "openpond.environment.v1";
|
|
434
|
-
kind: "
|
|
434
|
+
kind: "agent" | "work" | "custom_program" | "text";
|
|
435
435
|
entrypoint: string;
|
|
436
436
|
stateful: boolean;
|
|
437
437
|
deterministicSeeds: boolean;
|
|
@@ -492,7 +492,7 @@ export declare class OpenPondModelStarterCatalogClient {
|
|
|
492
492
|
hardGate: boolean;
|
|
493
493
|
rewardEligible: boolean;
|
|
494
494
|
privileged: boolean;
|
|
495
|
-
kind: "content" | "
|
|
495
|
+
kind: "content" | "schema" | "runtime_event" | "state" | "artifact";
|
|
496
496
|
config: Record<string, unknown>;
|
|
497
497
|
} | {
|
|
498
498
|
id: string;
|
|
@@ -609,7 +609,7 @@ export declare class OpenPondModelStarterCatalogClient {
|
|
|
609
609
|
};
|
|
610
610
|
environment: {
|
|
611
611
|
protocolVersion: "openpond.environment.v1";
|
|
612
|
-
kind: "
|
|
612
|
+
kind: "agent" | "work" | "custom_program" | "text";
|
|
613
613
|
entrypoint: string;
|
|
614
614
|
stateful: boolean;
|
|
615
615
|
deterministicSeeds: boolean;
|
|
@@ -704,7 +704,7 @@ export declare class OpenPondModelStarterCatalogClient {
|
|
|
704
704
|
name: string;
|
|
705
705
|
description: string;
|
|
706
706
|
implementation: {
|
|
707
|
-
kind: "content" | "
|
|
707
|
+
kind: "content" | "schema" | "runtime_event" | "state" | "artifact";
|
|
708
708
|
config: Record<string, unknown>;
|
|
709
709
|
} | {
|
|
710
710
|
kind: "model_judge";
|
|
@@ -812,7 +812,7 @@ export declare class OpenPondModelStarterCatalogClient {
|
|
|
812
812
|
revision: number;
|
|
813
813
|
contract: {
|
|
814
814
|
protocolVersion: "openpond.environment.v1";
|
|
815
|
-
kind: "
|
|
815
|
+
kind: "agent" | "work" | "custom_program" | "text";
|
|
816
816
|
entrypoint: string;
|
|
817
817
|
stateful: boolean;
|
|
818
818
|
deterministicSeeds: boolean;
|
|
@@ -863,7 +863,7 @@ export declare class OpenPondModelStarterCatalogClient {
|
|
|
863
863
|
hardGate: boolean;
|
|
864
864
|
rewardEligible: boolean;
|
|
865
865
|
privileged: boolean;
|
|
866
|
-
kind: "content" | "
|
|
866
|
+
kind: "content" | "schema" | "runtime_event" | "state" | "artifact";
|
|
867
867
|
config: Record<string, unknown>;
|
|
868
868
|
} | {
|
|
869
869
|
id: string;
|
|
@@ -966,11 +966,11 @@ export declare class OpenPondModelStarterCatalogClient {
|
|
|
966
966
|
executionServices?: ({
|
|
967
967
|
kind: "sqlite.v1";
|
|
968
968
|
sql: {
|
|
969
|
-
scope: "input" | "
|
|
969
|
+
scope: "input" | "state" | "arguments" | "initialState";
|
|
970
970
|
path: string[];
|
|
971
971
|
};
|
|
972
972
|
snapshot: {
|
|
973
|
-
scope: "input" | "
|
|
973
|
+
scope: "input" | "state" | "arguments" | "initialState";
|
|
974
974
|
path: string[];
|
|
975
975
|
};
|
|
976
976
|
maxRows: number;
|
|
@@ -982,11 +982,11 @@ export declare class OpenPondModelStarterCatalogClient {
|
|
|
982
982
|
} | {
|
|
983
983
|
kind: "javascript.v1";
|
|
984
984
|
source: {
|
|
985
|
-
scope: "input" | "
|
|
985
|
+
scope: "input" | "state" | "arguments" | "initialState";
|
|
986
986
|
path: string[];
|
|
987
987
|
};
|
|
988
988
|
cases: {
|
|
989
|
-
scope: "input" | "
|
|
989
|
+
scope: "input" | "state" | "arguments" | "initialState";
|
|
990
990
|
path: string[];
|
|
991
991
|
};
|
|
992
992
|
exportName: string;
|
|
@@ -7,11 +7,11 @@ export declare const ModelStarterEnvironmentAttemptSchema: z.ZodObject<{
|
|
|
7
7
|
taskId: z.ZodString;
|
|
8
8
|
status: z.ZodEnum<{
|
|
9
9
|
completed: "completed";
|
|
10
|
+
budget_exhausted: "budget_exhausted";
|
|
10
11
|
cancelled: "cancelled";
|
|
12
|
+
timed_out: "timed_out";
|
|
11
13
|
policy_failure: "policy_failure";
|
|
12
14
|
environment_failure: "environment_failure";
|
|
13
|
-
budget_exhausted: "budget_exhausted";
|
|
14
|
-
timed_out: "timed_out";
|
|
15
15
|
}>;
|
|
16
16
|
output: z.ZodNullable<z.ZodString>;
|
|
17
17
|
collected: z.ZodBoolean;
|
|
@@ -43,7 +43,7 @@ export declare function verifyModelStarterEnvironmentAttempt(value: unknown, con
|
|
|
43
43
|
}): {
|
|
44
44
|
schemaVersion: "openpond.javascriptEnvironmentAttempt.v1";
|
|
45
45
|
taskId: string;
|
|
46
|
-
status: "completed" | "
|
|
46
|
+
status: "completed" | "budget_exhausted" | "cancelled" | "timed_out" | "policy_failure" | "environment_failure";
|
|
47
47
|
output: string | null;
|
|
48
48
|
collected: boolean;
|
|
49
49
|
environmentCleanupComplete: boolean;
|
|
@@ -54,8 +54,8 @@ export declare const ModelStarterContentSchema: z.ZodObject<{
|
|
|
54
54
|
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
55
55
|
source: z.ZodEnum<{
|
|
56
56
|
local: "local";
|
|
57
|
-
managed: "managed";
|
|
58
57
|
builtin: "builtin";
|
|
58
|
+
managed: "managed";
|
|
59
59
|
}>;
|
|
60
60
|
}, z.core.$strict>;
|
|
61
61
|
supportedMethods: z.ZodArray<z.ZodEnum<{
|
|
@@ -156,8 +156,8 @@ export declare const ModelStarterSchema: z.ZodObject<{
|
|
|
156
156
|
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
157
157
|
source: z.ZodEnum<{
|
|
158
158
|
local: "local";
|
|
159
|
-
managed: "managed";
|
|
160
159
|
builtin: "builtin";
|
|
160
|
+
managed: "managed";
|
|
161
161
|
}>;
|
|
162
162
|
}, z.core.$strict>;
|
|
163
163
|
supportedMethods: z.ZodArray<z.ZodEnum<{
|
|
@@ -263,8 +263,8 @@ export declare const ResolvedModelStarterSchema: z.ZodObject<{
|
|
|
263
263
|
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
264
264
|
source: z.ZodEnum<{
|
|
265
265
|
local: "local";
|
|
266
|
-
managed: "managed";
|
|
267
266
|
builtin: "builtin";
|
|
267
|
+
managed: "managed";
|
|
268
268
|
}>;
|
|
269
269
|
}, z.core.$strict>;
|
|
270
270
|
supportedMethods: z.ZodArray<z.ZodEnum<{
|
|
@@ -1167,8 +1167,8 @@ export declare const ModelStarterCreationIntentSchema: z.ZodObject<{
|
|
|
1167
1167
|
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
1168
1168
|
source: z.ZodEnum<{
|
|
1169
1169
|
local: "local";
|
|
1170
|
-
managed: "managed";
|
|
1171
1170
|
builtin: "builtin";
|
|
1171
|
+
managed: "managed";
|
|
1172
1172
|
}>;
|
|
1173
1173
|
}, z.core.$strict>;
|
|
1174
1174
|
method: z.ZodEnum<{
|
|
@@ -1190,8 +1190,8 @@ export declare const ModelStarterCreationIntentSchema: z.ZodObject<{
|
|
|
1190
1190
|
localTime: z.ZodString;
|
|
1191
1191
|
timeZone: z.ZodString;
|
|
1192
1192
|
mode: z.ZodEnum<{
|
|
1193
|
-
approved_count: "approved_count";
|
|
1194
1193
|
nightly: "nightly";
|
|
1194
|
+
approved_count: "approved_count";
|
|
1195
1195
|
}>;
|
|
1196
1196
|
minimumTasks: z.ZodNumber;
|
|
1197
1197
|
maximumSpendUsd: z.ZodNumber;
|
|
@@ -1216,8 +1216,8 @@ export declare const ModelStarterCreationRequestSchema: z.ZodObject<{
|
|
|
1216
1216
|
modelAssetId: z.ZodNullable<z.ZodString>;
|
|
1217
1217
|
source: z.ZodEnum<{
|
|
1218
1218
|
local: "local";
|
|
1219
|
-
managed: "managed";
|
|
1220
1219
|
builtin: "builtin";
|
|
1220
|
+
managed: "managed";
|
|
1221
1221
|
}>;
|
|
1222
1222
|
}, z.core.$strict>;
|
|
1223
1223
|
method: z.ZodEnum<{
|
|
@@ -1239,8 +1239,8 @@ export declare const ModelStarterCreationRequestSchema: z.ZodObject<{
|
|
|
1239
1239
|
localTime: z.ZodString;
|
|
1240
1240
|
timeZone: z.ZodString;
|
|
1241
1241
|
mode: z.ZodEnum<{
|
|
1242
|
-
approved_count: "approved_count";
|
|
1243
1242
|
nightly: "nightly";
|
|
1243
|
+
approved_count: "approved_count";
|
|
1244
1244
|
}>;
|
|
1245
1245
|
minimumTasks: z.ZodNumber;
|
|
1246
1246
|
maximumSpendUsd: z.ZodNumber;
|
|
@@ -1274,7 +1274,7 @@ export declare function validateModelStarterCreation(value: unknown, packageValu
|
|
|
1274
1274
|
tokenizerRevision: string | null;
|
|
1275
1275
|
chatTemplateHash: string | null;
|
|
1276
1276
|
modelAssetId: string | null;
|
|
1277
|
-
source: "local" | "
|
|
1277
|
+
source: "local" | "builtin" | "managed";
|
|
1278
1278
|
};
|
|
1279
1279
|
method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo";
|
|
1280
1280
|
schemaVersion: "openpond.modelStarterCreation.v1";
|
|
@@ -1287,7 +1287,7 @@ export declare function validateModelStarterCreation(value: unknown, packageValu
|
|
|
1287
1287
|
learning?: {
|
|
1288
1288
|
localTime: string;
|
|
1289
1289
|
timeZone: string;
|
|
1290
|
-
mode: "
|
|
1290
|
+
mode: "nightly" | "approved_count";
|
|
1291
1291
|
minimumTasks: number;
|
|
1292
1292
|
maximumSpendUsd: number;
|
|
1293
1293
|
maximumDailySpendUsd: number;
|
|
@@ -1334,7 +1334,7 @@ export declare function validateModelStarterCreation(value: unknown, packageValu
|
|
|
1334
1334
|
tokenizerRevision: string | null;
|
|
1335
1335
|
chatTemplateHash: string | null;
|
|
1336
1336
|
modelAssetId: string | null;
|
|
1337
|
-
source: "local" | "
|
|
1337
|
+
source: "local" | "builtin" | "managed";
|
|
1338
1338
|
};
|
|
1339
1339
|
supportedMethods: ("sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[];
|
|
1340
1340
|
defaultMethod: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo";
|
|
@@ -1379,7 +1379,7 @@ export declare function validateModelStarterCreation(value: unknown, packageValu
|
|
|
1379
1379
|
};
|
|
1380
1380
|
environment: {
|
|
1381
1381
|
protocolVersion: "openpond.environment.v1";
|
|
1382
|
-
kind: "
|
|
1382
|
+
kind: "agent" | "work" | "custom_program" | "text";
|
|
1383
1383
|
entrypoint: string;
|
|
1384
1384
|
stateful: boolean;
|
|
1385
1385
|
deterministicSeeds: boolean;
|
|
@@ -1440,7 +1440,7 @@ export declare function validateModelStarterCreation(value: unknown, packageValu
|
|
|
1440
1440
|
hardGate: boolean;
|
|
1441
1441
|
rewardEligible: boolean;
|
|
1442
1442
|
privileged: boolean;
|
|
1443
|
-
kind: "content" | "
|
|
1443
|
+
kind: "content" | "schema" | "runtime_event" | "state" | "artifact";
|
|
1444
1444
|
config: Record<string, unknown>;
|
|
1445
1445
|
} | {
|
|
1446
1446
|
id: string;
|
|
@@ -1557,7 +1557,7 @@ export declare function validateModelStarterCreation(value: unknown, packageValu
|
|
|
1557
1557
|
};
|
|
1558
1558
|
environment: {
|
|
1559
1559
|
protocolVersion: "openpond.environment.v1";
|
|
1560
|
-
kind: "
|
|
1560
|
+
kind: "agent" | "work" | "custom_program" | "text";
|
|
1561
1561
|
entrypoint: string;
|
|
1562
1562
|
stateful: boolean;
|
|
1563
1563
|
deterministicSeeds: boolean;
|
|
@@ -1652,7 +1652,7 @@ export declare function validateModelStarterCreation(value: unknown, packageValu
|
|
|
1652
1652
|
name: string;
|
|
1653
1653
|
description: string;
|
|
1654
1654
|
implementation: {
|
|
1655
|
-
kind: "content" | "
|
|
1655
|
+
kind: "content" | "schema" | "runtime_event" | "state" | "artifact";
|
|
1656
1656
|
config: Record<string, unknown>;
|
|
1657
1657
|
} | {
|
|
1658
1658
|
kind: "model_judge";
|
|
@@ -1760,7 +1760,7 @@ export declare function validateModelStarterCreation(value: unknown, packageValu
|
|
|
1760
1760
|
revision: number;
|
|
1761
1761
|
contract: {
|
|
1762
1762
|
protocolVersion: "openpond.environment.v1";
|
|
1763
|
-
kind: "
|
|
1763
|
+
kind: "agent" | "work" | "custom_program" | "text";
|
|
1764
1764
|
entrypoint: string;
|
|
1765
1765
|
stateful: boolean;
|
|
1766
1766
|
deterministicSeeds: boolean;
|
|
@@ -1811,7 +1811,7 @@ export declare function validateModelStarterCreation(value: unknown, packageValu
|
|
|
1811
1811
|
hardGate: boolean;
|
|
1812
1812
|
rewardEligible: boolean;
|
|
1813
1813
|
privileged: boolean;
|
|
1814
|
-
kind: "content" | "
|
|
1814
|
+
kind: "content" | "schema" | "runtime_event" | "state" | "artifact";
|
|
1815
1815
|
config: Record<string, unknown>;
|
|
1816
1816
|
} | {
|
|
1817
1817
|
id: string;
|
|
@@ -1914,11 +1914,11 @@ export declare function validateModelStarterCreation(value: unknown, packageValu
|
|
|
1914
1914
|
executionServices?: ({
|
|
1915
1915
|
kind: "sqlite.v1";
|
|
1916
1916
|
sql: {
|
|
1917
|
-
scope: "input" | "
|
|
1917
|
+
scope: "input" | "state" | "arguments" | "initialState";
|
|
1918
1918
|
path: string[];
|
|
1919
1919
|
};
|
|
1920
1920
|
snapshot: {
|
|
1921
|
-
scope: "input" | "
|
|
1921
|
+
scope: "input" | "state" | "arguments" | "initialState";
|
|
1922
1922
|
path: string[];
|
|
1923
1923
|
};
|
|
1924
1924
|
maxRows: number;
|
|
@@ -1930,11 +1930,11 @@ export declare function validateModelStarterCreation(value: unknown, packageValu
|
|
|
1930
1930
|
} | {
|
|
1931
1931
|
kind: "javascript.v1";
|
|
1932
1932
|
source: {
|
|
1933
|
-
scope: "input" | "
|
|
1933
|
+
scope: "input" | "state" | "arguments" | "initialState";
|
|
1934
1934
|
path: string[];
|
|
1935
1935
|
};
|
|
1936
1936
|
cases: {
|
|
1937
|
-
scope: "input" | "
|
|
1937
|
+
scope: "input" | "state" | "arguments" | "initialState";
|
|
1938
1938
|
path: string[];
|
|
1939
1939
|
};
|
|
1940
1940
|
exportName: string;
|
|
@@ -1992,7 +1992,7 @@ export declare function previewModelStarter(value: unknown): {
|
|
|
1992
1992
|
tokenizerRevision: string | null;
|
|
1993
1993
|
chatTemplateHash: string | null;
|
|
1994
1994
|
modelAssetId: string | null;
|
|
1995
|
-
source: "local" | "
|
|
1995
|
+
source: "local" | "builtin" | "managed";
|
|
1996
1996
|
};
|
|
1997
1997
|
supportedMethods: ("sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[];
|
|
1998
1998
|
defaultMethod: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo";
|
|
@@ -2033,7 +2033,7 @@ export declare function previewModelStarter(value: unknown): {
|
|
|
2033
2033
|
checks: {
|
|
2034
2034
|
name: string;
|
|
2035
2035
|
description: string;
|
|
2036
|
-
kind: "content" | "
|
|
2036
|
+
kind: "content" | "schema" | "model_judge" | "human" | "runtime_event" | "state" | "custom_verifier" | "artifact" | "learned_model";
|
|
2037
2037
|
role: "evaluation" | "training";
|
|
2038
2038
|
weight: number;
|
|
2039
2039
|
required: boolean;
|
|
@@ -53,11 +53,11 @@ export declare const ModelTasksetRunSummarySchema: z.ZodObject<{
|
|
|
53
53
|
}>;
|
|
54
54
|
manifestHash: z.ZodString;
|
|
55
55
|
status: z.ZodEnum<{
|
|
56
|
-
running: "running";
|
|
57
56
|
failed: "failed";
|
|
58
|
-
queued: "queued";
|
|
59
57
|
completed: "completed";
|
|
60
58
|
cancelled: "cancelled";
|
|
59
|
+
queued: "queued";
|
|
60
|
+
running: "running";
|
|
61
61
|
cancelling: "cancelling";
|
|
62
62
|
}>;
|
|
63
63
|
totalCount: z.ZodNumber;
|
|
@@ -100,11 +100,11 @@ export declare const ModelTasksetRunDetailsSchema: z.ZodObject<{
|
|
|
100
100
|
}>;
|
|
101
101
|
manifestHash: z.ZodString;
|
|
102
102
|
status: z.ZodEnum<{
|
|
103
|
-
running: "running";
|
|
104
103
|
failed: "failed";
|
|
105
|
-
queued: "queued";
|
|
106
104
|
completed: "completed";
|
|
107
105
|
cancelled: "cancelled";
|
|
106
|
+
queued: "queued";
|
|
107
|
+
running: "running";
|
|
108
108
|
cancelling: "cancelling";
|
|
109
109
|
}>;
|
|
110
110
|
totalCount: z.ZodNumber;
|
|
@@ -299,11 +299,11 @@ export declare const ModelTasksetRunPageSchema: z.ZodObject<{
|
|
|
299
299
|
}>;
|
|
300
300
|
manifestHash: z.ZodString;
|
|
301
301
|
status: z.ZodEnum<{
|
|
302
|
-
running: "running";
|
|
303
302
|
failed: "failed";
|
|
304
|
-
queued: "queued";
|
|
305
303
|
completed: "completed";
|
|
306
304
|
cancelled: "cancelled";
|
|
305
|
+
queued: "queued";
|
|
306
|
+
running: "running";
|
|
307
307
|
cancelling: "cancelling";
|
|
308
308
|
}>;
|
|
309
309
|
totalCount: z.ZodNumber;
|
|
@@ -349,11 +349,11 @@ export declare const ModelTasksetRunResultSchema: z.ZodObject<{
|
|
|
349
349
|
}>;
|
|
350
350
|
manifestHash: z.ZodString;
|
|
351
351
|
status: z.ZodEnum<{
|
|
352
|
-
running: "running";
|
|
353
352
|
failed: "failed";
|
|
354
|
-
queued: "queued";
|
|
355
353
|
completed: "completed";
|
|
356
354
|
cancelled: "cancelled";
|
|
355
|
+
queued: "queued";
|
|
356
|
+
running: "running";
|
|
357
357
|
cancelling: "cancelling";
|
|
358
358
|
}>;
|
|
359
359
|
totalCount: z.ZodNumber;
|
|
@@ -31,7 +31,7 @@ export declare class OpenPondModelTasksetRunsClient {
|
|
|
31
31
|
};
|
|
32
32
|
policyKind: "fixture" | "hosted_chat";
|
|
33
33
|
manifestHash: string;
|
|
34
|
-
status: "
|
|
34
|
+
status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
|
|
35
35
|
totalCount: number;
|
|
36
36
|
counts: {
|
|
37
37
|
pending: number;
|
|
@@ -203,7 +203,7 @@ export declare class OpenPondModelTasksetRunsClient {
|
|
|
203
203
|
};
|
|
204
204
|
policyKind: "fixture" | "hosted_chat";
|
|
205
205
|
manifestHash: string;
|
|
206
|
-
status: "
|
|
206
|
+
status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
|
|
207
207
|
totalCount: number;
|
|
208
208
|
counts: {
|
|
209
209
|
pending: number;
|
|
@@ -375,7 +375,7 @@ export declare class OpenPondModelTasksetRunsClient {
|
|
|
375
375
|
};
|
|
376
376
|
policyKind: "fixture" | "hosted_chat";
|
|
377
377
|
manifestHash: string;
|
|
378
|
-
status: "
|
|
378
|
+
status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
|
|
379
379
|
totalCount: number;
|
|
380
380
|
counts: {
|
|
381
381
|
pending: number;
|
|
@@ -549,7 +549,7 @@ export declare class OpenPondModelTasksetRunsClient {
|
|
|
549
549
|
};
|
|
550
550
|
policyKind: "fixture" | "hosted_chat";
|
|
551
551
|
manifestHash: string;
|
|
552
|
-
status: "
|
|
552
|
+
status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
|
|
553
553
|
totalCount: number;
|
|
554
554
|
counts: {
|
|
555
555
|
pending: number;
|
|
@@ -714,7 +714,7 @@ export declare class OpenPondModelTasksetRunsClient {
|
|
|
714
714
|
taskId: string;
|
|
715
715
|
seed: string;
|
|
716
716
|
terminal: boolean;
|
|
717
|
-
failureClass: "
|
|
717
|
+
failureClass: "infrastructure_failure" | "cancelled" | "policy_failure" | "environment_failure" | "grader_failure" | "timeout" | null;
|
|
718
718
|
outputHash: string | null;
|
|
719
719
|
traceHash: string;
|
|
720
720
|
artifactRefs: {
|
|
@@ -791,7 +791,7 @@ export declare class OpenPondModelTasksetRunsClient {
|
|
|
791
791
|
};
|
|
792
792
|
policyKind: "fixture" | "hosted_chat";
|
|
793
793
|
manifestHash: string;
|
|
794
|
-
status: "
|
|
794
|
+
status: "failed" | "completed" | "cancelled" | "queued" | "running" | "cancelling";
|
|
795
795
|
totalCount: number;
|
|
796
796
|
counts: {
|
|
797
797
|
pending: number;
|
|
@@ -18,9 +18,9 @@ export declare const TaskInventoryQuerySchema: z.ZodObject<{
|
|
|
18
18
|
export declare const TaskScoringSummarySchema: z.ZodObject<{
|
|
19
19
|
id: z.ZodString;
|
|
20
20
|
method: z.ZodEnum<{
|
|
21
|
-
code: "code";
|
|
22
21
|
human: "human";
|
|
23
22
|
judge: "judge";
|
|
23
|
+
code: "code";
|
|
24
24
|
}>;
|
|
25
25
|
required: z.ZodBoolean;
|
|
26
26
|
}, z.core.$strip>;
|
|
@@ -37,9 +37,9 @@ export declare const TaskInventoryItemSchema: z.ZodObject<{
|
|
|
37
37
|
scoring: z.ZodArray<z.ZodObject<{
|
|
38
38
|
id: z.ZodString;
|
|
39
39
|
method: z.ZodEnum<{
|
|
40
|
-
code: "code";
|
|
41
40
|
human: "human";
|
|
42
41
|
judge: "judge";
|
|
42
|
+
code: "code";
|
|
43
43
|
}>;
|
|
44
44
|
required: z.ZodBoolean;
|
|
45
45
|
}, z.core.$strip>>;
|
|
@@ -65,9 +65,9 @@ export declare const TaskInventoryPageSchema: z.ZodObject<{
|
|
|
65
65
|
scoring: z.ZodArray<z.ZodObject<{
|
|
66
66
|
id: z.ZodString;
|
|
67
67
|
method: z.ZodEnum<{
|
|
68
|
-
code: "code";
|
|
69
68
|
human: "human";
|
|
70
69
|
judge: "judge";
|
|
70
|
+
code: "code";
|
|
71
71
|
}>;
|
|
72
72
|
required: z.ZodBoolean;
|
|
73
73
|
}, z.core.$strip>>;
|