@peasant-labs/schema 0.43.0 → 0.45.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/fixtures/session-graph-capability.d.ts +49 -1
- package/dist/index.js +32 -4
- package/dist/internal/generated/content-capabilities.gen.d.ts +1 -0
- package/dist/internal/generated/content-capabilities.gen.js +4 -1
- package/dist/internal/generated/contract/zod.gen.d.ts +564 -2
- package/dist/internal/generated/contract/zod.gen.js +95 -3
- package/dist/internal/generated/enums.gen.d.ts +34 -7
- package/dist/internal/generated/enums.gen.js +31 -1
- package/dist/internal/generated/local-api.d.ts +28 -0
- package/dist/internal/generated/public-contract.gen.d.ts +2 -2
- package/dist/internal/generated/public-contract.gen.js +1 -1
- package/dist/internal/generated/session-graph-capability-fixtures.gen.d.ts +49 -1
- package/dist/internal/generated/session-graph-capability-fixtures.gen.js +62 -1
- package/dist/internal/generated/versions.gen.d.ts +3 -3
- package/dist/internal/generated/versions.gen.js +3 -3
- package/dist/internal/generated/village-api.d.ts +40 -0
- package/dist/internal/generated/wire-alias-shapes.gen.d.ts +23 -0
- package/dist/internal/generated/wire-alias-shapes.gen.js +23 -0
- package/package.json +1 -1
|
@@ -601,7 +601,7 @@ export type Confidence = z.infer<typeof zConfidence>;
|
|
|
601
601
|
/**
|
|
602
602
|
* Content Capability
|
|
603
603
|
*
|
|
604
|
-
* Opaque, forward-open revision token in the deployment-specific content-capability set. Clients use exact set membership, never parse _v1 as Semantic Versioning or infer ranges, ignore unknown tokens, and tolerate duplicate or unordered input. Servers emit only their pinned known inventory, reject duplicates, and serialize lexicographically; token meanings are immutable. observed_model_v1 is required iff any root or nested assistant turn has observedModel, not for session model alone, and guarantees assistant-only value validation before persistence with no invalid DB/blob side effects plus byte-exact accepted observedModel strings through storage, typed migration, rewrite, serving, and pull; JSON whitespace and key order are excluded. thinking_level_v1 is required iff the session detail carries thinkingLevel, thinkingLevelRaw, or a non-empty thinkingLevelHistory, or any main or earlier-history turn carries thinkingLevel or thinkingLevelRaw, and guarantees canonical, raw-bound, and assistant-only validation before persistence with no invalid side effects plus byte-exact preservation of the values, their history order, and their absence through storage, typed migration, rewrite, serving, and pull.
|
|
604
|
+
* Opaque, forward-open revision token in the deployment-specific content-capability set. Clients use exact set membership, never parse _v1 as Semantic Versioning or infer ranges, ignore unknown tokens, and tolerate duplicate or unordered input. Servers emit only their pinned known inventory, reject duplicates, and serialize lexicographically; token meanings are immutable. observed_model_v1 is required iff any root or nested assistant turn has observedModel, not for session model alone, and guarantees assistant-only value validation before persistence with no invalid DB/blob side effects plus byte-exact accepted observedModel strings through storage, typed migration, rewrite, serving, and pull; JSON whitespace and key order are excluded. thinking_level_v1 is required iff the session detail carries thinkingLevel, thinkingLevelRaw, or a non-empty thinkingLevelHistory, or any main or earlier-history turn carries thinkingLevel or thinkingLevelRaw, and guarantees canonical, raw-bound, and assistant-only validation before persistence with no invalid side effects plus byte-exact preservation of the values, their history order, and their absence through storage, typed migration, rewrite, serving, and pull. content_parts_v1 is required iff any main or earlier-history turn carries a non-empty contentParts list, text-only or image-bearing, and guarantees ordered preservation of every part through storage, typed migration, rewrite, serving, and publication, including the published not_published image shape.
|
|
605
605
|
*/
|
|
606
606
|
export declare const zContentCapability: z.ZodString;
|
|
607
607
|
export type ContentCapability = z.infer<typeof zContentCapability>;
|
|
@@ -825,6 +825,7 @@ export type EdgeViolation = z.infer<typeof zEdgeViolation>;
|
|
|
825
825
|
*/
|
|
826
826
|
export declare const zEntryType: z.ZodEnum<{
|
|
827
827
|
error: "error";
|
|
828
|
+
image: "image";
|
|
828
829
|
text: "text";
|
|
829
830
|
tool_use: "tool_use";
|
|
830
831
|
tool_result: "tool_result";
|
|
@@ -967,6 +968,16 @@ export type HealthResponse = z.infer<typeof zHealthResponse>;
|
|
|
967
968
|
*/
|
|
968
969
|
export declare const zHostSlug: z.ZodString;
|
|
969
970
|
export type HostSlug = z.infer<typeof zHostSlug>;
|
|
971
|
+
/**
|
|
972
|
+
* Image Media Type
|
|
973
|
+
*
|
|
974
|
+
* Recorded image media type: image/png or image/jpeg
|
|
975
|
+
*/
|
|
976
|
+
export declare const zImageMediaType: z.ZodEnum<{
|
|
977
|
+
"image/png": "image/png";
|
|
978
|
+
"image/jpeg": "image/jpeg";
|
|
979
|
+
}>;
|
|
980
|
+
export type ImageMediaType = z.infer<typeof zImageMediaType>;
|
|
970
981
|
/**
|
|
971
982
|
* Input Modality
|
|
972
983
|
*
|
|
@@ -1364,6 +1375,35 @@ export type NativePiMessageRole = z.infer<typeof zNativePiMessageRole>;
|
|
|
1364
1375
|
*/
|
|
1365
1376
|
export declare const zObservedModelID: z.ZodString;
|
|
1366
1377
|
export type ObservedModelID = z.infer<typeof zObservedModelID>;
|
|
1378
|
+
/**
|
|
1379
|
+
* Omitted Reason
|
|
1380
|
+
*
|
|
1381
|
+
* Why an image part carries no bytes: unsupported (wins for a non-recorded media type), too_large, missing, or not_published
|
|
1382
|
+
*/
|
|
1383
|
+
export declare const zOmittedReason: z.ZodEnum<{
|
|
1384
|
+
too_large: "too_large";
|
|
1385
|
+
unsupported: "unsupported";
|
|
1386
|
+
missing: "missing";
|
|
1387
|
+
not_published: "not_published";
|
|
1388
|
+
}>;
|
|
1389
|
+
export type OmittedReason = z.infer<typeof zOmittedReason>;
|
|
1390
|
+
export declare const zImagePart: z.ZodObject<{
|
|
1391
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
1392
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
1393
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
1394
|
+
"image/png": "image/png";
|
|
1395
|
+
"image/jpeg": "image/jpeg";
|
|
1396
|
+
}>>;
|
|
1397
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
1398
|
+
too_large: "too_large";
|
|
1399
|
+
unsupported: "unsupported";
|
|
1400
|
+
missing: "missing";
|
|
1401
|
+
not_published: "not_published";
|
|
1402
|
+
}>>;
|
|
1403
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
1404
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
1405
|
+
}, z.core.$strip>;
|
|
1406
|
+
export type ImagePart = z.infer<typeof zImagePart>;
|
|
1367
1407
|
/**
|
|
1368
1408
|
* Operation Issue Code
|
|
1369
1409
|
*
|
|
@@ -5537,6 +5577,7 @@ export declare const zAuthoritativeSessionEntry: z.ZodObject<{
|
|
|
5537
5577
|
entryIndex: z.ZodInt;
|
|
5538
5578
|
entryType: z.ZodEnum<{
|
|
5539
5579
|
error: "error";
|
|
5580
|
+
image: "image";
|
|
5540
5581
|
text: "text";
|
|
5541
5582
|
tool_use: "tool_use";
|
|
5542
5583
|
tool_result: "tool_result";
|
|
@@ -5663,6 +5704,7 @@ export declare const zCanonicalPublishReplacement: z.ZodObject<{
|
|
|
5663
5704
|
entryIndex: z.ZodInt;
|
|
5664
5705
|
entryType: z.ZodEnum<{
|
|
5665
5706
|
error: "error";
|
|
5707
|
+
image: "image";
|
|
5666
5708
|
text: "text";
|
|
5667
5709
|
tool_use: "tool_use";
|
|
5668
5710
|
tool_result: "tool_result";
|
|
@@ -5933,6 +5975,7 @@ export declare const zSessionEntry: z.ZodObject<{
|
|
|
5933
5975
|
entryIndex: z.ZodInt;
|
|
5934
5976
|
entryType: z.ZodEnum<{
|
|
5935
5977
|
error: "error";
|
|
5978
|
+
image: "image";
|
|
5936
5979
|
text: "text";
|
|
5937
5980
|
tool_use: "tool_use";
|
|
5938
5981
|
tool_result: "tool_result";
|
|
@@ -6059,6 +6102,7 @@ export declare const zPublishRequest: z.ZodObject<{
|
|
|
6059
6102
|
entryIndex: z.ZodInt;
|
|
6060
6103
|
entryType: z.ZodEnum<{
|
|
6061
6104
|
error: "error";
|
|
6105
|
+
image: "image";
|
|
6062
6106
|
text: "text";
|
|
6063
6107
|
tool_use: "tool_use";
|
|
6064
6108
|
tool_result: "tool_result";
|
|
@@ -6342,6 +6386,7 @@ export declare const zCanonicalPublishOperation: z.ZodObject<{
|
|
|
6342
6386
|
entryIndex: z.ZodInt;
|
|
6343
6387
|
entryType: z.ZodEnum<{
|
|
6344
6388
|
error: "error";
|
|
6389
|
+
image: "image";
|
|
6345
6390
|
text: "text";
|
|
6346
6391
|
tool_use: "tool_use";
|
|
6347
6392
|
tool_result: "tool_result";
|
|
@@ -7227,6 +7272,40 @@ export declare const zTrendsPayload: z.ZodObject<{
|
|
|
7227
7272
|
totalTokens: z.ZodInt;
|
|
7228
7273
|
}, z.core.$strip>;
|
|
7229
7274
|
export type TrendsPayload = z.infer<typeof zTrendsPayload>;
|
|
7275
|
+
/**
|
|
7276
|
+
* Turn Part Type
|
|
7277
|
+
*
|
|
7278
|
+
* Kind of one ordered turn content part: text or image
|
|
7279
|
+
*/
|
|
7280
|
+
export declare const zTurnPartType: z.ZodEnum<{
|
|
7281
|
+
image: "image";
|
|
7282
|
+
text: "text";
|
|
7283
|
+
}>;
|
|
7284
|
+
export type TurnPartType = z.infer<typeof zTurnPartType>;
|
|
7285
|
+
export declare const zTurnContentPart: z.ZodObject<{
|
|
7286
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
7287
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
7288
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
7289
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
7290
|
+
"image/png": "image/png";
|
|
7291
|
+
"image/jpeg": "image/jpeg";
|
|
7292
|
+
}>>;
|
|
7293
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
7294
|
+
too_large: "too_large";
|
|
7295
|
+
unsupported: "unsupported";
|
|
7296
|
+
missing: "missing";
|
|
7297
|
+
not_published: "not_published";
|
|
7298
|
+
}>>;
|
|
7299
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
7300
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
7301
|
+
}, z.core.$strip>>;
|
|
7302
|
+
text: z.ZodOptional<z.ZodString>;
|
|
7303
|
+
type: z.ZodEnum<{
|
|
7304
|
+
image: "image";
|
|
7305
|
+
text: "text";
|
|
7306
|
+
}>;
|
|
7307
|
+
}, z.core.$strip>;
|
|
7308
|
+
export type TurnContentPart = z.infer<typeof zTurnContentPart>;
|
|
7230
7309
|
/**
|
|
7231
7310
|
* Type Origin
|
|
7232
7311
|
*
|
|
@@ -7851,10 +7930,34 @@ export declare const zTranscriptTurn: z.ZodObject<{
|
|
|
7851
7930
|
name: z.ZodString;
|
|
7852
7931
|
}, z.core.$strip>>;
|
|
7853
7932
|
content: z.ZodString;
|
|
7933
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7934
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
7935
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
7936
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
7937
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
7938
|
+
"image/png": "image/png";
|
|
7939
|
+
"image/jpeg": "image/jpeg";
|
|
7940
|
+
}>>;
|
|
7941
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
7942
|
+
too_large: "too_large";
|
|
7943
|
+
unsupported: "unsupported";
|
|
7944
|
+
missing: "missing";
|
|
7945
|
+
not_published: "not_published";
|
|
7946
|
+
}>>;
|
|
7947
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
7948
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
7949
|
+
}, z.core.$strip>>;
|
|
7950
|
+
text: z.ZodOptional<z.ZodString>;
|
|
7951
|
+
type: z.ZodEnum<{
|
|
7952
|
+
image: "image";
|
|
7953
|
+
text: "text";
|
|
7954
|
+
}>;
|
|
7955
|
+
}, z.core.$strip>>>;
|
|
7854
7956
|
controlKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7855
7957
|
depth: z.ZodInt;
|
|
7856
7958
|
entryType: z.ZodOptional<z.ZodEnum<{
|
|
7857
7959
|
error: "error";
|
|
7960
|
+
image: "image";
|
|
7858
7961
|
text: "text";
|
|
7859
7962
|
tool_use: "tool_use";
|
|
7860
7963
|
tool_result: "tool_result";
|
|
@@ -8147,10 +8250,34 @@ export declare const zTranscriptSegment: z.ZodObject<{
|
|
|
8147
8250
|
name: z.ZodString;
|
|
8148
8251
|
}, z.core.$strip>>;
|
|
8149
8252
|
content: z.ZodString;
|
|
8253
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8254
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
8255
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
8256
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
8257
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
8258
|
+
"image/png": "image/png";
|
|
8259
|
+
"image/jpeg": "image/jpeg";
|
|
8260
|
+
}>>;
|
|
8261
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
8262
|
+
too_large: "too_large";
|
|
8263
|
+
unsupported: "unsupported";
|
|
8264
|
+
missing: "missing";
|
|
8265
|
+
not_published: "not_published";
|
|
8266
|
+
}>>;
|
|
8267
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
8268
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
8269
|
+
}, z.core.$strip>>;
|
|
8270
|
+
text: z.ZodOptional<z.ZodString>;
|
|
8271
|
+
type: z.ZodEnum<{
|
|
8272
|
+
image: "image";
|
|
8273
|
+
text: "text";
|
|
8274
|
+
}>;
|
|
8275
|
+
}, z.core.$strip>>>;
|
|
8150
8276
|
controlKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8151
8277
|
depth: z.ZodInt;
|
|
8152
8278
|
entryType: z.ZodOptional<z.ZodEnum<{
|
|
8153
8279
|
error: "error";
|
|
8280
|
+
image: "image";
|
|
8154
8281
|
text: "text";
|
|
8155
8282
|
tool_use: "tool_use";
|
|
8156
8283
|
tool_result: "tool_result";
|
|
@@ -8435,10 +8562,34 @@ export declare const zTurnDetail: z.ZodObject<{
|
|
|
8435
8562
|
name: z.ZodString;
|
|
8436
8563
|
}, z.core.$strip>>>;
|
|
8437
8564
|
content: z.ZodString;
|
|
8565
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8566
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
8567
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
8568
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
8569
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
8570
|
+
"image/png": "image/png";
|
|
8571
|
+
"image/jpeg": "image/jpeg";
|
|
8572
|
+
}>>;
|
|
8573
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
8574
|
+
too_large: "too_large";
|
|
8575
|
+
unsupported: "unsupported";
|
|
8576
|
+
missing: "missing";
|
|
8577
|
+
not_published: "not_published";
|
|
8578
|
+
}>>;
|
|
8579
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
8580
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
8581
|
+
}, z.core.$strip>>;
|
|
8582
|
+
text: z.ZodOptional<z.ZodString>;
|
|
8583
|
+
type: z.ZodEnum<{
|
|
8584
|
+
image: "image";
|
|
8585
|
+
text: "text";
|
|
8586
|
+
}>;
|
|
8587
|
+
}, z.core.$strip>>>;
|
|
8438
8588
|
controlKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8439
8589
|
depth: z.ZodInt;
|
|
8440
8590
|
entryType: z.ZodOptional<z.ZodEnum<{
|
|
8441
8591
|
error: "error";
|
|
8592
|
+
image: "image";
|
|
8442
8593
|
text: "text";
|
|
8443
8594
|
tool_use: "tool_use";
|
|
8444
8595
|
tool_result: "tool_result";
|
|
@@ -8755,10 +8906,34 @@ export declare const zEarlierHistorySection: z.ZodObject<{
|
|
|
8755
8906
|
name: z.ZodString;
|
|
8756
8907
|
}, z.core.$strip>>>;
|
|
8757
8908
|
content: z.ZodString;
|
|
8909
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8910
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
8911
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
8912
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
8913
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
8914
|
+
"image/png": "image/png";
|
|
8915
|
+
"image/jpeg": "image/jpeg";
|
|
8916
|
+
}>>;
|
|
8917
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
8918
|
+
too_large: "too_large";
|
|
8919
|
+
unsupported: "unsupported";
|
|
8920
|
+
missing: "missing";
|
|
8921
|
+
not_published: "not_published";
|
|
8922
|
+
}>>;
|
|
8923
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
8924
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
8925
|
+
}, z.core.$strip>>;
|
|
8926
|
+
text: z.ZodOptional<z.ZodString>;
|
|
8927
|
+
type: z.ZodEnum<{
|
|
8928
|
+
image: "image";
|
|
8929
|
+
text: "text";
|
|
8930
|
+
}>;
|
|
8931
|
+
}, z.core.$strip>>>;
|
|
8758
8932
|
controlKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8759
8933
|
depth: z.ZodInt;
|
|
8760
8934
|
entryType: z.ZodOptional<z.ZodEnum<{
|
|
8761
8935
|
error: "error";
|
|
8936
|
+
image: "image";
|
|
8762
8937
|
text: "text";
|
|
8763
8938
|
tool_use: "tool_use";
|
|
8764
8939
|
tool_result: "tool_result";
|
|
@@ -9086,10 +9261,34 @@ export declare const zSessionDetailPayload: z.ZodObject<{
|
|
|
9086
9261
|
name: z.ZodString;
|
|
9087
9262
|
}, z.core.$strip>>>;
|
|
9088
9263
|
content: z.ZodString;
|
|
9264
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9265
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
9266
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
9267
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
9268
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
9269
|
+
"image/png": "image/png";
|
|
9270
|
+
"image/jpeg": "image/jpeg";
|
|
9271
|
+
}>>;
|
|
9272
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
9273
|
+
too_large: "too_large";
|
|
9274
|
+
unsupported: "unsupported";
|
|
9275
|
+
missing: "missing";
|
|
9276
|
+
not_published: "not_published";
|
|
9277
|
+
}>>;
|
|
9278
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
9279
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
9280
|
+
}, z.core.$strip>>;
|
|
9281
|
+
text: z.ZodOptional<z.ZodString>;
|
|
9282
|
+
type: z.ZodEnum<{
|
|
9283
|
+
image: "image";
|
|
9284
|
+
text: "text";
|
|
9285
|
+
}>;
|
|
9286
|
+
}, z.core.$strip>>>;
|
|
9089
9287
|
controlKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9090
9288
|
depth: z.ZodInt;
|
|
9091
9289
|
entryType: z.ZodOptional<z.ZodEnum<{
|
|
9092
9290
|
error: "error";
|
|
9291
|
+
image: "image";
|
|
9093
9292
|
text: "text";
|
|
9094
9293
|
tool_use: "tool_use";
|
|
9095
9294
|
tool_result: "tool_result";
|
|
@@ -9530,10 +9729,34 @@ export declare const zSessionDetailPayload: z.ZodObject<{
|
|
|
9530
9729
|
name: z.ZodString;
|
|
9531
9730
|
}, z.core.$strip>>>;
|
|
9532
9731
|
content: z.ZodString;
|
|
9732
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9733
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
9734
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
9735
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
9736
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
9737
|
+
"image/png": "image/png";
|
|
9738
|
+
"image/jpeg": "image/jpeg";
|
|
9739
|
+
}>>;
|
|
9740
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
9741
|
+
too_large: "too_large";
|
|
9742
|
+
unsupported: "unsupported";
|
|
9743
|
+
missing: "missing";
|
|
9744
|
+
not_published: "not_published";
|
|
9745
|
+
}>>;
|
|
9746
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
9747
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
9748
|
+
}, z.core.$strip>>;
|
|
9749
|
+
text: z.ZodOptional<z.ZodString>;
|
|
9750
|
+
type: z.ZodEnum<{
|
|
9751
|
+
image: "image";
|
|
9752
|
+
text: "text";
|
|
9753
|
+
}>;
|
|
9754
|
+
}, z.core.$strip>>>;
|
|
9533
9755
|
controlKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9534
9756
|
depth: z.ZodInt;
|
|
9535
9757
|
entryType: z.ZodOptional<z.ZodEnum<{
|
|
9536
9758
|
error: "error";
|
|
9759
|
+
image: "image";
|
|
9537
9760
|
text: "text";
|
|
9538
9761
|
tool_use: "tool_use";
|
|
9539
9762
|
tool_result: "tool_result";
|
|
@@ -9862,10 +10085,34 @@ export declare const zSessionDetailReadPayload: z.ZodObject<{
|
|
|
9862
10085
|
name: z.ZodString;
|
|
9863
10086
|
}, z.core.$strip>>>;
|
|
9864
10087
|
content: z.ZodString;
|
|
10088
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10089
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
10090
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
10091
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
10092
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
10093
|
+
"image/png": "image/png";
|
|
10094
|
+
"image/jpeg": "image/jpeg";
|
|
10095
|
+
}>>;
|
|
10096
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
10097
|
+
too_large: "too_large";
|
|
10098
|
+
unsupported: "unsupported";
|
|
10099
|
+
missing: "missing";
|
|
10100
|
+
not_published: "not_published";
|
|
10101
|
+
}>>;
|
|
10102
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
10103
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
10104
|
+
}, z.core.$strip>>;
|
|
10105
|
+
text: z.ZodOptional<z.ZodString>;
|
|
10106
|
+
type: z.ZodEnum<{
|
|
10107
|
+
image: "image";
|
|
10108
|
+
text: "text";
|
|
10109
|
+
}>;
|
|
10110
|
+
}, z.core.$strip>>>;
|
|
9865
10111
|
controlKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9866
10112
|
depth: z.ZodInt;
|
|
9867
10113
|
entryType: z.ZodOptional<z.ZodEnum<{
|
|
9868
10114
|
error: "error";
|
|
10115
|
+
image: "image";
|
|
9869
10116
|
text: "text";
|
|
9870
10117
|
tool_use: "tool_use";
|
|
9871
10118
|
tool_result: "tool_result";
|
|
@@ -10345,10 +10592,34 @@ export declare const zSessionDetailReadPayload: z.ZodObject<{
|
|
|
10345
10592
|
name: z.ZodString;
|
|
10346
10593
|
}, z.core.$strip>>>;
|
|
10347
10594
|
content: z.ZodString;
|
|
10595
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10596
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
10597
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
10598
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
10599
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
10600
|
+
"image/png": "image/png";
|
|
10601
|
+
"image/jpeg": "image/jpeg";
|
|
10602
|
+
}>>;
|
|
10603
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
10604
|
+
too_large: "too_large";
|
|
10605
|
+
unsupported: "unsupported";
|
|
10606
|
+
missing: "missing";
|
|
10607
|
+
not_published: "not_published";
|
|
10608
|
+
}>>;
|
|
10609
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
10610
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
10611
|
+
}, z.core.$strip>>;
|
|
10612
|
+
text: z.ZodOptional<z.ZodString>;
|
|
10613
|
+
type: z.ZodEnum<{
|
|
10614
|
+
image: "image";
|
|
10615
|
+
text: "text";
|
|
10616
|
+
}>;
|
|
10617
|
+
}, z.core.$strip>>>;
|
|
10348
10618
|
controlKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10349
10619
|
depth: z.ZodInt;
|
|
10350
10620
|
entryType: z.ZodOptional<z.ZodEnum<{
|
|
10351
10621
|
error: "error";
|
|
10622
|
+
image: "image";
|
|
10352
10623
|
text: "text";
|
|
10353
10624
|
tool_use: "tool_use";
|
|
10354
10625
|
tool_result: "tool_result";
|
|
@@ -10682,10 +10953,34 @@ export declare const zTranscriptContent: z.ZodObject<{
|
|
|
10682
10953
|
name: z.ZodString;
|
|
10683
10954
|
}, z.core.$strip>>>;
|
|
10684
10955
|
content: z.ZodString;
|
|
10956
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10957
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
10958
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
10959
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
10960
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
10961
|
+
"image/png": "image/png";
|
|
10962
|
+
"image/jpeg": "image/jpeg";
|
|
10963
|
+
}>>;
|
|
10964
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
10965
|
+
too_large: "too_large";
|
|
10966
|
+
unsupported: "unsupported";
|
|
10967
|
+
missing: "missing";
|
|
10968
|
+
not_published: "not_published";
|
|
10969
|
+
}>>;
|
|
10970
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
10971
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
10972
|
+
}, z.core.$strip>>;
|
|
10973
|
+
text: z.ZodOptional<z.ZodString>;
|
|
10974
|
+
type: z.ZodEnum<{
|
|
10975
|
+
image: "image";
|
|
10976
|
+
text: "text";
|
|
10977
|
+
}>;
|
|
10978
|
+
}, z.core.$strip>>>;
|
|
10685
10979
|
controlKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10686
10980
|
depth: z.ZodInt;
|
|
10687
10981
|
entryType: z.ZodOptional<z.ZodEnum<{
|
|
10688
10982
|
error: "error";
|
|
10983
|
+
image: "image";
|
|
10689
10984
|
text: "text";
|
|
10690
10985
|
tool_use: "tool_use";
|
|
10691
10986
|
tool_result: "tool_result";
|
|
@@ -11126,10 +11421,34 @@ export declare const zTranscriptContent: z.ZodObject<{
|
|
|
11126
11421
|
name: z.ZodString;
|
|
11127
11422
|
}, z.core.$strip>>>;
|
|
11128
11423
|
content: z.ZodString;
|
|
11424
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11425
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
11426
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
11427
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
11428
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
11429
|
+
"image/png": "image/png";
|
|
11430
|
+
"image/jpeg": "image/jpeg";
|
|
11431
|
+
}>>;
|
|
11432
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
11433
|
+
too_large: "too_large";
|
|
11434
|
+
unsupported: "unsupported";
|
|
11435
|
+
missing: "missing";
|
|
11436
|
+
not_published: "not_published";
|
|
11437
|
+
}>>;
|
|
11438
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
11439
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
11440
|
+
}, z.core.$strip>>;
|
|
11441
|
+
text: z.ZodOptional<z.ZodString>;
|
|
11442
|
+
type: z.ZodEnum<{
|
|
11443
|
+
image: "image";
|
|
11444
|
+
text: "text";
|
|
11445
|
+
}>;
|
|
11446
|
+
}, z.core.$strip>>>;
|
|
11129
11447
|
controlKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11130
11448
|
depth: z.ZodInt;
|
|
11131
11449
|
entryType: z.ZodOptional<z.ZodEnum<{
|
|
11132
11450
|
error: "error";
|
|
11451
|
+
image: "image";
|
|
11133
11452
|
text: "text";
|
|
11134
11453
|
tool_use: "tool_use";
|
|
11135
11454
|
tool_result: "tool_result";
|
|
@@ -16013,8 +16332,201 @@ export declare const zVillageTranscriptListRow: z.ZodObject<{
|
|
|
16013
16332
|
export type VillageTranscriptListRow = z.infer<typeof zVillageTranscriptListRow>;
|
|
16014
16333
|
export declare const zVillageTranscriptListResponse: z.ZodObject<{
|
|
16015
16334
|
agent_total: z.ZodInt;
|
|
16016
|
-
|
|
16335
|
+
next_items: z.ZodArray<z.ZodObject<{
|
|
16336
|
+
attestations: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16337
|
+
attestation_type: z.ZodString;
|
|
16338
|
+
created_at: z.ZodISODateTime;
|
|
16339
|
+
org_login: z.ZodString;
|
|
16340
|
+
transcript_id: z.ZodUUID;
|
|
16341
|
+
}, z.core.$strip>>>;
|
|
16342
|
+
owner: z.ZodUnion<readonly [z.ZodObject<{
|
|
16343
|
+
avatar_url: z.ZodNullable<z.ZodString>;
|
|
16344
|
+
display_name: z.ZodNullable<z.ZodString>;
|
|
16345
|
+
id: z.ZodUUID;
|
|
16346
|
+
kind: z.ZodLiteral<"profile">;
|
|
16347
|
+
username: z.ZodString;
|
|
16348
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16349
|
+
kind: z.ZodLiteral<"anonymous">;
|
|
16350
|
+
}, z.core.$strip>, z.ZodPipe<z.ZodObject<{
|
|
16351
|
+
kind: z.ZodString;
|
|
16352
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
16353
|
+
kind: "anonymous";
|
|
16354
|
+
}, {
|
|
16355
|
+
kind: string;
|
|
16356
|
+
}>>]>;
|
|
16357
|
+
owner_orgs: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16358
|
+
avatar_url: z.ZodNullable<z.ZodString>;
|
|
16359
|
+
org_login: z.ZodString;
|
|
16360
|
+
}, z.core.$strip>>>;
|
|
16361
|
+
pull_requests: z.ZodObject<{
|
|
16362
|
+
count: z.ZodInt;
|
|
16363
|
+
recent: z.ZodArray<z.ZodObject<{
|
|
16364
|
+
name: z.ZodString;
|
|
16365
|
+
number: z.ZodInt;
|
|
16366
|
+
owner: z.ZodString;
|
|
16367
|
+
}, z.core.$strip>>;
|
|
16368
|
+
}, z.core.$strip>;
|
|
16369
|
+
shares: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16370
|
+
acceptance_mode: z.ZodEnum<{
|
|
16371
|
+
open: "open";
|
|
16372
|
+
verified_only: "verified_only";
|
|
16373
|
+
curated: "curated";
|
|
16374
|
+
}>;
|
|
16375
|
+
group_id: z.ZodUUID;
|
|
16376
|
+
group_name: z.ZodString;
|
|
16377
|
+
shared_at: z.ZodISODateTime;
|
|
16378
|
+
status: z.ZodEnum<{
|
|
16379
|
+
pending: "pending";
|
|
16380
|
+
rejected: "rejected";
|
|
16381
|
+
approved: "approved";
|
|
16382
|
+
retracted: "retracted";
|
|
16383
|
+
revoked: "revoked";
|
|
16384
|
+
}>;
|
|
16385
|
+
transcript_id: z.ZodUUID;
|
|
16386
|
+
}, z.core.$strip>>>;
|
|
16387
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
16388
|
+
id: z.ZodUUID;
|
|
16389
|
+
name: z.ZodString;
|
|
16390
|
+
}, z.core.$strip>>;
|
|
16391
|
+
transcript: z.ZodObject<{
|
|
16392
|
+
blob_size_bytes: z.ZodNullable<z.ZodInt>;
|
|
16393
|
+
compute_version: z.ZodNullable<z.ZodInt>;
|
|
16394
|
+
computed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
16395
|
+
content_hash: z.ZodNullable<z.ZodString>;
|
|
16396
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16397
|
+
diagnostics_partial: z.ZodNullable<z.ZodBoolean>;
|
|
16398
|
+
diagnostics_warnings: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16399
|
+
errorType: z.ZodString;
|
|
16400
|
+
location: z.ZodString;
|
|
16401
|
+
message: z.ZodString;
|
|
16402
|
+
remediation: z.ZodString;
|
|
16403
|
+
}, z.core.$strip>>>;
|
|
16404
|
+
discovery_turns: z.ZodNullable<z.ZodInt>;
|
|
16405
|
+
duration_ms: z.ZodNullable<z.ZodInt>;
|
|
16406
|
+
exploration_ratio: z.ZodNullable<z.ZodNumber>;
|
|
16407
|
+
files_touched: z.ZodNullable<z.ZodInt>;
|
|
16408
|
+
git_branch: z.ZodNullable<z.ZodString>;
|
|
16409
|
+
git_remote: z.ZodNullable<z.ZodString>;
|
|
16410
|
+
harness_version: z.ZodNullable<z.ZodString>;
|
|
16411
|
+
id: z.ZodUUID;
|
|
16412
|
+
ingested_at: z.ZodNullable<z.ZodISODateTime>;
|
|
16413
|
+
input_submission_count: z.ZodOptional<z.ZodInt>;
|
|
16414
|
+
license_id: z.ZodNullable<z.ZodEnum<{
|
|
16415
|
+
"CC0-1.0": "CC0-1.0";
|
|
16416
|
+
"CC-BY-4.0": "CC-BY-4.0";
|
|
16417
|
+
"CC-BY-SA-4.0": "CC-BY-SA-4.0";
|
|
16418
|
+
}>>;
|
|
16419
|
+
lines_changed: z.ZodNullable<z.ZodInt>;
|
|
16420
|
+
local_id: z.ZodString;
|
|
16421
|
+
m2_token_outcome_ratio: z.ZodNullable<z.ZodNumber>;
|
|
16422
|
+
m3_unique_tool_count: z.ZodNullable<z.ZodInt>;
|
|
16423
|
+
m4_consecutive_error_max: z.ZodNullable<z.ZodInt>;
|
|
16424
|
+
m4_error_recovery_count: z.ZodNullable<z.ZodInt>;
|
|
16425
|
+
m5_avg_message_tokens: z.ZodNullable<z.ZodInt>;
|
|
16426
|
+
m5_context_utilization_pct: z.ZodNullable<z.ZodNumber>;
|
|
16427
|
+
m5_peak_context_tokens: z.ZodNullable<z.ZodInt>;
|
|
16428
|
+
m6_lines_survived: z.ZodNullable<z.ZodInt>;
|
|
16429
|
+
m6_lines_total: z.ZodNullable<z.ZodInt>;
|
|
16430
|
+
m6_output_survival_pct: z.ZodNullable<z.ZodNumber>;
|
|
16431
|
+
m7_spec_has_constraints: z.ZodNullable<z.ZodBoolean>;
|
|
16432
|
+
m7_spec_has_examples: z.ZodNullable<z.ZodBoolean>;
|
|
16433
|
+
m7_spec_word_count: z.ZodNullable<z.ZodInt>;
|
|
16434
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
16435
|
+
model_provider: z.ZodString;
|
|
16436
|
+
outcome: z.ZodNullable<z.ZodEnum<{
|
|
16437
|
+
failed: "failed";
|
|
16438
|
+
partial: "partial";
|
|
16439
|
+
resolved: "resolved";
|
|
16440
|
+
}>>;
|
|
16441
|
+
parent_session_id: z.ZodNullable<z.ZodString>;
|
|
16442
|
+
parent_transcript_id: z.ZodNullable<z.ZodUUID>;
|
|
16443
|
+
project_display_name: z.ZodNullable<z.ZodString>;
|
|
16444
|
+
project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
|
|
16445
|
+
project_name: z.ZodNullable<z.ZodString>;
|
|
16446
|
+
project_name_source: z.ZodNullable<z.ZodEnum<{
|
|
16447
|
+
path: "path";
|
|
16448
|
+
remote: "remote";
|
|
16449
|
+
override: "override";
|
|
16450
|
+
consented: "consented";
|
|
16451
|
+
privacy: "privacy";
|
|
16452
|
+
}>>;
|
|
16453
|
+
project_remote_label: z.ZodNullable<z.ZodString>;
|
|
16454
|
+
published_at: z.ZodISODateTime;
|
|
16455
|
+
purpose: z.ZodOptional<z.ZodEnum<{
|
|
16456
|
+
unknown: "unknown";
|
|
16457
|
+
interaction: "interaction";
|
|
16458
|
+
delegated_work: "delegated_work";
|
|
16459
|
+
helper_review: "helper_review";
|
|
16460
|
+
}>>;
|
|
16461
|
+
relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16462
|
+
anchor: z.ZodOptional<z.ZodObject<{
|
|
16463
|
+
kind: z.ZodEnum<{
|
|
16464
|
+
general_source_session: "general_source_session";
|
|
16465
|
+
before_redacted_entry: "before_redacted_entry";
|
|
16466
|
+
through_redacted_entry: "through_redacted_entry";
|
|
16467
|
+
}>;
|
|
16468
|
+
sourceEntryRef: z.ZodOptional<z.ZodString>;
|
|
16469
|
+
sourceRevisionRef: z.ZodOptional<z.ZodString>;
|
|
16470
|
+
}, z.core.$strict>>;
|
|
16471
|
+
evidence: z.ZodEnum<{
|
|
16472
|
+
unknown: "unknown";
|
|
16473
|
+
native_typed: "native_typed";
|
|
16474
|
+
lifecycle_typed: "lifecycle_typed";
|
|
16475
|
+
existing_adapter: "existing_adapter";
|
|
16476
|
+
retained_last_good: "retained_last_good";
|
|
16477
|
+
conflict: "conflict";
|
|
16478
|
+
}>;
|
|
16479
|
+
kind: z.ZodEnum<{
|
|
16480
|
+
started_by: "started_by";
|
|
16481
|
+
context_from: "context_from";
|
|
16482
|
+
}>;
|
|
16483
|
+
targetLocalId: z.ZodOptional<z.ZodString>;
|
|
16484
|
+
targetState: z.ZodEnum<{
|
|
16485
|
+
unknown: "unknown";
|
|
16486
|
+
target_known: "target_known";
|
|
16487
|
+
target_known_retained: "target_known_retained";
|
|
16488
|
+
explicit_none: "explicit_none";
|
|
16489
|
+
conflicting_current_native_evidence: "conflicting_current_native_evidence";
|
|
16490
|
+
}>;
|
|
16491
|
+
}, z.core.$strict>>>;
|
|
16492
|
+
retry_loops: z.ZodNullable<z.ZodInt>;
|
|
16493
|
+
retry_tokens_wasted: z.ZodNullable<z.ZodInt>;
|
|
16494
|
+
root_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16495
|
+
schema_version: z.ZodString;
|
|
16496
|
+
scope_breadth: z.ZodNullable<z.ZodInt>;
|
|
16497
|
+
session_end: z.ZodNullable<z.ZodISODateTime>;
|
|
16498
|
+
session_origin: z.ZodEnum<{
|
|
16499
|
+
unknown: "unknown";
|
|
16500
|
+
user: "user";
|
|
16501
|
+
agent: "agent";
|
|
16502
|
+
}>;
|
|
16503
|
+
session_start: z.ZodNullable<z.ZodISODateTime>;
|
|
16504
|
+
signal_density: z.ZodNullable<z.ZodNumber>;
|
|
16505
|
+
source_format: z.ZodNullable<z.ZodEnum<{
|
|
16506
|
+
json: "json";
|
|
16507
|
+
jsonl: "jsonl";
|
|
16508
|
+
}>>;
|
|
16509
|
+
spec_quality_score: z.ZodNullable<z.ZodNumber>;
|
|
16510
|
+
subagent_count: z.ZodNullable<z.ZodInt>;
|
|
16511
|
+
subagents: z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16512
|
+
title: z.ZodNullable<z.ZodString>;
|
|
16513
|
+
title_generated: z.ZodNullable<z.ZodString>;
|
|
16514
|
+
token_count: z.ZodNullable<z.ZodInt>;
|
|
16515
|
+
tokens_in: z.ZodNullable<z.ZodInt>;
|
|
16516
|
+
tokens_out: z.ZodNullable<z.ZodInt>;
|
|
16517
|
+
tool_call_count: z.ZodNullable<z.ZodInt>;
|
|
16518
|
+
turn_count: z.ZodNullable<z.ZodInt>;
|
|
16519
|
+
updated_at: z.ZodISODateTime;
|
|
16520
|
+
visibility: z.ZodEnum<{
|
|
16521
|
+
shared: "shared";
|
|
16522
|
+
private: "private";
|
|
16523
|
+
public: "public";
|
|
16524
|
+
}>;
|
|
16525
|
+
within_session_reverts: z.ZodNullable<z.ZodInt>;
|
|
16526
|
+
}, z.core.$strip>;
|
|
16527
|
+
}, z.core.$strip>>;
|
|
16017
16528
|
page: z.ZodInt;
|
|
16529
|
+
per_page: z.ZodInt;
|
|
16018
16530
|
total: z.ZodInt;
|
|
16019
16531
|
transcripts: z.ZodArray<z.ZodObject<{
|
|
16020
16532
|
attestations: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -21726,6 +22238,7 @@ export declare const zAuthoritativePublishRequest: z.ZodObject<{
|
|
|
21726
22238
|
entryIndex: z.ZodInt;
|
|
21727
22239
|
entryType: z.ZodEnum<{
|
|
21728
22240
|
error: "error";
|
|
22241
|
+
image: "image";
|
|
21729
22242
|
text: "text";
|
|
21730
22243
|
tool_use: "tool_use";
|
|
21731
22244
|
tool_result: "tool_result";
|
|
@@ -22026,6 +22539,7 @@ export declare const zScryCheckRequest: z.ZodObject<{
|
|
|
22026
22539
|
entryIndex: z.ZodInt;
|
|
22027
22540
|
entryType: z.ZodEnum<{
|
|
22028
22541
|
error: "error";
|
|
22542
|
+
image: "image";
|
|
22029
22543
|
text: "text";
|
|
22030
22544
|
tool_use: "tool_use";
|
|
22031
22545
|
tool_result: "tool_result";
|
|
@@ -22356,10 +22870,34 @@ export declare const zScryCheckRequest: z.ZodObject<{
|
|
|
22356
22870
|
name: z.ZodString;
|
|
22357
22871
|
}, z.core.$strip>>>;
|
|
22358
22872
|
content: z.ZodString;
|
|
22873
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22874
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
22875
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
22876
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
22877
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
22878
|
+
"image/png": "image/png";
|
|
22879
|
+
"image/jpeg": "image/jpeg";
|
|
22880
|
+
}>>;
|
|
22881
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
22882
|
+
too_large: "too_large";
|
|
22883
|
+
unsupported: "unsupported";
|
|
22884
|
+
missing: "missing";
|
|
22885
|
+
not_published: "not_published";
|
|
22886
|
+
}>>;
|
|
22887
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
22888
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
22889
|
+
}, z.core.$strip>>;
|
|
22890
|
+
text: z.ZodOptional<z.ZodString>;
|
|
22891
|
+
type: z.ZodEnum<{
|
|
22892
|
+
image: "image";
|
|
22893
|
+
text: "text";
|
|
22894
|
+
}>;
|
|
22895
|
+
}, z.core.$strip>>>;
|
|
22359
22896
|
controlKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22360
22897
|
depth: z.ZodInt;
|
|
22361
22898
|
entryType: z.ZodOptional<z.ZodEnum<{
|
|
22362
22899
|
error: "error";
|
|
22900
|
+
image: "image";
|
|
22363
22901
|
text: "text";
|
|
22364
22902
|
tool_use: "tool_use";
|
|
22365
22903
|
tool_result: "tool_result";
|
|
@@ -22800,10 +23338,34 @@ export declare const zScryCheckRequest: z.ZodObject<{
|
|
|
22800
23338
|
name: z.ZodString;
|
|
22801
23339
|
}, z.core.$strip>>>;
|
|
22802
23340
|
content: z.ZodString;
|
|
23341
|
+
contentParts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23342
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
23343
|
+
byteSize: z.ZodOptional<z.ZodInt>;
|
|
23344
|
+
height: z.ZodOptional<z.ZodInt>;
|
|
23345
|
+
mediaType: z.ZodOptional<z.ZodEnum<{
|
|
23346
|
+
"image/png": "image/png";
|
|
23347
|
+
"image/jpeg": "image/jpeg";
|
|
23348
|
+
}>>;
|
|
23349
|
+
omittedReason: z.ZodOptional<z.ZodEnum<{
|
|
23350
|
+
too_large: "too_large";
|
|
23351
|
+
unsupported: "unsupported";
|
|
23352
|
+
missing: "missing";
|
|
23353
|
+
not_published: "not_published";
|
|
23354
|
+
}>>;
|
|
23355
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
23356
|
+
width: z.ZodOptional<z.ZodInt>;
|
|
23357
|
+
}, z.core.$strip>>;
|
|
23358
|
+
text: z.ZodOptional<z.ZodString>;
|
|
23359
|
+
type: z.ZodEnum<{
|
|
23360
|
+
image: "image";
|
|
23361
|
+
text: "text";
|
|
23362
|
+
}>;
|
|
23363
|
+
}, z.core.$strip>>>;
|
|
22803
23364
|
controlKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22804
23365
|
depth: z.ZodInt;
|
|
22805
23366
|
entryType: z.ZodOptional<z.ZodEnum<{
|
|
22806
23367
|
error: "error";
|
|
23368
|
+
image: "image";
|
|
22807
23369
|
text: "text";
|
|
22808
23370
|
tool_use: "tool_use";
|
|
22809
23371
|
tool_result: "tool_result";
|