@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.
@@ -1,5 +1,5 @@
1
1
  // Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
2
- export const VillageAPIVersion = "0.35.0";
3
- export const PeasantLocalAPIVersion = "0.30.0";
4
- export const TypesVersion = "0.44.0";
2
+ export const VillageAPIVersion = "0.37.0";
3
+ export const PeasantLocalAPIVersion = "0.31.0";
4
+ export const TypesVersion = "0.45.0";
5
5
  export const MetadataSchemaVersion = 12;
@@ -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,10 +1696,29 @@ 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 */
1693
1712
  SchemaOwnerUpdateLicenseIntent: Schema.OwnerUpdateLicenseIntent;
1713
+ /**
1714
+ * Page Size
1715
+ * @description Closed page size set for local list reads: 25, 50, or 100. The value is a number on the wire; an omitted maximum maps to 25 before validation.
1716
+ * @example 25
1717
+ * @example 50
1718
+ * @example 100
1719
+ * @enum {integer}
1720
+ */
1721
+ SchemaPageSize: Schema.PageSize;
1694
1722
  /**
1695
1723
  * Project Hash
1696
1724
  * @description SHA-256 hex digest of the project's origin URL or local path
@@ -1918,7 +1946,16 @@ export interface components {
1918
1946
  * @enum {string}
1919
1947
  */
1920
1948
  SchemaTranscriptUpdateVisibility: Schema.TranscriptUpdateVisibility;
1949
+ SchemaTurnContentPart: Schema.TurnContentPart;
1921
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;
1922
1959
  SchemaUnverifiedPullRequest: Schema.UnverifiedPullRequest;
1923
1960
  SchemaUnverifiedPullRequestSource: Schema.UnverifiedPullRequestSource;
1924
1961
  /**
@@ -6318,7 +6355,10 @@ export interface operations {
6318
6355
  /** @description Set to grouped to request helper-group list items; omission preserves the flat response. */
6319
6356
  view?: components["schemas"]["OpenapiVillageGroupedView"];
6320
6357
  page?: number;
6358
+ /** @description Grouped-view page size. The flat response is paged with per_page instead. */
6321
6359
  limit?: number;
6360
+ /** @description Flat-response page size: 25, 50, or 100. Omitted reads 25. The response echoes it as per_page and bounds next_items with it. */
6361
+ per_page?: components["schemas"]["SchemaPageSize"];
6322
6362
  /** @description Search text. Matches repository identity only on rows whose repository this viewer may see; the withheld repository fields of an anonymous owner's transcript are never searched. */
6323
6363
  q?: string;
6324
6364
  provider?: string;
@@ -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.43.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": {