@colophon-claims/verify 0.0.0 → 0.2.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/README.md +39 -0
- package/dist/admission/application.d.ts +18 -0
- package/dist/admission/application.js +53 -0
- package/dist/admission/contracts.d.ts +506 -0
- package/dist/admission/contracts.js +459 -0
- package/dist/admission/index.d.ts +5 -0
- package/dist/admission/index.js +5 -0
- package/dist/admission/intake.d.ts +75 -0
- package/dist/admission/intake.js +70 -0
- package/dist/admission/result-evaluation.d.ts +18 -0
- package/dist/admission/result-evaluation.js +71 -0
- package/dist/admission/screening-sample.d.ts +56 -0
- package/dist/admission/screening-sample.js +126 -0
- package/dist/admission/verification.d.ts +102 -0
- package/dist/admission/verification.js +844 -0
- package/dist/anchor/check.d.ts +95 -0
- package/dist/anchor/check.js +146 -0
- package/dist/anchor/ports.d.ts +6 -0
- package/dist/anchor/ports.js +354 -0
- package/dist/assets.d.ts +33 -0
- package/dist/assets.js +885 -0
- package/dist/bin.d.ts +2 -0
- package/dist/bin.js +20 -0
- package/dist/cli.d.ts +14 -0
- package/dist/cli.js +205 -0
- package/dist/comparison.d.ts +64 -0
- package/dist/comparison.js +235 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +23 -0
- package/dist/manifest.d.ts +54 -0
- package/dist/manifest.js +240 -0
- package/dist/materialize.d.ts +4 -0
- package/dist/materialize.js +13 -0
- package/dist/profile/admission-receipts.d.ts +11 -0
- package/dist/profile/admission-receipts.js +24 -0
- package/dist/profile/anchor-claims.d.ts +157 -0
- package/dist/profile/anchor-claims.js +330 -0
- package/dist/profile/artifacts.d.ts +261 -0
- package/dist/profile/artifacts.js +139 -0
- package/dist/profile/assembly-ports.d.ts +19 -0
- package/dist/profile/assembly-ports.js +42 -0
- package/dist/profile/binary-judge-manifest.d.ts +121 -0
- package/dist/profile/binary-judge-manifest.js +106 -0
- package/dist/profile/binary-qualification.d.ts +9 -0
- package/dist/profile/binary-qualification.js +58 -0
- package/dist/profile/branding-assets.d.ts +5 -0
- package/dist/profile/branding-assets.js +5 -0
- package/dist/profile/branding.d.ts +24 -0
- package/dist/profile/branding.js +14 -0
- package/dist/profile/claim-consistency.d.ts +26 -0
- package/dist/profile/claim-consistency.js +91 -0
- package/dist/profile/claim.d.ts +327 -0
- package/dist/profile/claim.js +742 -0
- package/dist/profile/errors.d.ts +49 -0
- package/dist/profile/errors.js +78 -0
- package/dist/profile/inspect-assurance.d.ts +16 -0
- package/dist/profile/inspect-assurance.js +30 -0
- package/dist/profile/inspect-disclosure.d.ts +28 -0
- package/dist/profile/inspect-disclosure.js +54 -0
- package/dist/profile/inspect-manifest.d.ts +706 -0
- package/dist/profile/inspect-manifest.js +397 -0
- package/dist/profile/isolation.d.ts +21 -0
- package/dist/profile/isolation.js +31 -0
- package/dist/profile/pinning-evidence.d.ts +41 -0
- package/dist/profile/pinning-evidence.js +43 -0
- package/dist/profile/ports.d.ts +3 -0
- package/dist/profile/ports.js +11 -0
- package/dist/profile/preview-log.d.ts +4 -0
- package/dist/profile/preview-log.js +3 -0
- package/dist/profile/run-results.d.ts +17 -0
- package/dist/profile/run-results.js +23 -0
- package/dist/profile/signing.d.ts +10 -0
- package/dist/profile/signing.js +46 -0
- package/dist/profile/trust.d.ts +13 -0
- package/dist/profile/trust.js +35 -0
- package/dist/profile/venue.d.ts +2 -0
- package/dist/profile/venue.js +2 -0
- package/dist/profile/verdict.d.ts +28 -0
- package/dist/profile/verdict.js +51 -0
- package/dist/reader-instructions.d.ts +41 -0
- package/dist/reader-instructions.js +52 -0
- package/dist/schema.d.ts +380 -0
- package/dist/schema.js +498 -0
- package/dist/verify.d.ts +72 -0
- package/dist/verify.js +1573 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.js +2 -0
- package/package.json +63 -3
- package/schemas/assembly-row.schema.json +194 -0
- package/schemas/bundle-manifest.schema.json +23 -0
- package/schemas/claim-package.schema.json +279 -0
- package/schemas/dsse-envelope.schema.json +25 -0
- package/schemas/evidence-catalog.schema.json +43 -0
- package/schemas/public-trust.schema.json +44 -0
- package/schemas/verdict-catalog.schema.json +27 -0
- package/scripts/external-verify.py +238 -0
|
@@ -0,0 +1,706 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type VerdictRule } from "@jinn-network/task-execution-profiles";
|
|
3
|
+
export declare const INSPECT_ADAPTER_ID: "inspect";
|
|
4
|
+
export declare const SUPPORTED_INSPECT_VERSION: "0.3.255";
|
|
5
|
+
export declare const SUPPORTED_INSPECT_WHEEL_SHA256: "958e773a8d0cc8873314e3f96d1143cbb4e0b9e4bacc2cbec6b4d5576ceecf2c";
|
|
6
|
+
export declare const SUPPORTED_INSPECT_EVALS_VERSION: "0.16.0";
|
|
7
|
+
export declare const SUPPORTED_OPENAI_SDK_VERSION: "2.53.0";
|
|
8
|
+
export declare const SUPPORTED_OCI_PYTHON_VERSION: "3.11.9";
|
|
9
|
+
export declare const SUPPORTED_OCI_PLATFORM: "linux/amd64";
|
|
10
|
+
export declare const INSPECT_SELECTION_SCHEMA: "jinn.network/benchmark-product/inspect-selection/1";
|
|
11
|
+
export declare const INSPECT_SANDBOX_SELECTION_SCHEMA: "jinn.network/benchmark-product/inspect-selection/2";
|
|
12
|
+
export declare const INSPECT_MULTI_SCORER_SELECTION_SCHEMA: "jinn.network/benchmark-product/inspect-selection/3";
|
|
13
|
+
export declare const INSPECT_MULTI_SCORER_SANDBOX_SELECTION_SCHEMA: "jinn.network/benchmark-product/inspect-selection/4";
|
|
14
|
+
export declare const INSPECT_SANDBOX_PROTOCOL: "jinn.network/inspect-sandbox-host/1";
|
|
15
|
+
export declare const INSPECT_SANDBOX_PROVIDER: "jinn-oci";
|
|
16
|
+
export declare const INSPECT_SANDBOX_PACKAGE_VERSION: "0.1.0";
|
|
17
|
+
export declare const INSPECT_ARM_REQUIREMENT_KEY: "jinn.network/inspect-arm";
|
|
18
|
+
export declare const InspectScoreProjectionSchema: z.ZodObject<{
|
|
19
|
+
measurementName: z.ZodString;
|
|
20
|
+
scorerName: z.ZodString;
|
|
21
|
+
subScoreKey: z.ZodOptional<z.ZodString>;
|
|
22
|
+
passValue: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
23
|
+
}, z.core.$strict>;
|
|
24
|
+
export type InspectScoreProjection = z.infer<typeof InspectScoreProjectionSchema>;
|
|
25
|
+
export declare const InspectScoringRequestSchema: z.ZodObject<{
|
|
26
|
+
projections: z.ZodArray<z.ZodObject<{
|
|
27
|
+
measurementName: z.ZodString;
|
|
28
|
+
scorerName: z.ZodString;
|
|
29
|
+
subScoreKey: z.ZodOptional<z.ZodString>;
|
|
30
|
+
passValue: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
31
|
+
}, z.core.$strict>>;
|
|
32
|
+
verdictRule: z.ZodType<VerdictRule, unknown, z.core.$ZodTypeInternals<VerdictRule, unknown>>;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
export type InspectScoringRequest = z.infer<typeof InspectScoringRequestSchema>;
|
|
35
|
+
export type InspectScoringSelectionRequest = {
|
|
36
|
+
readonly scorer: {
|
|
37
|
+
readonly name: string;
|
|
38
|
+
readonly passValue: string | number | boolean | null;
|
|
39
|
+
};
|
|
40
|
+
readonly scoring?: never;
|
|
41
|
+
} | {
|
|
42
|
+
readonly scorer?: never;
|
|
43
|
+
readonly scoring: InspectScoringRequest;
|
|
44
|
+
};
|
|
45
|
+
export declare const InspectArmConfigurationSchema: z.ZodObject<{
|
|
46
|
+
armId: z.ZodString;
|
|
47
|
+
model: z.ZodString;
|
|
48
|
+
modelArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
49
|
+
modelRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
50
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
51
|
+
surface: z.ZodLiteral<"openai-responses">;
|
|
52
|
+
upstreamModel: z.ZodLiteral<"gpt-5.6-luna">;
|
|
53
|
+
reasoningEffort: z.ZodEnum<{
|
|
54
|
+
low: "low";
|
|
55
|
+
none: "none";
|
|
56
|
+
}>;
|
|
57
|
+
maxOutputTokens: z.ZodLiteral<128>;
|
|
58
|
+
store: z.ZodLiteral<false>;
|
|
59
|
+
background: z.ZodLiteral<false>;
|
|
60
|
+
stream: z.ZodLiteral<false>;
|
|
61
|
+
serviceTier: z.ZodLiteral<"default">;
|
|
62
|
+
tools: z.ZodTuple<[], null>;
|
|
63
|
+
fallbackModels: z.ZodTuple<[], null>;
|
|
64
|
+
retries: z.ZodLiteral<0>;
|
|
65
|
+
persistedConversation: z.ZodLiteral<false>;
|
|
66
|
+
metadata: z.ZodNull;
|
|
67
|
+
promptCacheIdentifier: z.ZodNull;
|
|
68
|
+
}, z.core.$strict>>;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
export declare const InspectRunOptionsSchema: z.ZodObject<{
|
|
71
|
+
sampleId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
72
|
+
maxSamples: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
maxSubprocesses: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
maxSandboxes: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
retryOnError: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
failOnError: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
|
|
77
|
+
messageLimit: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
tokenLimit: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
79
|
+
timeLimit: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
}, z.core.$strict>;
|
|
81
|
+
export declare const InspectSandboxPolicySchema: z.ZodObject<{
|
|
82
|
+
provider: z.ZodLiteral<"jinn-oci">;
|
|
83
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
84
|
+
user: z.ZodLiteral<"65532:65532">;
|
|
85
|
+
readOnlyRoot: z.ZodLiteral<true>;
|
|
86
|
+
network: z.ZodLiteral<"none">;
|
|
87
|
+
capabilities: z.ZodTuple<[], null>;
|
|
88
|
+
noNewPrivileges: z.ZodLiteral<true>;
|
|
89
|
+
cpuCount: z.ZodLiteral<1>;
|
|
90
|
+
memoryBytes: z.ZodLiteral<536870912>;
|
|
91
|
+
pidsLimit: z.ZodLiteral<32>;
|
|
92
|
+
scratchBytes: z.ZodLiteral<268435456>;
|
|
93
|
+
maxEnvironments: z.ZodLiteral<1>;
|
|
94
|
+
maxOperations: z.ZodLiteral<64>;
|
|
95
|
+
commandTimeoutSeconds: z.ZodLiteral<30>;
|
|
96
|
+
totalTimeoutSeconds: z.ZodLiteral<120>;
|
|
97
|
+
maxInputBytes: z.ZodLiteral<number>;
|
|
98
|
+
maxOutputBytes: z.ZodLiteral<number>;
|
|
99
|
+
maxReadFileBytes: z.ZodLiteral<number>;
|
|
100
|
+
}, z.core.$strict>;
|
|
101
|
+
export declare const InspectOciRuntimeIdentitySchema: z.ZodObject<{
|
|
102
|
+
kind: z.ZodLiteral<"oci">;
|
|
103
|
+
imageDigest: z.ZodString;
|
|
104
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
105
|
+
inspectEvalsVersion: z.ZodLiteral<"0.16.0">;
|
|
106
|
+
openaiSdkVersion: z.ZodLiteral<"2.53.0">;
|
|
107
|
+
workerSourceSha256: z.ZodString;
|
|
108
|
+
runtimeHostSourceSha256: z.ZodString;
|
|
109
|
+
brokerSourceSha256: z.ZodString;
|
|
110
|
+
modelProviderSourceSha256: z.ZodString;
|
|
111
|
+
dockerExecutableSha256: z.ZodString;
|
|
112
|
+
dockerEngineVersion: z.ZodString;
|
|
113
|
+
dockerApiVersion: z.ZodString;
|
|
114
|
+
datasetCacheSha256: z.ZodString;
|
|
115
|
+
isolation: z.ZodObject<{
|
|
116
|
+
readOnlyRoot: z.ZodLiteral<true>;
|
|
117
|
+
network: z.ZodEnum<{
|
|
118
|
+
none: "none";
|
|
119
|
+
"broker-only": "broker-only";
|
|
120
|
+
}>;
|
|
121
|
+
capabilities: z.ZodTuple<[], null>;
|
|
122
|
+
noNewPrivileges: z.ZodLiteral<true>;
|
|
123
|
+
cpuCount: z.ZodNumber;
|
|
124
|
+
memoryBytes: z.ZodNumber;
|
|
125
|
+
pidsLimit: z.ZodNumber;
|
|
126
|
+
scratchBytes: z.ZodNumber;
|
|
127
|
+
user: z.ZodString;
|
|
128
|
+
mounts: z.ZodUnion<readonly [z.ZodTuple<[z.ZodLiteral<"project:ro">, z.ZodLiteral<"dataset-cache:ro">, z.ZodLiteral<"attempt-input:ro">, z.ZodLiteral<"attempt-output:rw">], null>, z.ZodTuple<[z.ZodLiteral<"project:ro">, z.ZodLiteral<"dataset-cache:ro">, z.ZodLiteral<"attempt-input:ro">, z.ZodLiteral<"attempt-output:rw">, z.ZodLiteral<"broker-capability:ro">], null>]>;
|
|
129
|
+
}, z.core.$strict>;
|
|
130
|
+
broker: z.ZodOptional<z.ZodObject<{
|
|
131
|
+
protocol: z.ZodLiteral<"jinn.network/model-broker/1">;
|
|
132
|
+
requestEndpoint: z.ZodLiteral<"https://api.openai.com/v1/responses">;
|
|
133
|
+
network: z.ZodLiteral<"bridge-plus-private-internal">;
|
|
134
|
+
secretMount: z.ZodLiteral<"credential-volume:/run/secrets:ro">;
|
|
135
|
+
capabilityMount: z.ZodLiteral<"capability-volume:/run/jinn:ro">;
|
|
136
|
+
readOnlyRoot: z.ZodLiteral<true>;
|
|
137
|
+
capabilities: z.ZodTuple<[], null>;
|
|
138
|
+
noNewPrivileges: z.ZodLiteral<true>;
|
|
139
|
+
cpuCount: z.ZodLiteral<1>;
|
|
140
|
+
memoryBytes: z.ZodLiteral<268435456>;
|
|
141
|
+
pidsLimit: z.ZodLiteral<32>;
|
|
142
|
+
scratchBytes: z.ZodLiteral<67108864>;
|
|
143
|
+
}, z.core.$strict>>;
|
|
144
|
+
sandbox: z.ZodOptional<z.ZodObject<{
|
|
145
|
+
protocol: z.ZodLiteral<"jinn.network/inspect-sandbox-host/1">;
|
|
146
|
+
provider: z.ZodLiteral<"jinn-oci">;
|
|
147
|
+
packageVersion: z.ZodLiteral<"0.1.0">;
|
|
148
|
+
providerSourceSha256: z.ZodString;
|
|
149
|
+
controllerSourceSha256: z.ZodString;
|
|
150
|
+
imageDigest: z.ZodString;
|
|
151
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
152
|
+
policySha256: z.ZodString;
|
|
153
|
+
policy: z.ZodObject<{
|
|
154
|
+
provider: z.ZodLiteral<"jinn-oci">;
|
|
155
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
156
|
+
user: z.ZodLiteral<"65532:65532">;
|
|
157
|
+
readOnlyRoot: z.ZodLiteral<true>;
|
|
158
|
+
network: z.ZodLiteral<"none">;
|
|
159
|
+
capabilities: z.ZodTuple<[], null>;
|
|
160
|
+
noNewPrivileges: z.ZodLiteral<true>;
|
|
161
|
+
cpuCount: z.ZodLiteral<1>;
|
|
162
|
+
memoryBytes: z.ZodLiteral<536870912>;
|
|
163
|
+
pidsLimit: z.ZodLiteral<32>;
|
|
164
|
+
scratchBytes: z.ZodLiteral<268435456>;
|
|
165
|
+
maxEnvironments: z.ZodLiteral<1>;
|
|
166
|
+
maxOperations: z.ZodLiteral<64>;
|
|
167
|
+
commandTimeoutSeconds: z.ZodLiteral<30>;
|
|
168
|
+
totalTimeoutSeconds: z.ZodLiteral<120>;
|
|
169
|
+
maxInputBytes: z.ZodLiteral<number>;
|
|
170
|
+
maxOutputBytes: z.ZodLiteral<number>;
|
|
171
|
+
maxReadFileBytes: z.ZodLiteral<number>;
|
|
172
|
+
}, z.core.$strict>;
|
|
173
|
+
}, z.core.$strict>>;
|
|
174
|
+
}, z.core.$strict>;
|
|
175
|
+
declare const MultiScorerInspectSelectionManifestSchema: z.ZodObject<{
|
|
176
|
+
scorers: z.ZodArray<z.ZodObject<{
|
|
177
|
+
name: z.ZodString;
|
|
178
|
+
definition: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
179
|
+
}, z.core.$strict>>;
|
|
180
|
+
scoring: z.ZodObject<{
|
|
181
|
+
projections: z.ZodArray<z.ZodObject<{
|
|
182
|
+
measurementName: z.ZodString;
|
|
183
|
+
scorerName: z.ZodString;
|
|
184
|
+
subScoreKey: z.ZodOptional<z.ZodString>;
|
|
185
|
+
passValue: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
186
|
+
}, z.core.$strict>>;
|
|
187
|
+
verdictRule: z.ZodType<VerdictRule, unknown, z.core.$ZodTypeInternals<VerdictRule, unknown>>;
|
|
188
|
+
inspectMetrics: z.ZodNullable<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
189
|
+
inspectEpochReducers: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
190
|
+
}, z.core.$strict>;
|
|
191
|
+
runtime: z.ZodObject<{
|
|
192
|
+
adapterVersion: z.ZodLiteral<"1">;
|
|
193
|
+
workerSha256: z.ZodString;
|
|
194
|
+
inspectVersion: z.ZodLiteral<"0.3.255">;
|
|
195
|
+
inspectWheelSha256: z.ZodLiteral<"958e773a8d0cc8873314e3f96d1143cbb4e0b9e4bacc2cbec6b4d5576ceecf2c">;
|
|
196
|
+
pythonVersion: z.ZodString;
|
|
197
|
+
pythonExecutableSha256: z.ZodString;
|
|
198
|
+
pythonEnvironmentSha256: z.ZodString;
|
|
199
|
+
inspectDistributionSha256: z.ZodString;
|
|
200
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
201
|
+
kind: z.ZodLiteral<"oci">;
|
|
202
|
+
imageDigest: z.ZodString;
|
|
203
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
204
|
+
inspectEvalsVersion: z.ZodLiteral<"0.16.0">;
|
|
205
|
+
openaiSdkVersion: z.ZodLiteral<"2.53.0">;
|
|
206
|
+
workerSourceSha256: z.ZodString;
|
|
207
|
+
runtimeHostSourceSha256: z.ZodString;
|
|
208
|
+
brokerSourceSha256: z.ZodString;
|
|
209
|
+
modelProviderSourceSha256: z.ZodString;
|
|
210
|
+
dockerExecutableSha256: z.ZodString;
|
|
211
|
+
dockerEngineVersion: z.ZodString;
|
|
212
|
+
dockerApiVersion: z.ZodString;
|
|
213
|
+
datasetCacheSha256: z.ZodString;
|
|
214
|
+
isolation: z.ZodObject<{
|
|
215
|
+
readOnlyRoot: z.ZodLiteral<true>;
|
|
216
|
+
network: z.ZodEnum<{
|
|
217
|
+
none: "none";
|
|
218
|
+
"broker-only": "broker-only";
|
|
219
|
+
}>;
|
|
220
|
+
capabilities: z.ZodTuple<[], null>;
|
|
221
|
+
noNewPrivileges: z.ZodLiteral<true>;
|
|
222
|
+
cpuCount: z.ZodNumber;
|
|
223
|
+
memoryBytes: z.ZodNumber;
|
|
224
|
+
pidsLimit: z.ZodNumber;
|
|
225
|
+
scratchBytes: z.ZodNumber;
|
|
226
|
+
user: z.ZodString;
|
|
227
|
+
mounts: z.ZodUnion<readonly [z.ZodTuple<[z.ZodLiteral<"project:ro">, z.ZodLiteral<"dataset-cache:ro">, z.ZodLiteral<"attempt-input:ro">, z.ZodLiteral<"attempt-output:rw">], null>, z.ZodTuple<[z.ZodLiteral<"project:ro">, z.ZodLiteral<"dataset-cache:ro">, z.ZodLiteral<"attempt-input:ro">, z.ZodLiteral<"attempt-output:rw">, z.ZodLiteral<"broker-capability:ro">], null>]>;
|
|
228
|
+
}, z.core.$strict>;
|
|
229
|
+
broker: z.ZodOptional<z.ZodObject<{
|
|
230
|
+
protocol: z.ZodLiteral<"jinn.network/model-broker/1">;
|
|
231
|
+
requestEndpoint: z.ZodLiteral<"https://api.openai.com/v1/responses">;
|
|
232
|
+
network: z.ZodLiteral<"bridge-plus-private-internal">;
|
|
233
|
+
secretMount: z.ZodLiteral<"credential-volume:/run/secrets:ro">;
|
|
234
|
+
capabilityMount: z.ZodLiteral<"capability-volume:/run/jinn:ro">;
|
|
235
|
+
readOnlyRoot: z.ZodLiteral<true>;
|
|
236
|
+
capabilities: z.ZodTuple<[], null>;
|
|
237
|
+
noNewPrivileges: z.ZodLiteral<true>;
|
|
238
|
+
cpuCount: z.ZodLiteral<1>;
|
|
239
|
+
memoryBytes: z.ZodLiteral<268435456>;
|
|
240
|
+
pidsLimit: z.ZodLiteral<32>;
|
|
241
|
+
scratchBytes: z.ZodLiteral<67108864>;
|
|
242
|
+
}, z.core.$strict>>;
|
|
243
|
+
sandbox: z.ZodOptional<z.ZodObject<{
|
|
244
|
+
protocol: z.ZodLiteral<"jinn.network/inspect-sandbox-host/1">;
|
|
245
|
+
provider: z.ZodLiteral<"jinn-oci">;
|
|
246
|
+
packageVersion: z.ZodLiteral<"0.1.0">;
|
|
247
|
+
providerSourceSha256: z.ZodString;
|
|
248
|
+
controllerSourceSha256: z.ZodString;
|
|
249
|
+
imageDigest: z.ZodString;
|
|
250
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
251
|
+
policySha256: z.ZodString;
|
|
252
|
+
policy: z.ZodObject<{
|
|
253
|
+
provider: z.ZodLiteral<"jinn-oci">;
|
|
254
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
255
|
+
user: z.ZodLiteral<"65532:65532">;
|
|
256
|
+
readOnlyRoot: z.ZodLiteral<true>;
|
|
257
|
+
network: z.ZodLiteral<"none">;
|
|
258
|
+
capabilities: z.ZodTuple<[], null>;
|
|
259
|
+
noNewPrivileges: z.ZodLiteral<true>;
|
|
260
|
+
cpuCount: z.ZodLiteral<1>;
|
|
261
|
+
memoryBytes: z.ZodLiteral<536870912>;
|
|
262
|
+
pidsLimit: z.ZodLiteral<32>;
|
|
263
|
+
scratchBytes: z.ZodLiteral<268435456>;
|
|
264
|
+
maxEnvironments: z.ZodLiteral<1>;
|
|
265
|
+
maxOperations: z.ZodLiteral<64>;
|
|
266
|
+
commandTimeoutSeconds: z.ZodLiteral<30>;
|
|
267
|
+
totalTimeoutSeconds: z.ZodLiteral<120>;
|
|
268
|
+
maxInputBytes: z.ZodLiteral<number>;
|
|
269
|
+
maxOutputBytes: z.ZodLiteral<number>;
|
|
270
|
+
maxReadFileBytes: z.ZodLiteral<number>;
|
|
271
|
+
}, z.core.$strict>;
|
|
272
|
+
}, z.core.$strict>>;
|
|
273
|
+
}, z.core.$strict>>;
|
|
274
|
+
}, z.core.$strip>;
|
|
275
|
+
task: z.ZodObject<{
|
|
276
|
+
reference: z.ZodString;
|
|
277
|
+
args: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
278
|
+
resolvedName: z.ZodString;
|
|
279
|
+
resolvedVersion: z.ZodNullable<z.ZodString>;
|
|
280
|
+
declaredSandbox: z.ZodOptional<z.ZodObject<{
|
|
281
|
+
type: z.ZodLiteral<"docker">;
|
|
282
|
+
config: z.ZodNull;
|
|
283
|
+
}, z.core.$strict>>;
|
|
284
|
+
resolvedSandbox: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
285
|
+
type: z.ZodLiteral<"jinn-oci">;
|
|
286
|
+
config: z.ZodObject<{
|
|
287
|
+
schema: z.ZodLiteral<"jinn.network/benchmark-product/inspect-sandbox/1">;
|
|
288
|
+
imageDigest: z.ZodString;
|
|
289
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
290
|
+
policySha256: z.ZodString;
|
|
291
|
+
}, z.core.$strict>;
|
|
292
|
+
}, z.core.$strict>]>;
|
|
293
|
+
source: z.ZodObject<{
|
|
294
|
+
kind: z.ZodEnum<{
|
|
295
|
+
"project-file": "project-file";
|
|
296
|
+
"installed-package": "installed-package";
|
|
297
|
+
}>;
|
|
298
|
+
path: z.ZodString;
|
|
299
|
+
sha256: z.ZodString;
|
|
300
|
+
projectTreeSha256: z.ZodOptional<z.ZodString>;
|
|
301
|
+
distribution: z.ZodOptional<z.ZodObject<{
|
|
302
|
+
name: z.ZodString;
|
|
303
|
+
version: z.ZodString;
|
|
304
|
+
sha256: z.ZodString;
|
|
305
|
+
}, z.core.$strip>>;
|
|
306
|
+
}, z.core.$strip>;
|
|
307
|
+
dataset: z.ZodObject<{
|
|
308
|
+
name: z.ZodNullable<z.ZodString>;
|
|
309
|
+
location: z.ZodNullable<z.ZodString>;
|
|
310
|
+
samples: z.ZodNullable<z.ZodNumber>;
|
|
311
|
+
selectedSampleId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
312
|
+
orderedSampleSha256: z.ZodOptional<z.ZodString>;
|
|
313
|
+
}, z.core.$strip>;
|
|
314
|
+
}, z.core.$strip>;
|
|
315
|
+
arms: z.ZodArray<z.ZodObject<{
|
|
316
|
+
armId: z.ZodString;
|
|
317
|
+
model: z.ZodString;
|
|
318
|
+
modelArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
319
|
+
modelRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
320
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
321
|
+
surface: z.ZodLiteral<"openai-responses">;
|
|
322
|
+
upstreamModel: z.ZodLiteral<"gpt-5.6-luna">;
|
|
323
|
+
reasoningEffort: z.ZodEnum<{
|
|
324
|
+
low: "low";
|
|
325
|
+
none: "none";
|
|
326
|
+
}>;
|
|
327
|
+
maxOutputTokens: z.ZodLiteral<128>;
|
|
328
|
+
store: z.ZodLiteral<false>;
|
|
329
|
+
background: z.ZodLiteral<false>;
|
|
330
|
+
stream: z.ZodLiteral<false>;
|
|
331
|
+
serviceTier: z.ZodLiteral<"default">;
|
|
332
|
+
tools: z.ZodTuple<[], null>;
|
|
333
|
+
fallbackModels: z.ZodTuple<[], null>;
|
|
334
|
+
retries: z.ZodLiteral<0>;
|
|
335
|
+
persistedConversation: z.ZodLiteral<false>;
|
|
336
|
+
metadata: z.ZodNull;
|
|
337
|
+
promptCacheIdentifier: z.ZodNull;
|
|
338
|
+
}, z.core.$strict>>;
|
|
339
|
+
}, z.core.$strip>>;
|
|
340
|
+
runOptions: z.ZodObject<{
|
|
341
|
+
sampleId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
342
|
+
maxSamples: z.ZodOptional<z.ZodNumber>;
|
|
343
|
+
maxSubprocesses: z.ZodOptional<z.ZodNumber>;
|
|
344
|
+
maxSandboxes: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
retryOnError: z.ZodOptional<z.ZodNumber>;
|
|
346
|
+
failOnError: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
|
|
347
|
+
messageLimit: z.ZodOptional<z.ZodNumber>;
|
|
348
|
+
tokenLimit: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
349
|
+
timeLimit: z.ZodOptional<z.ZodNumber>;
|
|
350
|
+
}, z.core.$strict>;
|
|
351
|
+
schema: z.ZodUnion<readonly [z.ZodLiteral<"jinn.network/benchmark-product/inspect-selection/3">, z.ZodLiteral<"jinn.network/benchmark-product/inspect-selection/4">]>;
|
|
352
|
+
}, z.core.$strict>;
|
|
353
|
+
export declare const InspectSelectionManifestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
354
|
+
scorer: z.ZodObject<{
|
|
355
|
+
name: z.ZodString;
|
|
356
|
+
passValue: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
357
|
+
definition: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
358
|
+
}, z.core.$strict>;
|
|
359
|
+
runtime: z.ZodObject<{
|
|
360
|
+
adapterVersion: z.ZodLiteral<"1">;
|
|
361
|
+
workerSha256: z.ZodString;
|
|
362
|
+
inspectVersion: z.ZodLiteral<"0.3.255">;
|
|
363
|
+
inspectWheelSha256: z.ZodLiteral<"958e773a8d0cc8873314e3f96d1143cbb4e0b9e4bacc2cbec6b4d5576ceecf2c">;
|
|
364
|
+
pythonVersion: z.ZodString;
|
|
365
|
+
pythonExecutableSha256: z.ZodString;
|
|
366
|
+
pythonEnvironmentSha256: z.ZodString;
|
|
367
|
+
inspectDistributionSha256: z.ZodString;
|
|
368
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
369
|
+
kind: z.ZodLiteral<"oci">;
|
|
370
|
+
imageDigest: z.ZodString;
|
|
371
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
372
|
+
inspectEvalsVersion: z.ZodLiteral<"0.16.0">;
|
|
373
|
+
openaiSdkVersion: z.ZodLiteral<"2.53.0">;
|
|
374
|
+
workerSourceSha256: z.ZodString;
|
|
375
|
+
runtimeHostSourceSha256: z.ZodString;
|
|
376
|
+
brokerSourceSha256: z.ZodString;
|
|
377
|
+
modelProviderSourceSha256: z.ZodString;
|
|
378
|
+
dockerExecutableSha256: z.ZodString;
|
|
379
|
+
dockerEngineVersion: z.ZodString;
|
|
380
|
+
dockerApiVersion: z.ZodString;
|
|
381
|
+
datasetCacheSha256: z.ZodString;
|
|
382
|
+
isolation: z.ZodObject<{
|
|
383
|
+
readOnlyRoot: z.ZodLiteral<true>;
|
|
384
|
+
network: z.ZodEnum<{
|
|
385
|
+
none: "none";
|
|
386
|
+
"broker-only": "broker-only";
|
|
387
|
+
}>;
|
|
388
|
+
capabilities: z.ZodTuple<[], null>;
|
|
389
|
+
noNewPrivileges: z.ZodLiteral<true>;
|
|
390
|
+
cpuCount: z.ZodNumber;
|
|
391
|
+
memoryBytes: z.ZodNumber;
|
|
392
|
+
pidsLimit: z.ZodNumber;
|
|
393
|
+
scratchBytes: z.ZodNumber;
|
|
394
|
+
user: z.ZodString;
|
|
395
|
+
mounts: z.ZodUnion<readonly [z.ZodTuple<[z.ZodLiteral<"project:ro">, z.ZodLiteral<"dataset-cache:ro">, z.ZodLiteral<"attempt-input:ro">, z.ZodLiteral<"attempt-output:rw">], null>, z.ZodTuple<[z.ZodLiteral<"project:ro">, z.ZodLiteral<"dataset-cache:ro">, z.ZodLiteral<"attempt-input:ro">, z.ZodLiteral<"attempt-output:rw">, z.ZodLiteral<"broker-capability:ro">], null>]>;
|
|
396
|
+
}, z.core.$strict>;
|
|
397
|
+
broker: z.ZodOptional<z.ZodObject<{
|
|
398
|
+
protocol: z.ZodLiteral<"jinn.network/model-broker/1">;
|
|
399
|
+
requestEndpoint: z.ZodLiteral<"https://api.openai.com/v1/responses">;
|
|
400
|
+
network: z.ZodLiteral<"bridge-plus-private-internal">;
|
|
401
|
+
secretMount: z.ZodLiteral<"credential-volume:/run/secrets:ro">;
|
|
402
|
+
capabilityMount: z.ZodLiteral<"capability-volume:/run/jinn:ro">;
|
|
403
|
+
readOnlyRoot: z.ZodLiteral<true>;
|
|
404
|
+
capabilities: z.ZodTuple<[], null>;
|
|
405
|
+
noNewPrivileges: z.ZodLiteral<true>;
|
|
406
|
+
cpuCount: z.ZodLiteral<1>;
|
|
407
|
+
memoryBytes: z.ZodLiteral<268435456>;
|
|
408
|
+
pidsLimit: z.ZodLiteral<32>;
|
|
409
|
+
scratchBytes: z.ZodLiteral<67108864>;
|
|
410
|
+
}, z.core.$strict>>;
|
|
411
|
+
sandbox: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
protocol: z.ZodLiteral<"jinn.network/inspect-sandbox-host/1">;
|
|
413
|
+
provider: z.ZodLiteral<"jinn-oci">;
|
|
414
|
+
packageVersion: z.ZodLiteral<"0.1.0">;
|
|
415
|
+
providerSourceSha256: z.ZodString;
|
|
416
|
+
controllerSourceSha256: z.ZodString;
|
|
417
|
+
imageDigest: z.ZodString;
|
|
418
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
419
|
+
policySha256: z.ZodString;
|
|
420
|
+
policy: z.ZodObject<{
|
|
421
|
+
provider: z.ZodLiteral<"jinn-oci">;
|
|
422
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
423
|
+
user: z.ZodLiteral<"65532:65532">;
|
|
424
|
+
readOnlyRoot: z.ZodLiteral<true>;
|
|
425
|
+
network: z.ZodLiteral<"none">;
|
|
426
|
+
capabilities: z.ZodTuple<[], null>;
|
|
427
|
+
noNewPrivileges: z.ZodLiteral<true>;
|
|
428
|
+
cpuCount: z.ZodLiteral<1>;
|
|
429
|
+
memoryBytes: z.ZodLiteral<536870912>;
|
|
430
|
+
pidsLimit: z.ZodLiteral<32>;
|
|
431
|
+
scratchBytes: z.ZodLiteral<268435456>;
|
|
432
|
+
maxEnvironments: z.ZodLiteral<1>;
|
|
433
|
+
maxOperations: z.ZodLiteral<64>;
|
|
434
|
+
commandTimeoutSeconds: z.ZodLiteral<30>;
|
|
435
|
+
totalTimeoutSeconds: z.ZodLiteral<120>;
|
|
436
|
+
maxInputBytes: z.ZodLiteral<number>;
|
|
437
|
+
maxOutputBytes: z.ZodLiteral<number>;
|
|
438
|
+
maxReadFileBytes: z.ZodLiteral<number>;
|
|
439
|
+
}, z.core.$strict>;
|
|
440
|
+
}, z.core.$strict>>;
|
|
441
|
+
}, z.core.$strict>>;
|
|
442
|
+
}, z.core.$strip>;
|
|
443
|
+
task: z.ZodObject<{
|
|
444
|
+
reference: z.ZodString;
|
|
445
|
+
args: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
446
|
+
resolvedName: z.ZodString;
|
|
447
|
+
resolvedVersion: z.ZodNullable<z.ZodString>;
|
|
448
|
+
declaredSandbox: z.ZodOptional<z.ZodObject<{
|
|
449
|
+
type: z.ZodLiteral<"docker">;
|
|
450
|
+
config: z.ZodNull;
|
|
451
|
+
}, z.core.$strict>>;
|
|
452
|
+
resolvedSandbox: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
453
|
+
type: z.ZodLiteral<"jinn-oci">;
|
|
454
|
+
config: z.ZodObject<{
|
|
455
|
+
schema: z.ZodLiteral<"jinn.network/benchmark-product/inspect-sandbox/1">;
|
|
456
|
+
imageDigest: z.ZodString;
|
|
457
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
458
|
+
policySha256: z.ZodString;
|
|
459
|
+
}, z.core.$strict>;
|
|
460
|
+
}, z.core.$strict>]>;
|
|
461
|
+
source: z.ZodObject<{
|
|
462
|
+
kind: z.ZodEnum<{
|
|
463
|
+
"project-file": "project-file";
|
|
464
|
+
"installed-package": "installed-package";
|
|
465
|
+
}>;
|
|
466
|
+
path: z.ZodString;
|
|
467
|
+
sha256: z.ZodString;
|
|
468
|
+
projectTreeSha256: z.ZodOptional<z.ZodString>;
|
|
469
|
+
distribution: z.ZodOptional<z.ZodObject<{
|
|
470
|
+
name: z.ZodString;
|
|
471
|
+
version: z.ZodString;
|
|
472
|
+
sha256: z.ZodString;
|
|
473
|
+
}, z.core.$strip>>;
|
|
474
|
+
}, z.core.$strip>;
|
|
475
|
+
dataset: z.ZodObject<{
|
|
476
|
+
name: z.ZodNullable<z.ZodString>;
|
|
477
|
+
location: z.ZodNullable<z.ZodString>;
|
|
478
|
+
samples: z.ZodNullable<z.ZodNumber>;
|
|
479
|
+
selectedSampleId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
480
|
+
orderedSampleSha256: z.ZodOptional<z.ZodString>;
|
|
481
|
+
}, z.core.$strip>;
|
|
482
|
+
}, z.core.$strip>;
|
|
483
|
+
arms: z.ZodArray<z.ZodObject<{
|
|
484
|
+
armId: z.ZodString;
|
|
485
|
+
model: z.ZodString;
|
|
486
|
+
modelArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
487
|
+
modelRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
488
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
489
|
+
surface: z.ZodLiteral<"openai-responses">;
|
|
490
|
+
upstreamModel: z.ZodLiteral<"gpt-5.6-luna">;
|
|
491
|
+
reasoningEffort: z.ZodEnum<{
|
|
492
|
+
low: "low";
|
|
493
|
+
none: "none";
|
|
494
|
+
}>;
|
|
495
|
+
maxOutputTokens: z.ZodLiteral<128>;
|
|
496
|
+
store: z.ZodLiteral<false>;
|
|
497
|
+
background: z.ZodLiteral<false>;
|
|
498
|
+
stream: z.ZodLiteral<false>;
|
|
499
|
+
serviceTier: z.ZodLiteral<"default">;
|
|
500
|
+
tools: z.ZodTuple<[], null>;
|
|
501
|
+
fallbackModels: z.ZodTuple<[], null>;
|
|
502
|
+
retries: z.ZodLiteral<0>;
|
|
503
|
+
persistedConversation: z.ZodLiteral<false>;
|
|
504
|
+
metadata: z.ZodNull;
|
|
505
|
+
promptCacheIdentifier: z.ZodNull;
|
|
506
|
+
}, z.core.$strict>>;
|
|
507
|
+
}, z.core.$strip>>;
|
|
508
|
+
runOptions: z.ZodObject<{
|
|
509
|
+
sampleId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
510
|
+
maxSamples: z.ZodOptional<z.ZodNumber>;
|
|
511
|
+
maxSubprocesses: z.ZodOptional<z.ZodNumber>;
|
|
512
|
+
maxSandboxes: z.ZodOptional<z.ZodNumber>;
|
|
513
|
+
retryOnError: z.ZodOptional<z.ZodNumber>;
|
|
514
|
+
failOnError: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
|
|
515
|
+
messageLimit: z.ZodOptional<z.ZodNumber>;
|
|
516
|
+
tokenLimit: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
517
|
+
timeLimit: z.ZodOptional<z.ZodNumber>;
|
|
518
|
+
}, z.core.$strict>;
|
|
519
|
+
schema: z.ZodUnion<readonly [z.ZodLiteral<"jinn.network/benchmark-product/inspect-selection/1">, z.ZodLiteral<"jinn.network/benchmark-product/inspect-selection/2">]>;
|
|
520
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
521
|
+
scorers: z.ZodArray<z.ZodObject<{
|
|
522
|
+
name: z.ZodString;
|
|
523
|
+
definition: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
524
|
+
}, z.core.$strict>>;
|
|
525
|
+
scoring: z.ZodObject<{
|
|
526
|
+
projections: z.ZodArray<z.ZodObject<{
|
|
527
|
+
measurementName: z.ZodString;
|
|
528
|
+
scorerName: z.ZodString;
|
|
529
|
+
subScoreKey: z.ZodOptional<z.ZodString>;
|
|
530
|
+
passValue: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
531
|
+
}, z.core.$strict>>;
|
|
532
|
+
verdictRule: z.ZodType<VerdictRule, unknown, z.core.$ZodTypeInternals<VerdictRule, unknown>>;
|
|
533
|
+
inspectMetrics: z.ZodNullable<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
534
|
+
inspectEpochReducers: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
535
|
+
}, z.core.$strict>;
|
|
536
|
+
runtime: z.ZodObject<{
|
|
537
|
+
adapterVersion: z.ZodLiteral<"1">;
|
|
538
|
+
workerSha256: z.ZodString;
|
|
539
|
+
inspectVersion: z.ZodLiteral<"0.3.255">;
|
|
540
|
+
inspectWheelSha256: z.ZodLiteral<"958e773a8d0cc8873314e3f96d1143cbb4e0b9e4bacc2cbec6b4d5576ceecf2c">;
|
|
541
|
+
pythonVersion: z.ZodString;
|
|
542
|
+
pythonExecutableSha256: z.ZodString;
|
|
543
|
+
pythonEnvironmentSha256: z.ZodString;
|
|
544
|
+
inspectDistributionSha256: z.ZodString;
|
|
545
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
546
|
+
kind: z.ZodLiteral<"oci">;
|
|
547
|
+
imageDigest: z.ZodString;
|
|
548
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
549
|
+
inspectEvalsVersion: z.ZodLiteral<"0.16.0">;
|
|
550
|
+
openaiSdkVersion: z.ZodLiteral<"2.53.0">;
|
|
551
|
+
workerSourceSha256: z.ZodString;
|
|
552
|
+
runtimeHostSourceSha256: z.ZodString;
|
|
553
|
+
brokerSourceSha256: z.ZodString;
|
|
554
|
+
modelProviderSourceSha256: z.ZodString;
|
|
555
|
+
dockerExecutableSha256: z.ZodString;
|
|
556
|
+
dockerEngineVersion: z.ZodString;
|
|
557
|
+
dockerApiVersion: z.ZodString;
|
|
558
|
+
datasetCacheSha256: z.ZodString;
|
|
559
|
+
isolation: z.ZodObject<{
|
|
560
|
+
readOnlyRoot: z.ZodLiteral<true>;
|
|
561
|
+
network: z.ZodEnum<{
|
|
562
|
+
none: "none";
|
|
563
|
+
"broker-only": "broker-only";
|
|
564
|
+
}>;
|
|
565
|
+
capabilities: z.ZodTuple<[], null>;
|
|
566
|
+
noNewPrivileges: z.ZodLiteral<true>;
|
|
567
|
+
cpuCount: z.ZodNumber;
|
|
568
|
+
memoryBytes: z.ZodNumber;
|
|
569
|
+
pidsLimit: z.ZodNumber;
|
|
570
|
+
scratchBytes: z.ZodNumber;
|
|
571
|
+
user: z.ZodString;
|
|
572
|
+
mounts: z.ZodUnion<readonly [z.ZodTuple<[z.ZodLiteral<"project:ro">, z.ZodLiteral<"dataset-cache:ro">, z.ZodLiteral<"attempt-input:ro">, z.ZodLiteral<"attempt-output:rw">], null>, z.ZodTuple<[z.ZodLiteral<"project:ro">, z.ZodLiteral<"dataset-cache:ro">, z.ZodLiteral<"attempt-input:ro">, z.ZodLiteral<"attempt-output:rw">, z.ZodLiteral<"broker-capability:ro">], null>]>;
|
|
573
|
+
}, z.core.$strict>;
|
|
574
|
+
broker: z.ZodOptional<z.ZodObject<{
|
|
575
|
+
protocol: z.ZodLiteral<"jinn.network/model-broker/1">;
|
|
576
|
+
requestEndpoint: z.ZodLiteral<"https://api.openai.com/v1/responses">;
|
|
577
|
+
network: z.ZodLiteral<"bridge-plus-private-internal">;
|
|
578
|
+
secretMount: z.ZodLiteral<"credential-volume:/run/secrets:ro">;
|
|
579
|
+
capabilityMount: z.ZodLiteral<"capability-volume:/run/jinn:ro">;
|
|
580
|
+
readOnlyRoot: z.ZodLiteral<true>;
|
|
581
|
+
capabilities: z.ZodTuple<[], null>;
|
|
582
|
+
noNewPrivileges: z.ZodLiteral<true>;
|
|
583
|
+
cpuCount: z.ZodLiteral<1>;
|
|
584
|
+
memoryBytes: z.ZodLiteral<268435456>;
|
|
585
|
+
pidsLimit: z.ZodLiteral<32>;
|
|
586
|
+
scratchBytes: z.ZodLiteral<67108864>;
|
|
587
|
+
}, z.core.$strict>>;
|
|
588
|
+
sandbox: z.ZodOptional<z.ZodObject<{
|
|
589
|
+
protocol: z.ZodLiteral<"jinn.network/inspect-sandbox-host/1">;
|
|
590
|
+
provider: z.ZodLiteral<"jinn-oci">;
|
|
591
|
+
packageVersion: z.ZodLiteral<"0.1.0">;
|
|
592
|
+
providerSourceSha256: z.ZodString;
|
|
593
|
+
controllerSourceSha256: z.ZodString;
|
|
594
|
+
imageDigest: z.ZodString;
|
|
595
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
596
|
+
policySha256: z.ZodString;
|
|
597
|
+
policy: z.ZodObject<{
|
|
598
|
+
provider: z.ZodLiteral<"jinn-oci">;
|
|
599
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
600
|
+
user: z.ZodLiteral<"65532:65532">;
|
|
601
|
+
readOnlyRoot: z.ZodLiteral<true>;
|
|
602
|
+
network: z.ZodLiteral<"none">;
|
|
603
|
+
capabilities: z.ZodTuple<[], null>;
|
|
604
|
+
noNewPrivileges: z.ZodLiteral<true>;
|
|
605
|
+
cpuCount: z.ZodLiteral<1>;
|
|
606
|
+
memoryBytes: z.ZodLiteral<536870912>;
|
|
607
|
+
pidsLimit: z.ZodLiteral<32>;
|
|
608
|
+
scratchBytes: z.ZodLiteral<268435456>;
|
|
609
|
+
maxEnvironments: z.ZodLiteral<1>;
|
|
610
|
+
maxOperations: z.ZodLiteral<64>;
|
|
611
|
+
commandTimeoutSeconds: z.ZodLiteral<30>;
|
|
612
|
+
totalTimeoutSeconds: z.ZodLiteral<120>;
|
|
613
|
+
maxInputBytes: z.ZodLiteral<number>;
|
|
614
|
+
maxOutputBytes: z.ZodLiteral<number>;
|
|
615
|
+
maxReadFileBytes: z.ZodLiteral<number>;
|
|
616
|
+
}, z.core.$strict>;
|
|
617
|
+
}, z.core.$strict>>;
|
|
618
|
+
}, z.core.$strict>>;
|
|
619
|
+
}, z.core.$strip>;
|
|
620
|
+
task: z.ZodObject<{
|
|
621
|
+
reference: z.ZodString;
|
|
622
|
+
args: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
623
|
+
resolvedName: z.ZodString;
|
|
624
|
+
resolvedVersion: z.ZodNullable<z.ZodString>;
|
|
625
|
+
declaredSandbox: z.ZodOptional<z.ZodObject<{
|
|
626
|
+
type: z.ZodLiteral<"docker">;
|
|
627
|
+
config: z.ZodNull;
|
|
628
|
+
}, z.core.$strict>>;
|
|
629
|
+
resolvedSandbox: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
630
|
+
type: z.ZodLiteral<"jinn-oci">;
|
|
631
|
+
config: z.ZodObject<{
|
|
632
|
+
schema: z.ZodLiteral<"jinn.network/benchmark-product/inspect-sandbox/1">;
|
|
633
|
+
imageDigest: z.ZodString;
|
|
634
|
+
platform: z.ZodLiteral<"linux/amd64">;
|
|
635
|
+
policySha256: z.ZodString;
|
|
636
|
+
}, z.core.$strict>;
|
|
637
|
+
}, z.core.$strict>]>;
|
|
638
|
+
source: z.ZodObject<{
|
|
639
|
+
kind: z.ZodEnum<{
|
|
640
|
+
"project-file": "project-file";
|
|
641
|
+
"installed-package": "installed-package";
|
|
642
|
+
}>;
|
|
643
|
+
path: z.ZodString;
|
|
644
|
+
sha256: z.ZodString;
|
|
645
|
+
projectTreeSha256: z.ZodOptional<z.ZodString>;
|
|
646
|
+
distribution: z.ZodOptional<z.ZodObject<{
|
|
647
|
+
name: z.ZodString;
|
|
648
|
+
version: z.ZodString;
|
|
649
|
+
sha256: z.ZodString;
|
|
650
|
+
}, z.core.$strip>>;
|
|
651
|
+
}, z.core.$strip>;
|
|
652
|
+
dataset: z.ZodObject<{
|
|
653
|
+
name: z.ZodNullable<z.ZodString>;
|
|
654
|
+
location: z.ZodNullable<z.ZodString>;
|
|
655
|
+
samples: z.ZodNullable<z.ZodNumber>;
|
|
656
|
+
selectedSampleId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
657
|
+
orderedSampleSha256: z.ZodOptional<z.ZodString>;
|
|
658
|
+
}, z.core.$strip>;
|
|
659
|
+
}, z.core.$strip>;
|
|
660
|
+
arms: z.ZodArray<z.ZodObject<{
|
|
661
|
+
armId: z.ZodString;
|
|
662
|
+
model: z.ZodString;
|
|
663
|
+
modelArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
|
|
664
|
+
modelRoles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
665
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
666
|
+
surface: z.ZodLiteral<"openai-responses">;
|
|
667
|
+
upstreamModel: z.ZodLiteral<"gpt-5.6-luna">;
|
|
668
|
+
reasoningEffort: z.ZodEnum<{
|
|
669
|
+
low: "low";
|
|
670
|
+
none: "none";
|
|
671
|
+
}>;
|
|
672
|
+
maxOutputTokens: z.ZodLiteral<128>;
|
|
673
|
+
store: z.ZodLiteral<false>;
|
|
674
|
+
background: z.ZodLiteral<false>;
|
|
675
|
+
stream: z.ZodLiteral<false>;
|
|
676
|
+
serviceTier: z.ZodLiteral<"default">;
|
|
677
|
+
tools: z.ZodTuple<[], null>;
|
|
678
|
+
fallbackModels: z.ZodTuple<[], null>;
|
|
679
|
+
retries: z.ZodLiteral<0>;
|
|
680
|
+
persistedConversation: z.ZodLiteral<false>;
|
|
681
|
+
metadata: z.ZodNull;
|
|
682
|
+
promptCacheIdentifier: z.ZodNull;
|
|
683
|
+
}, z.core.$strict>>;
|
|
684
|
+
}, z.core.$strip>>;
|
|
685
|
+
runOptions: z.ZodObject<{
|
|
686
|
+
sampleId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
687
|
+
maxSamples: z.ZodOptional<z.ZodNumber>;
|
|
688
|
+
maxSubprocesses: z.ZodOptional<z.ZodNumber>;
|
|
689
|
+
maxSandboxes: z.ZodOptional<z.ZodNumber>;
|
|
690
|
+
retryOnError: z.ZodOptional<z.ZodNumber>;
|
|
691
|
+
failOnError: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
|
|
692
|
+
messageLimit: z.ZodOptional<z.ZodNumber>;
|
|
693
|
+
tokenLimit: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
694
|
+
timeLimit: z.ZodOptional<z.ZodNumber>;
|
|
695
|
+
}, z.core.$strict>;
|
|
696
|
+
schema: z.ZodUnion<readonly [z.ZodLiteral<"jinn.network/benchmark-product/inspect-selection/3">, z.ZodLiteral<"jinn.network/benchmark-product/inspect-selection/4">]>;
|
|
697
|
+
}, z.core.$strict>]>;
|
|
698
|
+
export type InspectArmConfiguration = z.infer<typeof InspectArmConfigurationSchema>;
|
|
699
|
+
export type InspectRunOptions = z.infer<typeof InspectRunOptionsSchema>;
|
|
700
|
+
export type InspectSelectionManifest = z.infer<typeof InspectSelectionManifestSchema>;
|
|
701
|
+
export type InspectMultiScorerSelectionManifest = z.infer<typeof MultiScorerInspectSelectionManifestSchema>;
|
|
702
|
+
export type InspectSandboxPolicy = z.infer<typeof InspectSandboxPolicySchema>;
|
|
703
|
+
export declare function isInspectMultiScorerSelection(manifest: InspectSelectionManifest): manifest is InspectMultiScorerSelectionManifest;
|
|
704
|
+
/** Sealed runtime configuration is public-safe metadata, never a credential carrier. */
|
|
705
|
+
export declare function assertNoSecretLikeConfiguration(value: unknown, path?: string): void;
|
|
706
|
+
export {};
|