@mossbear/protocol 0.1.0-alpha.116 → 0.1.0-alpha.118
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/guideHistory.d.ts +19 -19
- package/dist/guideHistory.d.ts.map +1 -1
- package/dist/guideHistory.js +10 -10
- package/dist/guideHistory.js.map +1 -1
- package/dist/guideSnapshot.d.ts +0 -3
- package/dist/guideSnapshot.d.ts.map +1 -1
- package/dist/guideSnapshot.js +0 -1
- package/dist/guideSnapshot.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/photos.d.ts +56 -1
- package/dist/photos.d.ts.map +1 -1
- package/dist/photos.js +13 -1
- package/dist/photos.js.map +1 -1
- package/dist/photos.test.js +8 -1
- package/dist/photos.test.js.map +1 -1
- package/dist/schemas.d.ts +331 -98
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +33 -34
- package/dist/schemas.js.map +1 -1
- package/dist/schemas.test.js +2 -3
- package/dist/schemas.test.js.map +1 -1
- package/dist/search.d.ts +97 -0
- package/dist/search.d.ts.map +1 -1
- package/dist/search.js +14 -0
- package/dist/search.js.map +1 -1
- package/dist/search.test.js +22 -0
- package/dist/search.test.js.map +1 -1
- package/dist/sessionGrade.d.ts +12 -12
- package/dist/sessionGrade.d.ts.map +1 -1
- package/dist/sessionGrade.js +11 -11
- package/dist/sessionGrade.js.map +1 -1
- package/dist/whatSyncs.js +4 -4
- package/dist/whatSyncs.js.map +1 -1
- package/dist/wirePrimitives.d.ts +4 -4
- package/dist/wirePrimitives.d.ts.map +1 -1
- package/dist/wirePrimitives.js +4 -4
- package/dist/wirePrimitives.js.map +1 -1
- package/package.json +1 -1
- package/dist/steeringOverTime.d.ts +0 -30
- package/dist/steeringOverTime.d.ts.map +0 -1
- package/dist/steeringOverTime.js +0 -19
- package/dist/steeringOverTime.js.map +0 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare const VerdictSchema: v.PicklistSchema<["aligned", "unguided", "mi
|
|
|
26
26
|
export declare const GuidingTierSchema: v.PicklistSchema<["pattern_match", "cached", "llm", "batch"], undefined>;
|
|
27
27
|
/**
|
|
28
28
|
* Compatibility vocabulary for the source of legacy extracted suggestions.
|
|
29
|
-
* These values describe suggestion provenance rather than
|
|
29
|
+
* These values describe suggestion provenance rather than session-harness identity.
|
|
30
30
|
*/
|
|
31
31
|
export declare const PlatformKindSchema: v.PicklistSchema<["claude_code", "codex", "opencode", "cursor", "copilot", "other"], undefined>;
|
|
32
32
|
/**
|
|
@@ -276,14 +276,14 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
|
|
|
276
276
|
*/
|
|
277
277
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
278
278
|
/** Set when the item is a photo: its stored parts, never their bytes. */
|
|
279
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
280
|
-
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
279
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
280
|
+
readonly parts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
281
281
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
282
282
|
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
283
283
|
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
284
284
|
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
285
285
|
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
286
|
-
}, undefined>, undefined>;
|
|
286
|
+
}, undefined>, undefined>, undefined>;
|
|
287
287
|
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
288
288
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
289
289
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -303,7 +303,25 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
|
|
|
303
303
|
height: number;
|
|
304
304
|
}[];
|
|
305
305
|
}[], 1, undefined>]>, undefined>;
|
|
306
|
-
}, undefined>,
|
|
306
|
+
}, undefined>, v.CheckAction<{
|
|
307
|
+
parts?: {
|
|
308
|
+
role: "original" | "display" | "thumb";
|
|
309
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
310
|
+
bytes: number;
|
|
311
|
+
width: number;
|
|
312
|
+
height: number;
|
|
313
|
+
}[] | undefined;
|
|
314
|
+
images?: {
|
|
315
|
+
id?: string | undefined;
|
|
316
|
+
parts: {
|
|
317
|
+
role: "original" | "display" | "thumb";
|
|
318
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
319
|
+
bytes: number;
|
|
320
|
+
width: number;
|
|
321
|
+
height: number;
|
|
322
|
+
}[];
|
|
323
|
+
}[] | undefined;
|
|
324
|
+
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
307
325
|
readonly origin: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
308
326
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
309
327
|
/**
|
|
@@ -546,13 +564,13 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
|
|
|
546
564
|
content: string | null;
|
|
547
565
|
description?: string | null | undefined;
|
|
548
566
|
asset?: {
|
|
549
|
-
parts
|
|
567
|
+
parts?: {
|
|
550
568
|
role: "original" | "display" | "thumb";
|
|
551
569
|
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
552
570
|
bytes: number;
|
|
553
571
|
width: number;
|
|
554
572
|
height: number;
|
|
555
|
-
}[];
|
|
573
|
+
}[] | undefined;
|
|
556
574
|
images?: {
|
|
557
575
|
id?: string | undefined;
|
|
558
576
|
parts: {
|
|
@@ -638,13 +656,13 @@ export declare const ContextItemSchema: v.SchemaWithPipe<readonly [v.ObjectSchem
|
|
|
638
656
|
content: string | null;
|
|
639
657
|
description?: string | null | undefined;
|
|
640
658
|
asset?: {
|
|
641
|
-
parts
|
|
659
|
+
parts?: {
|
|
642
660
|
role: "original" | "display" | "thumb";
|
|
643
661
|
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
644
662
|
bytes: number;
|
|
645
663
|
width: number;
|
|
646
664
|
height: number;
|
|
647
|
-
}[];
|
|
665
|
+
}[] | undefined;
|
|
648
666
|
images?: {
|
|
649
667
|
id?: string | undefined;
|
|
650
668
|
parts: {
|
|
@@ -763,14 +781,14 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
|
|
|
763
781
|
*/
|
|
764
782
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
765
783
|
/** Set when the item is a photo: its stored parts, never their bytes. */
|
|
766
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
767
|
-
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
784
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
785
|
+
readonly parts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
768
786
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
769
787
|
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
770
788
|
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
771
789
|
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
772
790
|
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
773
|
-
}, undefined>, undefined>;
|
|
791
|
+
}, undefined>, undefined>, undefined>;
|
|
774
792
|
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
775
793
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
776
794
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -790,7 +808,25 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
|
|
|
790
808
|
height: number;
|
|
791
809
|
}[];
|
|
792
810
|
}[], 1, undefined>]>, undefined>;
|
|
793
|
-
}, undefined>,
|
|
811
|
+
}, undefined>, v.CheckAction<{
|
|
812
|
+
parts?: {
|
|
813
|
+
role: "original" | "display" | "thumb";
|
|
814
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
815
|
+
bytes: number;
|
|
816
|
+
width: number;
|
|
817
|
+
height: number;
|
|
818
|
+
}[] | undefined;
|
|
819
|
+
images?: {
|
|
820
|
+
id?: string | undefined;
|
|
821
|
+
parts: {
|
|
822
|
+
role: "original" | "display" | "thumb";
|
|
823
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
824
|
+
bytes: number;
|
|
825
|
+
width: number;
|
|
826
|
+
height: number;
|
|
827
|
+
}[];
|
|
828
|
+
}[] | undefined;
|
|
829
|
+
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
794
830
|
readonly origin: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
795
831
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
796
832
|
/**
|
|
@@ -1033,13 +1069,13 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
|
|
|
1033
1069
|
content: string | null;
|
|
1034
1070
|
description?: string | null | undefined;
|
|
1035
1071
|
asset?: {
|
|
1036
|
-
parts
|
|
1072
|
+
parts?: {
|
|
1037
1073
|
role: "original" | "display" | "thumb";
|
|
1038
1074
|
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
1039
1075
|
bytes: number;
|
|
1040
1076
|
width: number;
|
|
1041
1077
|
height: number;
|
|
1042
|
-
}[];
|
|
1078
|
+
}[] | undefined;
|
|
1043
1079
|
images?: {
|
|
1044
1080
|
id?: string | undefined;
|
|
1045
1081
|
parts: {
|
|
@@ -1125,13 +1161,13 @@ export declare const ContextItemsResponseSchema: v.ObjectSchema<{
|
|
|
1125
1161
|
content: string | null;
|
|
1126
1162
|
description?: string | null | undefined;
|
|
1127
1163
|
asset?: {
|
|
1128
|
-
parts
|
|
1164
|
+
parts?: {
|
|
1129
1165
|
role: "original" | "display" | "thumb";
|
|
1130
1166
|
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
1131
1167
|
bytes: number;
|
|
1132
1168
|
width: number;
|
|
1133
1169
|
height: number;
|
|
1134
|
-
}[];
|
|
1170
|
+
}[] | undefined;
|
|
1135
1171
|
images?: {
|
|
1136
1172
|
id?: string | undefined;
|
|
1137
1173
|
parts: {
|
|
@@ -1268,14 +1304,14 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
1268
1304
|
*/
|
|
1269
1305
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1270
1306
|
/** Set when the item is a photo: its stored parts, never their bytes. */
|
|
1271
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1272
|
-
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
1307
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1308
|
+
readonly parts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1273
1309
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
1274
1310
|
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
1275
1311
|
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1276
1312
|
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1277
1313
|
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1278
|
-
}, undefined>, undefined>;
|
|
1314
|
+
}, undefined>, undefined>, undefined>;
|
|
1279
1315
|
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
1280
1316
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
1281
1317
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1295,7 +1331,25 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
1295
1331
|
height: number;
|
|
1296
1332
|
}[];
|
|
1297
1333
|
}[], 1, undefined>]>, undefined>;
|
|
1298
|
-
}, undefined>,
|
|
1334
|
+
}, undefined>, v.CheckAction<{
|
|
1335
|
+
parts?: {
|
|
1336
|
+
role: "original" | "display" | "thumb";
|
|
1337
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
1338
|
+
bytes: number;
|
|
1339
|
+
width: number;
|
|
1340
|
+
height: number;
|
|
1341
|
+
}[] | undefined;
|
|
1342
|
+
images?: {
|
|
1343
|
+
id?: string | undefined;
|
|
1344
|
+
parts: {
|
|
1345
|
+
role: "original" | "display" | "thumb";
|
|
1346
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
1347
|
+
bytes: number;
|
|
1348
|
+
width: number;
|
|
1349
|
+
height: number;
|
|
1350
|
+
}[];
|
|
1351
|
+
}[] | undefined;
|
|
1352
|
+
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
1299
1353
|
readonly origin: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1300
1354
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1301
1355
|
/**
|
|
@@ -1538,13 +1592,13 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
1538
1592
|
content: string | null;
|
|
1539
1593
|
description?: string | null | undefined;
|
|
1540
1594
|
asset?: {
|
|
1541
|
-
parts
|
|
1595
|
+
parts?: {
|
|
1542
1596
|
role: "original" | "display" | "thumb";
|
|
1543
1597
|
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
1544
1598
|
bytes: number;
|
|
1545
1599
|
width: number;
|
|
1546
1600
|
height: number;
|
|
1547
|
-
}[];
|
|
1601
|
+
}[] | undefined;
|
|
1548
1602
|
images?: {
|
|
1549
1603
|
id?: string | undefined;
|
|
1550
1604
|
parts: {
|
|
@@ -1630,13 +1684,13 @@ export declare const BundleArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
1630
1684
|
content: string | null;
|
|
1631
1685
|
description?: string | null | undefined;
|
|
1632
1686
|
asset?: {
|
|
1633
|
-
parts
|
|
1687
|
+
parts?: {
|
|
1634
1688
|
role: "original" | "display" | "thumb";
|
|
1635
1689
|
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
1636
1690
|
bytes: number;
|
|
1637
1691
|
width: number;
|
|
1638
1692
|
height: number;
|
|
1639
|
-
}[];
|
|
1693
|
+
}[] | undefined;
|
|
1640
1694
|
images?: {
|
|
1641
1695
|
id?: string | undefined;
|
|
1642
1696
|
parts: {
|
|
@@ -2133,14 +2187,14 @@ export declare const ArtifactSchema: v.ObjectSchema<{
|
|
|
2133
2187
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
2134
2188
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
2135
2189
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
2136
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2137
|
-
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
2190
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2191
|
+
readonly parts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2138
2192
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
2139
2193
|
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
2140
2194
|
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2141
2195
|
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2142
2196
|
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2143
|
-
}, undefined>, undefined>;
|
|
2197
|
+
}, undefined>, undefined>, undefined>;
|
|
2144
2198
|
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
2145
2199
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2146
2200
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -2160,7 +2214,25 @@ export declare const ArtifactSchema: v.ObjectSchema<{
|
|
|
2160
2214
|
height: number;
|
|
2161
2215
|
}[];
|
|
2162
2216
|
}[], 1, undefined>]>, undefined>;
|
|
2163
|
-
}, undefined>,
|
|
2217
|
+
}, undefined>, v.CheckAction<{
|
|
2218
|
+
parts?: {
|
|
2219
|
+
role: "original" | "display" | "thumb";
|
|
2220
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
2221
|
+
bytes: number;
|
|
2222
|
+
width: number;
|
|
2223
|
+
height: number;
|
|
2224
|
+
}[] | undefined;
|
|
2225
|
+
images?: {
|
|
2226
|
+
id?: string | undefined;
|
|
2227
|
+
parts: {
|
|
2228
|
+
role: "original" | "display" | "thumb";
|
|
2229
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
2230
|
+
bytes: number;
|
|
2231
|
+
width: number;
|
|
2232
|
+
height: number;
|
|
2233
|
+
}[];
|
|
2234
|
+
}[] | undefined;
|
|
2235
|
+
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
2164
2236
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
2165
2237
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2166
2238
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -2320,14 +2392,14 @@ export declare const ArtifactMetadataSchema: v.StrictObjectSchema<Omit<{
|
|
|
2320
2392
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
2321
2393
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
2322
2394
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
2323
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2324
|
-
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
2395
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
2396
|
+
readonly parts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2325
2397
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
2326
2398
|
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
2327
2399
|
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2328
2400
|
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2329
2401
|
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2330
|
-
}, undefined>, undefined>;
|
|
2402
|
+
}, undefined>, undefined>, undefined>;
|
|
2331
2403
|
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
2332
2404
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
2333
2405
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -2347,7 +2419,25 @@ export declare const ArtifactMetadataSchema: v.StrictObjectSchema<Omit<{
|
|
|
2347
2419
|
height: number;
|
|
2348
2420
|
}[];
|
|
2349
2421
|
}[], 1, undefined>]>, undefined>;
|
|
2350
|
-
}, undefined>,
|
|
2422
|
+
}, undefined>, v.CheckAction<{
|
|
2423
|
+
parts?: {
|
|
2424
|
+
role: "original" | "display" | "thumb";
|
|
2425
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
2426
|
+
bytes: number;
|
|
2427
|
+
width: number;
|
|
2428
|
+
height: number;
|
|
2429
|
+
}[] | undefined;
|
|
2430
|
+
images?: {
|
|
2431
|
+
id?: string | undefined;
|
|
2432
|
+
parts: {
|
|
2433
|
+
role: "original" | "display" | "thumb";
|
|
2434
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
2435
|
+
bytes: number;
|
|
2436
|
+
width: number;
|
|
2437
|
+
height: number;
|
|
2438
|
+
}[];
|
|
2439
|
+
}[] | undefined;
|
|
2440
|
+
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
2351
2441
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
2352
2442
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
2353
2443
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -3295,14 +3385,14 @@ export declare const ReadArtifactResponseSchema: v.ObjectSchema<{
|
|
|
3295
3385
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
3296
3386
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
3297
3387
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
3298
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3299
|
-
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
3388
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3389
|
+
readonly parts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3300
3390
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
3301
3391
|
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
3302
3392
|
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3303
3393
|
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3304
3394
|
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3305
|
-
}, undefined>, undefined>;
|
|
3395
|
+
}, undefined>, undefined>, undefined>;
|
|
3306
3396
|
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3307
3397
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3308
3398
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -3322,7 +3412,25 @@ export declare const ReadArtifactResponseSchema: v.ObjectSchema<{
|
|
|
3322
3412
|
height: number;
|
|
3323
3413
|
}[];
|
|
3324
3414
|
}[], 1, undefined>]>, undefined>;
|
|
3325
|
-
}, undefined>,
|
|
3415
|
+
}, undefined>, v.CheckAction<{
|
|
3416
|
+
parts?: {
|
|
3417
|
+
role: "original" | "display" | "thumb";
|
|
3418
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
3419
|
+
bytes: number;
|
|
3420
|
+
width: number;
|
|
3421
|
+
height: number;
|
|
3422
|
+
}[] | undefined;
|
|
3423
|
+
images?: {
|
|
3424
|
+
id?: string | undefined;
|
|
3425
|
+
parts: {
|
|
3426
|
+
role: "original" | "display" | "thumb";
|
|
3427
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
3428
|
+
bytes: number;
|
|
3429
|
+
width: number;
|
|
3430
|
+
height: number;
|
|
3431
|
+
}[];
|
|
3432
|
+
}[] | undefined;
|
|
3433
|
+
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
3326
3434
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
3327
3435
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3328
3436
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -3521,14 +3629,14 @@ export declare const CreateArtifactResponseSchema: v.ObjectSchema<{
|
|
|
3521
3629
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
3522
3630
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
3523
3631
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
3524
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3525
|
-
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
3632
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3633
|
+
readonly parts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3526
3634
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
3527
3635
|
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
3528
3636
|
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3529
3637
|
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3530
3638
|
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3531
|
-
}, undefined>, undefined>;
|
|
3639
|
+
}, undefined>, undefined>, undefined>;
|
|
3532
3640
|
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3533
3641
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3534
3642
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -3548,7 +3656,25 @@ export declare const CreateArtifactResponseSchema: v.ObjectSchema<{
|
|
|
3548
3656
|
height: number;
|
|
3549
3657
|
}[];
|
|
3550
3658
|
}[], 1, undefined>]>, undefined>;
|
|
3551
|
-
}, undefined>,
|
|
3659
|
+
}, undefined>, v.CheckAction<{
|
|
3660
|
+
parts?: {
|
|
3661
|
+
role: "original" | "display" | "thumb";
|
|
3662
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
3663
|
+
bytes: number;
|
|
3664
|
+
width: number;
|
|
3665
|
+
height: number;
|
|
3666
|
+
}[] | undefined;
|
|
3667
|
+
images?: {
|
|
3668
|
+
id?: string | undefined;
|
|
3669
|
+
parts: {
|
|
3670
|
+
role: "original" | "display" | "thumb";
|
|
3671
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
3672
|
+
bytes: number;
|
|
3673
|
+
width: number;
|
|
3674
|
+
height: number;
|
|
3675
|
+
}[];
|
|
3676
|
+
}[] | undefined;
|
|
3677
|
+
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
3552
3678
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
3553
3679
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3554
3680
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -3709,14 +3835,14 @@ export declare const UpdateArtifactResponseSchema: v.ObjectSchema<{
|
|
|
3709
3835
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
3710
3836
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
3711
3837
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
3712
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3713
|
-
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
3838
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
3839
|
+
readonly parts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3714
3840
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
3715
3841
|
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
3716
3842
|
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3717
3843
|
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3718
3844
|
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3719
|
-
}, undefined>, undefined>;
|
|
3845
|
+
}, undefined>, undefined>, undefined>;
|
|
3720
3846
|
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3721
3847
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3722
3848
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -3736,7 +3862,25 @@ export declare const UpdateArtifactResponseSchema: v.ObjectSchema<{
|
|
|
3736
3862
|
height: number;
|
|
3737
3863
|
}[];
|
|
3738
3864
|
}[], 1, undefined>]>, undefined>;
|
|
3739
|
-
}, undefined>,
|
|
3865
|
+
}, undefined>, v.CheckAction<{
|
|
3866
|
+
parts?: {
|
|
3867
|
+
role: "original" | "display" | "thumb";
|
|
3868
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
3869
|
+
bytes: number;
|
|
3870
|
+
width: number;
|
|
3871
|
+
height: number;
|
|
3872
|
+
}[] | undefined;
|
|
3873
|
+
images?: {
|
|
3874
|
+
id?: string | undefined;
|
|
3875
|
+
parts: {
|
|
3876
|
+
role: "original" | "display" | "thumb";
|
|
3877
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
3878
|
+
bytes: number;
|
|
3879
|
+
width: number;
|
|
3880
|
+
height: number;
|
|
3881
|
+
}[];
|
|
3882
|
+
}[] | undefined;
|
|
3883
|
+
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
3740
3884
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
3741
3885
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3742
3886
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -3978,14 +4122,14 @@ export declare const ListArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
3978
4122
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
3979
4123
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
3980
4124
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
3981
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3982
|
-
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
4125
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4126
|
+
readonly parts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3983
4127
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
3984
4128
|
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
3985
4129
|
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3986
4130
|
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3987
4131
|
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
3988
|
-
}, undefined>, undefined>;
|
|
4132
|
+
}, undefined>, undefined>, undefined>;
|
|
3989
4133
|
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
3990
4134
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
3991
4135
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -4005,7 +4149,25 @@ export declare const ListArtifactsResponseSchema: v.ObjectSchema<{
|
|
|
4005
4149
|
height: number;
|
|
4006
4150
|
}[];
|
|
4007
4151
|
}[], 1, undefined>]>, undefined>;
|
|
4008
|
-
}, undefined>,
|
|
4152
|
+
}, undefined>, v.CheckAction<{
|
|
4153
|
+
parts?: {
|
|
4154
|
+
role: "original" | "display" | "thumb";
|
|
4155
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4156
|
+
bytes: number;
|
|
4157
|
+
width: number;
|
|
4158
|
+
height: number;
|
|
4159
|
+
}[] | undefined;
|
|
4160
|
+
images?: {
|
|
4161
|
+
id?: string | undefined;
|
|
4162
|
+
parts: {
|
|
4163
|
+
role: "original" | "display" | "thumb";
|
|
4164
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4165
|
+
bytes: number;
|
|
4166
|
+
width: number;
|
|
4167
|
+
height: number;
|
|
4168
|
+
}[];
|
|
4169
|
+
}[] | undefined;
|
|
4170
|
+
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
4009
4171
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
4010
4172
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4011
4173
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -4176,14 +4338,14 @@ export declare const ListArtifactMetadataResponseSchema: v.ObjectSchema<{
|
|
|
4176
4338
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
4177
4339
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
4178
4340
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
4179
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
4180
|
-
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
4341
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4342
|
+
readonly parts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4181
4343
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
4182
4344
|
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
4183
4345
|
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4184
4346
|
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4185
4347
|
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4186
|
-
}, undefined>, undefined>;
|
|
4348
|
+
}, undefined>, undefined>, undefined>;
|
|
4187
4349
|
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4188
4350
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
4189
4351
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -4203,7 +4365,25 @@ export declare const ListArtifactMetadataResponseSchema: v.ObjectSchema<{
|
|
|
4203
4365
|
height: number;
|
|
4204
4366
|
}[];
|
|
4205
4367
|
}[], 1, undefined>]>, undefined>;
|
|
4206
|
-
}, undefined>,
|
|
4368
|
+
}, undefined>, v.CheckAction<{
|
|
4369
|
+
parts?: {
|
|
4370
|
+
role: "original" | "display" | "thumb";
|
|
4371
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4372
|
+
bytes: number;
|
|
4373
|
+
width: number;
|
|
4374
|
+
height: number;
|
|
4375
|
+
}[] | undefined;
|
|
4376
|
+
images?: {
|
|
4377
|
+
id?: string | undefined;
|
|
4378
|
+
parts: {
|
|
4379
|
+
role: "original" | "display" | "thumb";
|
|
4380
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4381
|
+
bytes: number;
|
|
4382
|
+
width: number;
|
|
4383
|
+
height: number;
|
|
4384
|
+
}[];
|
|
4385
|
+
}[] | undefined;
|
|
4386
|
+
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
4207
4387
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
4208
4388
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4209
4389
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -4536,14 +4716,14 @@ export declare const MarkDoneResponseSchema: v.ObjectSchema<{
|
|
|
4536
4716
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
4537
4717
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
4538
4718
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
4539
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
4540
|
-
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
4719
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4720
|
+
readonly parts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4541
4721
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
4542
4722
|
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
4543
4723
|
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4544
4724
|
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4545
4725
|
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4546
|
-
}, undefined>, undefined>;
|
|
4726
|
+
}, undefined>, undefined>, undefined>;
|
|
4547
4727
|
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4548
4728
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
4549
4729
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -4563,7 +4743,25 @@ export declare const MarkDoneResponseSchema: v.ObjectSchema<{
|
|
|
4563
4743
|
height: number;
|
|
4564
4744
|
}[];
|
|
4565
4745
|
}[], 1, undefined>]>, undefined>;
|
|
4566
|
-
}, undefined>,
|
|
4746
|
+
}, undefined>, v.CheckAction<{
|
|
4747
|
+
parts?: {
|
|
4748
|
+
role: "original" | "display" | "thumb";
|
|
4749
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4750
|
+
bytes: number;
|
|
4751
|
+
width: number;
|
|
4752
|
+
height: number;
|
|
4753
|
+
}[] | undefined;
|
|
4754
|
+
images?: {
|
|
4755
|
+
id?: string | undefined;
|
|
4756
|
+
parts: {
|
|
4757
|
+
role: "original" | "display" | "thumb";
|
|
4758
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4759
|
+
bytes: number;
|
|
4760
|
+
width: number;
|
|
4761
|
+
height: number;
|
|
4762
|
+
}[];
|
|
4763
|
+
}[] | undefined;
|
|
4764
|
+
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
4567
4765
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
4568
4766
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4569
4767
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -4726,14 +4924,14 @@ export declare const DeleteArtifactResponseSchema: v.ObjectSchema<{
|
|
|
4726
4924
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
4727
4925
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
4728
4926
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
4729
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
4730
|
-
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
4927
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
4928
|
+
readonly parts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4731
4929
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
4732
4930
|
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
4733
4931
|
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4734
4932
|
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4735
4933
|
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4736
|
-
}, undefined>, undefined>;
|
|
4934
|
+
}, undefined>, undefined>, undefined>;
|
|
4737
4935
|
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4738
4936
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
4739
4937
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -4753,7 +4951,25 @@ export declare const DeleteArtifactResponseSchema: v.ObjectSchema<{
|
|
|
4753
4951
|
height: number;
|
|
4754
4952
|
}[];
|
|
4755
4953
|
}[], 1, undefined>]>, undefined>;
|
|
4756
|
-
}, undefined>,
|
|
4954
|
+
}, undefined>, v.CheckAction<{
|
|
4955
|
+
parts?: {
|
|
4956
|
+
role: "original" | "display" | "thumb";
|
|
4957
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4958
|
+
bytes: number;
|
|
4959
|
+
width: number;
|
|
4960
|
+
height: number;
|
|
4961
|
+
}[] | undefined;
|
|
4962
|
+
images?: {
|
|
4963
|
+
id?: string | undefined;
|
|
4964
|
+
parts: {
|
|
4965
|
+
role: "original" | "display" | "thumb";
|
|
4966
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
4967
|
+
bytes: number;
|
|
4968
|
+
width: number;
|
|
4969
|
+
height: number;
|
|
4970
|
+
}[];
|
|
4971
|
+
}[] | undefined;
|
|
4972
|
+
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
4757
4973
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
4758
4974
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4759
4975
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -4915,14 +5131,14 @@ export declare const WithdrawArtifactResponseSchema: v.ObjectSchema<{
|
|
|
4915
5131
|
/** What the artifact is, as a reader names it: {@link artifactKindOf}. */
|
|
4916
5132
|
readonly kind: v.PicklistSchema<readonly ["markdown", "html", "code", "photo", "file", "guide"], undefined>;
|
|
4917
5133
|
/** Set when the artifact is a photo: its stored parts, never their bytes. */
|
|
4918
|
-
readonly asset: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
4919
|
-
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
5134
|
+
readonly asset: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
5135
|
+
readonly parts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4920
5136
|
readonly role: v.PicklistSchema<readonly ["original", "display", "thumb"], undefined>;
|
|
4921
5137
|
readonly mediaType: v.PicklistSchema<readonly ["image/jpeg", "image/png", "image/webp", "image/gif", "image/heic", "image/heif"], undefined>;
|
|
4922
5138
|
readonly bytes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4923
5139
|
readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4924
5140
|
readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4925
|
-
}, undefined>, undefined>;
|
|
5141
|
+
}, undefined>, undefined>, undefined>;
|
|
4926
5142
|
readonly images: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
4927
5143
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
4928
5144
|
readonly parts: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -4942,7 +5158,25 @@ export declare const WithdrawArtifactResponseSchema: v.ObjectSchema<{
|
|
|
4942
5158
|
height: number;
|
|
4943
5159
|
}[];
|
|
4944
5160
|
}[], 1, undefined>]>, undefined>;
|
|
4945
|
-
}, undefined>,
|
|
5161
|
+
}, undefined>, v.CheckAction<{
|
|
5162
|
+
parts?: {
|
|
5163
|
+
role: "original" | "display" | "thumb";
|
|
5164
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
5165
|
+
bytes: number;
|
|
5166
|
+
width: number;
|
|
5167
|
+
height: number;
|
|
5168
|
+
}[] | undefined;
|
|
5169
|
+
images?: {
|
|
5170
|
+
id?: string | undefined;
|
|
5171
|
+
parts: {
|
|
5172
|
+
role: "original" | "display" | "thumb";
|
|
5173
|
+
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
5174
|
+
bytes: number;
|
|
5175
|
+
width: number;
|
|
5176
|
+
height: number;
|
|
5177
|
+
}[];
|
|
5178
|
+
}[] | undefined;
|
|
5179
|
+
}, "A photo asset needs images">]>, undefined>, undefined>;
|
|
4946
5180
|
/** Monotonic content version; echo it back as `expectedVersion` to update. */
|
|
4947
5181
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
4948
5182
|
readonly state: v.PicklistSchema<["live", "deleted", "removed"], undefined>;
|
|
@@ -5418,7 +5652,7 @@ export declare const ActionErrorClassSchema: v.SchemaWithPipe<readonly [v.String
|
|
|
5418
5652
|
*
|
|
5419
5653
|
* The logger hook parsed `tool_input` and dropped the `tool_response` beside
|
|
5420
5654
|
* it, so every action reached the grader looking like it had happened. A failed
|
|
5421
|
-
* edit and a successful one rendered identically, and the
|
|
5655
|
+
* edit and a successful one rendered identically, and the session grader has no
|
|
5422
5656
|
* other way to tell them apart.
|
|
5423
5657
|
*
|
|
5424
5658
|
* **Absent means unknown, never success.** The hook emits this only from a
|
|
@@ -5580,13 +5814,13 @@ export declare const DashboardSyncActionSchema: v.ObjectSchema<{
|
|
|
5580
5814
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "id must not contain whitespace or control characters">]>, undefined>;
|
|
5581
5815
|
readonly sessionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5582
5816
|
/**
|
|
5583
|
-
* Optional on the wire, but **required to be graded**:
|
|
5584
|
-
* grading unit, and an action
|
|
5817
|
+
* Optional on the wire, but **required to be graded**: the session is the
|
|
5818
|
+
* grading unit, and an action without a session id cannot join one.
|
|
5585
5819
|
* The field stays optional because
|
|
5586
5820
|
* tightening it would 400 a whole batch — a poison pill for any queue file
|
|
5587
5821
|
* carrying one — and no shipped CLI omits it: the hook always writes a
|
|
5588
5822
|
* session id, falling back to the literal `'unknown'`
|
|
5589
|
-
* (`packages/cli/src/hook-logger.ts:364`), which groups into a
|
|
5823
|
+
* (`packages/cli/src/hook-logger.ts:364`), which groups into a session like any
|
|
5590
5824
|
* other. A direct API caller that omits it gets its actions stored and
|
|
5591
5825
|
* ungraded, and the server logs `sync.actions_without_session` so the case is
|
|
5592
5826
|
* visible rather than silent.
|
|
@@ -5684,32 +5918,32 @@ export declare const MAX_SYNC_ACTIONS_BATCH = 500;
|
|
|
5684
5918
|
/** Max number of guideSuggestions/runUsage entries per sync request. */
|
|
5685
5919
|
export declare const MAX_SYNC_AUX_BATCH = 100;
|
|
5686
5920
|
/**
|
|
5687
|
-
* Where the checkout stood when a
|
|
5921
|
+
* Where the checkout stood when a session closed — the git head the `SessionEnd`
|
|
5688
5922
|
* hook observed, and the branch it was on.
|
|
5689
5923
|
*
|
|
5690
|
-
* The join the ledger has never had. Every existing query walks
|
|
5691
|
-
* happened; nothing walks commit → which
|
|
5924
|
+
* The join the ledger has never had. Every existing query walks session → what
|
|
5925
|
+
* happened; nothing walks commit → which session, because until this field no
|
|
5692
5926
|
* commit, branch or PR identifier existed anywhere in the pipeline.
|
|
5693
5927
|
* An anchor also cannot be backfilled:
|
|
5694
|
-
* a
|
|
5928
|
+
* a session that closes without one is unanchorable forever, which is why it is
|
|
5695
5929
|
* captured before its first reader exists.
|
|
5696
5930
|
*
|
|
5697
5931
|
* Absence is an ordinary answer rather than a failure to report. A session runs
|
|
5698
5932
|
* outside a git repo; git is missing, or slow enough that the capture's own
|
|
5699
|
-
* timeout fires — the field is then simply not sent, and the
|
|
5933
|
+
* timeout fires — the field is then simply not sent, and the session's columns stay
|
|
5700
5934
|
* null. A checkout on a detached head sends an anchor with a null `branch`.
|
|
5701
|
-
* None of it says anything to the user: a
|
|
5702
|
-
* commit is a normal
|
|
5935
|
+
* None of it says anything to the user: a session that produced no identifiable
|
|
5936
|
+
* commit is a normal session, and the CLI has nothing to offer them about it.
|
|
5703
5937
|
*
|
|
5704
5938
|
* There is deliberately no `prNumber` here. It is the one part of the anchor
|
|
5705
5939
|
* that is not free: no environment variable in a real cloud agent session names
|
|
5706
5940
|
* a PR (checked 2026-08-22 — see the spec's Open questions), so a wire field
|
|
5707
|
-
* for it would be protocol surface no producer ever fills. `
|
|
5941
|
+
* for it would be protocol surface no producer ever fills. `sessions.pr_number`
|
|
5708
5942
|
* exists as a reserved column; the wire waits for a mechanism.
|
|
5709
5943
|
*
|
|
5710
5944
|
* Not a per-action field and not a per-session map: it describes the machine
|
|
5711
5945
|
* and the checkout at one instant, the way `RuleFileManifestSchema` does, and
|
|
5712
|
-
* applies to whichever
|
|
5946
|
+
* applies to whichever sessions the request closes.
|
|
5713
5947
|
*/
|
|
5714
5948
|
export declare const CommitAnchorSchema: v.ObjectSchema<{
|
|
5715
5949
|
/**
|
|
@@ -5732,8 +5966,7 @@ export declare const CommitAnchorSchema: v.ObjectSchema<{
|
|
|
5732
5966
|
readonly branch: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
5733
5967
|
}, undefined>;
|
|
5734
5968
|
/**
|
|
5735
|
-
* The agent's closing account
|
|
5736
|
-
* assistant message.
|
|
5969
|
+
* The agent's closing account, taken from its final assistant message.
|
|
5737
5970
|
*
|
|
5738
5971
|
* **The same content class as narration, so it is literally the same schema**
|
|
5739
5972
|
* rather than a twin of it: produced by the same client-side pipeline (text
|
|
@@ -5744,20 +5977,20 @@ export declare const CommitAnchorSchema: v.ObjectSchema<{
|
|
|
5744
5977
|
* moved. What differs is *which* prose and how much of it — the client's
|
|
5745
5978
|
* concern, decided in `extractSessionSelfReport`, not the wire's.
|
|
5746
5979
|
*
|
|
5747
|
-
* `minLength(1)` because absence has exactly one representation here: a
|
|
5980
|
+
* `minLength(1)` because absence has exactly one representation here: a session
|
|
5748
5981
|
* with nothing to report omits the field. An empty string would be a second
|
|
5749
5982
|
* spelling of null that every reader would then have to handle.
|
|
5750
5983
|
*
|
|
5751
5984
|
* **It names its session, and that is not decoration.** This is where the
|
|
5752
5985
|
* report parts company with `CommitAnchorSchema`, which carries no session id
|
|
5753
5986
|
* and is right not to: an anchor describes the *checkout*, so it applies to
|
|
5754
|
-
* whichever
|
|
5987
|
+
* whichever sessions a request closes. A self-report describes the work of exactly
|
|
5755
5988
|
* one session. A request can close more than one — `buildSyncBatches` marks
|
|
5756
5989
|
* every session in the upload's actions completed when `sessionComplete` is set
|
|
5757
5990
|
* (`packages/cli/src/sync-batches.ts:118-126`), which a `SessionEnd` sync hits
|
|
5758
5991
|
* whenever an earlier session's `Stop` sync failed and left a backlog. Without
|
|
5759
5992
|
* the id the server would write one session's closing summary onto the other
|
|
5760
|
-
* session's
|
|
5993
|
+
* session's record, and slice 2 would then grade that session's actions against a report
|
|
5761
5994
|
* of different work: a confidently wrong finding, which this pipeline ranks
|
|
5762
5995
|
* below having none at all (`packages/cli/src/transcript/narration.ts:1-20`).
|
|
5763
5996
|
*
|
|
@@ -5807,13 +6040,13 @@ export declare const DashboardSyncRequestSchema: v.ObjectSchema<{
|
|
|
5807
6040
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "id must not contain whitespace or control characters">]>, undefined>;
|
|
5808
6041
|
readonly sessionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
5809
6042
|
/**
|
|
5810
|
-
* Optional on the wire, but **required to be graded**:
|
|
5811
|
-
* grading unit, and an action
|
|
6043
|
+
* Optional on the wire, but **required to be graded**: the session is the
|
|
6044
|
+
* grading unit, and an action without a session id cannot join one.
|
|
5812
6045
|
* The field stays optional because
|
|
5813
6046
|
* tightening it would 400 a whole batch — a poison pill for any queue file
|
|
5814
6047
|
* carrying one — and no shipped CLI omits it: the hook always writes a
|
|
5815
6048
|
* session id, falling back to the literal `'unknown'`
|
|
5816
|
-
* (`packages/cli/src/hook-logger.ts:364`), which groups into a
|
|
6049
|
+
* (`packages/cli/src/hook-logger.ts:364`), which groups into a session like any
|
|
5817
6050
|
* other. A direct API caller that omits it gets its actions stored and
|
|
5818
6051
|
* ungraded, and the server logs `sync.actions_without_session` so the case is
|
|
5819
6052
|
* visible rather than silent.
|
|
@@ -6021,7 +6254,7 @@ export declare const DashboardSyncRequestSchema: v.ObjectSchema<{
|
|
|
6021
6254
|
/**
|
|
6022
6255
|
* Sessions whose agent context has ended, named by the CLI's `SessionEnd`
|
|
6023
6256
|
* hook (`mossbear complete`) — never by its per-turn `Stop` hook.
|
|
6024
|
-
* The server closes those sessions'
|
|
6257
|
+
* The server closes those sessions' rows; every other session in the payload
|
|
6025
6258
|
* stays open.
|
|
6026
6259
|
*
|
|
6027
6260
|
* Session-keyed rather than a single envelope-level boolean, because one
|
|
@@ -6034,8 +6267,8 @@ export declare const DashboardSyncRequestSchema: v.ObjectSchema<{
|
|
|
6034
6267
|
* Deliberately an assertion, not a fact: `SessionEnd` also fires on
|
|
6035
6268
|
* `/clear`, `--resume` and `logout`, and a reclaimed cloud container may fire
|
|
6036
6269
|
* nothing at all. Closing is therefore reversible — later actions for a
|
|
6037
|
-
* closed
|
|
6038
|
-
*
|
|
6270
|
+
* closed session reopen it — and the server's idle sweep, not this field, is what
|
|
6271
|
+
* sessions actually depend on being closed by.
|
|
6039
6272
|
*/
|
|
6040
6273
|
readonly completedSessionIds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>, undefined>;
|
|
6041
6274
|
/**
|
|
@@ -6043,10 +6276,10 @@ export declare const DashboardSyncRequestSchema: v.ObjectSchema<{
|
|
|
6043
6276
|
* {@link RuleFileManifestSchema}.
|
|
6044
6277
|
*
|
|
6045
6278
|
* Envelope-level rather than per-action because it describes the machine and
|
|
6046
|
-
* the checkout, not any one tool call; the server attaches it to the
|
|
6279
|
+
* the checkout, not any one tool call; the server attaches it to the sessions it
|
|
6047
6280
|
* materializes from this request. Present on every batch that carries
|
|
6048
6281
|
* actions, so a session chunked across several requests has the manifest
|
|
6049
|
-
* available wherever its
|
|
6282
|
+
* available wherever its session is touched.
|
|
6050
6283
|
*
|
|
6051
6284
|
* Optional: a CLI predating this sends none, and the server must read its
|
|
6052
6285
|
* absence as "delivery unobserved", never as "nothing was delivered".
|
|
@@ -6106,12 +6339,12 @@ export declare const DashboardSyncRequestSchema: v.ObjectSchema<{
|
|
|
6106
6339
|
* Rides the same batches as `commitAnchor` and for the same reason: it
|
|
6107
6340
|
* describes the *session that just ended*, and the ordinary `SessionEnd`
|
|
6108
6341
|
* request carries no actions to attach it to. The server writes it onto the
|
|
6109
|
-
*
|
|
6342
|
+
* sessions this request closes.
|
|
6110
6343
|
*
|
|
6111
6344
|
* Optional, and its absence is never an error or a finding. A CLI predating
|
|
6112
6345
|
* this sends none; so does a session with no transcript, one whose repo has
|
|
6113
6346
|
* narration switched off, and one that ended without the agent speaking. All
|
|
6114
|
-
* of them are ordinary
|
|
6347
|
+
* of them are ordinary sessions, and nothing downstream distinguishes them —
|
|
6115
6348
|
* "could not compare" is not a verdict and renders nothing.
|
|
6116
6349
|
*/
|
|
6117
6350
|
readonly selfReport: v.OptionalSchema<v.ObjectSchema<{
|
|
@@ -6285,7 +6518,7 @@ export declare const ActionEntrySchema: v.ObjectSchema<{
|
|
|
6285
6518
|
* resolves to the Claude Code *field map* — which is what it has always
|
|
6286
6519
|
* meant, and is correct, because Codex and OpenCode send that same payload —
|
|
6287
6520
|
* but it is not evidence of *which* of those harnesses invoked it. Writing
|
|
6288
|
-
* `claude_code` there would label every pre-upgrade Codex
|
|
6521
|
+
* `claude_code` there would label every pre-upgrade Codex session as Claude Code,
|
|
6289
6522
|
* silently, for exactly the multi-harness user this field exists for.
|
|
6290
6523
|
*/
|
|
6291
6524
|
readonly harness: v.OptionalSchema<v.PicklistSchema<["claude_code", "codex", "antigravity", "opencode"], undefined>, undefined>;
|
|
@@ -6759,13 +6992,13 @@ export declare function parseContextItemsResponse(data: unknown): {
|
|
|
6759
6992
|
content: string | null;
|
|
6760
6993
|
description?: string | null | undefined;
|
|
6761
6994
|
asset?: {
|
|
6762
|
-
parts
|
|
6995
|
+
parts?: {
|
|
6763
6996
|
role: "original" | "display" | "thumb";
|
|
6764
6997
|
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
6765
6998
|
bytes: number;
|
|
6766
6999
|
width: number;
|
|
6767
7000
|
height: number;
|
|
6768
|
-
}[];
|
|
7001
|
+
}[] | undefined;
|
|
6769
7002
|
images?: {
|
|
6770
7003
|
id?: string | undefined;
|
|
6771
7004
|
parts: {
|
|
@@ -6861,13 +7094,13 @@ export declare function parseBundleArtifactsResponse(data: unknown): {
|
|
|
6861
7094
|
content: string | null;
|
|
6862
7095
|
description?: string | null | undefined;
|
|
6863
7096
|
asset?: {
|
|
6864
|
-
parts
|
|
7097
|
+
parts?: {
|
|
6865
7098
|
role: "original" | "display" | "thumb";
|
|
6866
7099
|
mediaType: "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "image/heic" | "image/heif";
|
|
6867
7100
|
bytes: number;
|
|
6868
7101
|
width: number;
|
|
6869
7102
|
height: number;
|
|
6870
|
-
}[];
|
|
7103
|
+
}[] | undefined;
|
|
6871
7104
|
images?: {
|
|
6872
7105
|
id?: string | undefined;
|
|
6873
7106
|
parts: {
|