@peasant-labs/schema 0.44.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.
@@ -1617,6 +1617,15 @@ export interface components {
1617
1617
  * @example local--home-user-projects-myapp
1618
1618
  */
1619
1619
  SchemaHostSlug: Schema.HostSlug;
1620
+ /**
1621
+ * Image Media Type
1622
+ * @description Recorded image media type: image/png or image/jpeg
1623
+ * @example image/png
1624
+ * @example image/jpeg
1625
+ * @enum {string}
1626
+ */
1627
+ SchemaImageMediaType: Schema.ImageMediaType;
1628
+ SchemaImagePart: Schema.ImagePart;
1620
1629
  /**
1621
1630
  * Input Modality
1622
1631
  * @description Closed session graph value
@@ -1687,6 +1696,16 @@ export interface components {
1687
1696
  * @example provider/Model Family
1688
1697
  */
1689
1698
  SchemaObservedModelID: Schema.ObservedModelID;
1699
+ /**
1700
+ * Omitted Reason
1701
+ * @description Why an image part carries no bytes: unsupported (wins for a non-recorded media type), too_large, missing, or not_published
1702
+ * @example too_large
1703
+ * @example unsupported
1704
+ * @example missing
1705
+ * @example not_published
1706
+ * @enum {string}
1707
+ */
1708
+ SchemaOmittedReason: Schema.OmittedReason;
1690
1709
  SchemaOwnerTranscriptUpdateRequest: Schema.OwnerTranscriptUpdateRequest;
1691
1710
  SchemaOwnerTranscriptUpdateResponse: Schema.OwnerTranscriptUpdateResponse;
1692
1711
  /** @description Omitted preserves, null requests clear, and a canonical license replaces */
@@ -1927,7 +1946,16 @@ export interface components {
1927
1946
  * @enum {string}
1928
1947
  */
1929
1948
  SchemaTranscriptUpdateVisibility: Schema.TranscriptUpdateVisibility;
1949
+ SchemaTurnContentPart: Schema.TurnContentPart;
1930
1950
  SchemaTurnDetail: Schema.TurnDetail;
1951
+ /**
1952
+ * Turn Part Type
1953
+ * @description Kind of one ordered turn content part: text or image
1954
+ * @example text
1955
+ * @example image
1956
+ * @enum {string}
1957
+ */
1958
+ SchemaTurnPartType: Schema.TurnPartType;
1931
1959
  SchemaUnverifiedPullRequest: Schema.UnverifiedPullRequest;
1932
1960
  SchemaUnverifiedPullRequestSource: Schema.UnverifiedPullRequestSource;
1933
1961
  /**
@@ -43,6 +43,17 @@ export declare const wireAliasShapes: {
43
43
  readonly EntryType: {};
44
44
  readonly EvidenceKind: {};
45
45
  readonly Harness: {};
46
+ readonly ImageMediaType: {};
47
+ readonly ImagePart: {
48
+ readonly fields: {
49
+ readonly byteSize: {};
50
+ readonly height: {};
51
+ readonly mediaType: "ImageMediaType";
52
+ readonly omittedReason: "OmittedReason";
53
+ readonly ref: {};
54
+ readonly width: {};
55
+ };
56
+ };
46
57
  readonly InputModality: {};
47
58
  readonly InterpretationDiagnostics: {
48
59
  readonly fields: {
@@ -76,6 +87,7 @@ export declare const wireAliasShapes: {
76
87
  };
77
88
  };
78
89
  readonly ObservedModelID: {};
90
+ readonly OmittedReason: {};
79
91
  readonly PublicRevisionRef: {};
80
92
  readonly PublicSourceAnchor: {
81
93
  readonly fields: {
@@ -241,11 +253,21 @@ export declare const wireAliasShapes: {
241
253
  readonly sessionDetail: "SessionDetailPayload";
242
254
  };
243
255
  };
256
+ readonly TurnContentPart: {
257
+ readonly fields: {
258
+ readonly image: "ImagePart";
259
+ readonly text: {};
260
+ readonly type: "TurnPartType";
261
+ };
262
+ };
244
263
  readonly TurnDetail: {
245
264
  readonly fields: {
246
265
  readonly agentName: {};
247
266
  readonly command: "CommandInvocation";
248
267
  readonly content: {};
268
+ readonly contentParts: {
269
+ readonly items: "TurnContentPart";
270
+ };
249
271
  readonly controlKind: {};
250
272
  readonly depth: {};
251
273
  readonly entryType: "EntryType";
@@ -268,6 +290,7 @@ export declare const wireAliasShapes: {
268
290
  readonly usage: "UsageDetail";
269
291
  };
270
292
  };
293
+ readonly TurnPartType: {};
271
294
  readonly UsageCompleteness: {};
272
295
  readonly UsageDetail: {
273
296
  readonly fields: {
@@ -44,6 +44,17 @@ export const wireAliasShapes = {
44
44
  "EntryType": {},
45
45
  "EvidenceKind": {},
46
46
  "Harness": {},
47
+ "ImageMediaType": {},
48
+ "ImagePart": {
49
+ "fields": {
50
+ "byteSize": {},
51
+ "height": {},
52
+ "mediaType": "ImageMediaType",
53
+ "omittedReason": "OmittedReason",
54
+ "ref": {},
55
+ "width": {}
56
+ }
57
+ },
47
58
  "InputModality": {},
48
59
  "InterpretationDiagnostics": {
49
60
  "fields": {
@@ -77,6 +88,7 @@ export const wireAliasShapes = {
77
88
  }
78
89
  },
79
90
  "ObservedModelID": {},
91
+ "OmittedReason": {},
80
92
  "PublicRevisionRef": {},
81
93
  "PublicSourceAnchor": {
82
94
  "fields": {
@@ -242,11 +254,21 @@ export const wireAliasShapes = {
242
254
  "sessionDetail": "SessionDetailPayload"
243
255
  }
244
256
  },
257
+ "TurnContentPart": {
258
+ "fields": {
259
+ "image": "ImagePart",
260
+ "text": {},
261
+ "type": "TurnPartType"
262
+ }
263
+ },
245
264
  "TurnDetail": {
246
265
  "fields": {
247
266
  "agentName": {},
248
267
  "command": "CommandInvocation",
249
268
  "content": {},
269
+ "contentParts": {
270
+ "items": "TurnContentPart"
271
+ },
250
272
  "controlKind": {},
251
273
  "depth": {},
252
274
  "entryType": "EntryType",
@@ -269,6 +291,7 @@ export const wireAliasShapes = {
269
291
  "usage": "UsageDetail"
270
292
  }
271
293
  },
294
+ "TurnPartType": {},
272
295
  "UsageCompleteness": {},
273
296
  "UsageDetail": {
274
297
  "fields": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peasant-labs/schema",
3
- "version": "0.44.0",
3
+ "version": "0.45.0",
4
4
  "description": "Generated TypeScript contract bindings for the peasant-labs schema module",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {