@peasant-labs/schema 0.32.0 → 0.33.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,4 +1,4 @@
1
- export declare const VillageAPIVersion: "0.28.0";
2
- export declare const PeasantLocalAPIVersion: "0.21.0";
3
- export declare const TypesVersion: "0.33.0";
1
+ export declare const VillageAPIVersion: "0.29.0";
2
+ export declare const PeasantLocalAPIVersion: "0.22.0";
3
+ export declare const TypesVersion: "0.34.0";
4
4
  export declare const MetadataSchemaVersion: 12;
@@ -1,5 +1,5 @@
1
1
  // Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
2
- export const VillageAPIVersion = "0.28.0";
3
- export const PeasantLocalAPIVersion = "0.21.0";
4
- export const TypesVersion = "0.33.0";
2
+ export const VillageAPIVersion = "0.29.0";
3
+ export const PeasantLocalAPIVersion = "0.22.0";
4
+ export const TypesVersion = "0.34.0";
5
5
  export const MetadataSchemaVersion = 12;
@@ -905,7 +905,7 @@ export interface paths {
905
905
  path?: never;
906
906
  cookie?: never;
907
907
  };
908
- /** @description Get a pullable transcript's metadata (owner, visibility, server-computed content_hash, push contract version). 404 (not 403) when not pullable. */
908
+ /** @description Get a pullable transcript's metadata (the owner as the caller may see them, visibility, server-computed content_hash, push contract version). The server resolves the owner per viewer; a caller always sees its own profile on its own transcripts. 404 (not 403) when not pullable. */
909
909
  get: operations["getPullTranscript"];
910
910
  put?: never;
911
911
  post?: never;
@@ -922,7 +922,7 @@ export interface paths {
922
922
  path?: never;
923
923
  cookie?: never;
924
924
  };
925
- /** @description List a transcript's annotations as PullAnnotation rows (AnnotationSummary plus author identity), so pulled annotations can be foreign-marked and own-authored rows excluded. */
925
+ /** @description List a transcript's annotations as PullAnnotation rows (AnnotationSummary plus the author as the caller may see them, resolved by the server per viewer). The caller's own rows carry the caller's profile, so own-authored rows are excluded by comparing the author's profile id with the caller's account; an anonymous author is never the caller and is foreign-marked. */
926
926
  get: operations["getPullTranscriptAnnotations"];
927
927
  put?: never;
928
928
  post?: never;
@@ -1025,7 +1025,7 @@ export interface paths {
1025
1025
  path?: never;
1026
1026
  cookie?: never;
1027
1027
  };
1028
- /** @description List authorized transcripts using the existing global, recent, explore, profile, project, and search filters. view=grouped returns grouped list items; omitting view preserves the flat transcript array. */
1028
+ /** @description List authorized transcripts using the existing global, recent, explore, profile, project, and search filters. view=grouped returns grouped list items; omitting view preserves the flat transcript array. The owner and org filters match only transcripts whose owner this viewer may see as a profile: a person shown to this viewer as anonymous never matches a username or an organization filter, so a filter cannot reveal who an anonymous owner is. */
1029
1029
  get: operations["listTranscripts"];
1030
1030
  put?: never;
1031
1031
  post?: never;
@@ -1094,7 +1094,7 @@ export interface paths {
1094
1094
  path?: never;
1095
1095
  cookie?: never;
1096
1096
  };
1097
- /** @description Get the durable transcript content envelope. This response never includes authorized relationship navigation. */
1097
+ /** @description Get the durable transcript content envelope. This response never includes authorized relationship navigation. When the transcript's owner is anonymous to this viewer, sessionDetail is served without its repository identity: project, workingDirectory, gitBranch, gitRemote and every childSessions[].project are absent. Text inside the conversation is content and is not covered. */
1098
1098
  get: operations["getTranscriptContent"];
1099
1099
  put?: never;
1100
1100
  post?: never;
@@ -1111,7 +1111,7 @@ export interface paths {
1111
1111
  path?: never;
1112
1112
  cookie?: never;
1113
1113
  };
1114
- /** @description List the pull requests whose prompt attachment includes this transcript, attached or detached, with each pull request's title and head branch. A requested, waiting, or preview attachment is never listed. An attachment on a private repository is listed only to the pull request author, a member of the collective the attachment belongs to, or, for an attached attachment, a reader of the repository; any other attachment on a private repository is omitted rather than refused, and so is one whose visibility check cannot complete. A caller who may not read the transcript receives 404, never 403, so the read does not reveal that the transcript exists. 429 means the private-repository visibility check is rate limited; retry later. */
1114
+ /** @description List the pull requests whose prompt attachment includes this transcript, attached or detached, with each pull request's title and head branch. A requested, waiting, or preview attachment is never listed. An attachment on a private repository is listed only to the pull request author, a member of the collective the attachment belongs to, or, for an attached attachment, a reader of the repository; any other attachment on a private repository is omitted rather than refused, and so is one whose visibility check cannot complete. A caller who may not read the transcript receives 404, never 403, so the read does not reveal that the transcript exists. 429 means the private-repository visibility check is rate limited; retry later. A pull request the owner attached is shown even when the owner is anonymous to this viewer; attaching is the owner's own act. */
1115
1115
  get: operations["listTranscriptPullRequests"];
1116
1116
  put?: never;
1117
1117
  post?: never;
@@ -1897,6 +1897,11 @@ export interface components {
1897
1897
  */
1898
1898
  SchemaVillagePromptsCheckMode: Schema.VillagePromptsCheckMode;
1899
1899
  SchemaVillagePublicCollective: Schema.VillagePublicCollective;
1900
+ /**
1901
+ * Village Public Owner
1902
+ * @description A person as another viewer sees them. The server resolves anonymity per viewer; consumers render what they receive and never re-derive the rule. profile carries id, username, display_name, and avatar_url; anonymous carries only its kind, with no id. Readers treat an unknown kind as anonymous.
1903
+ */
1904
+ SchemaVillagePublicOwner: Schema.VillagePublicOwner;
1900
1905
  SchemaVillagePullRequestAttachedTranscript: Schema.VillagePullRequestAttachedTranscript;
1901
1906
  SchemaVillagePullRequestAttachment: Schema.VillagePullRequestAttachment;
1902
1907
  SchemaVillagePullRequestAttachmentResponse: Schema.VillagePullRequestAttachmentResponse;
@@ -5699,11 +5704,16 @@ export interface operations {
5699
5704
  view?: components["schemas"]["OpenapiVillageGroupedView"];
5700
5705
  page?: number;
5701
5706
  limit?: number;
5707
+ /** @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. */
5702
5708
  q?: string;
5703
5709
  provider?: string;
5710
+ /** @description Username filter. Matches only owners this viewer may see as a profile; an owner shown as anonymous never matches. */
5704
5711
  owner?: string;
5712
+ /** @description Project filter. Matches only rows whose repository this viewer may see; a transcript whose owner is anonymous to this viewer never matches. */
5705
5713
  project?: string;
5714
+ /** @description Repository filter. Matches only rows whose repository this viewer may see; a transcript whose owner is anonymous to this viewer never matches. */
5706
5715
  repo?: string;
5716
+ /** @description Organization filter. Matches only owners this viewer may see as a profile; an owner shown as anonymous never matches. */
5707
5717
  org?: string;
5708
5718
  tags?: string;
5709
5719
  origin?: components["schemas"]["SchemaSessionOrigin"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peasant-labs/schema",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "description": "Generated TypeScript contract bindings for the peasant-labs schema module",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {