@peasant-labs/schema 0.17.0 → 0.19.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.
Files changed (28) hide show
  1. package/README.md +4 -0
  2. package/dist/fixtures/session-graph-capability.d.ts +454 -0
  3. package/dist/fixtures/session-graph-capability.js +4 -0
  4. package/dist/fixtures/session-graph.d.ts +7349 -0
  5. package/dist/fixtures/session-graph.js +4 -0
  6. package/dist/fixtures.d.ts +2 -0
  7. package/dist/fixtures.js +2 -0
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.js +227 -39
  10. package/dist/internal/generated/content-capabilities.gen.d.ts +7 -0
  11. package/dist/internal/generated/content-capabilities.gen.js +48 -2
  12. package/dist/internal/generated/contract/zod.gen.d.ts +9558 -1328
  13. package/dist/internal/generated/contract/zod.gen.js +597 -27
  14. package/dist/internal/generated/enums.gen.d.ts +136 -0
  15. package/dist/internal/generated/enums.gen.js +149 -0
  16. package/dist/internal/generated/local-api.d.ts +308 -6
  17. package/dist/internal/generated/metadata-limits.gen.d.ts +1 -0
  18. package/dist/internal/generated/metadata-limits.gen.js +2 -0
  19. package/dist/internal/generated/public-contract.gen.d.ts +2 -2
  20. package/dist/internal/generated/public-contract.gen.js +1 -1
  21. package/dist/internal/generated/session-graph-capability-fixtures.gen.d.ts +454 -0
  22. package/dist/internal/generated/session-graph-capability-fixtures.gen.js +570 -0
  23. package/dist/internal/generated/session-graph-fixtures.gen.d.ts +7349 -0
  24. package/dist/internal/generated/session-graph-fixtures.gen.js +8052 -0
  25. package/dist/internal/generated/versions.gen.d.ts +4 -4
  26. package/dist/internal/generated/versions.gen.js +4 -4
  27. package/dist/internal/generated/village-api.d.ts +512 -8
  28. package/package.json +9 -1
@@ -533,6 +533,40 @@ export interface paths {
533
533
  patch?: never;
534
534
  trace?: never;
535
535
  };
536
+ "/api/v1/transcript-groups/{groupId}/members": {
537
+ parameters: {
538
+ query?: never;
539
+ header?: never;
540
+ path?: never;
541
+ cookie?: never;
542
+ };
543
+ /** @description Page the authorized saved helper threads selected by an originating grouped list. The required opaque scope is replayed with current authorization and cannot widen the original route filters. */
544
+ get: operations["listTranscriptGroupMembers"];
545
+ put?: never;
546
+ post?: never;
547
+ delete?: never;
548
+ options?: never;
549
+ head?: never;
550
+ patch?: never;
551
+ trace?: never;
552
+ };
553
+ "/api/v1/transcripts": {
554
+ parameters: {
555
+ query?: never;
556
+ header?: never;
557
+ path?: never;
558
+ cookie?: never;
559
+ };
560
+ /** @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. */
561
+ get: operations["listTranscripts"];
562
+ put?: never;
563
+ post?: never;
564
+ delete?: never;
565
+ options?: never;
566
+ head?: never;
567
+ patch?: never;
568
+ trace?: never;
569
+ };
536
570
  "/api/v1/transcripts/publish": {
537
571
  parameters: {
538
572
  query?: never;
@@ -557,7 +591,8 @@ export interface paths {
557
591
  path?: never;
558
592
  cookie?: never;
559
593
  };
560
- get?: never;
594
+ /** @description Get transcript metadata and viewer-authorized relationship navigation. Navigation is read-only and is never stored in transcript content. */
595
+ get: operations["getTranscriptMetadata"];
561
596
  put?: never;
562
597
  post?: never;
563
598
  delete?: never;
@@ -584,6 +619,23 @@ export interface paths {
584
619
  patch?: never;
585
620
  trace?: never;
586
621
  };
622
+ "/api/v1/transcripts/{id}/content": {
623
+ parameters: {
624
+ query?: never;
625
+ header?: never;
626
+ path?: never;
627
+ cookie?: never;
628
+ };
629
+ /** @description Get the durable transcript content envelope. This response never includes authorized relationship navigation. */
630
+ get: operations["getTranscriptContent"];
631
+ put?: never;
632
+ post?: never;
633
+ delete?: never;
634
+ options?: never;
635
+ head?: never;
636
+ patch?: never;
637
+ trace?: never;
638
+ };
587
639
  "/api/v1/transcripts/{id}/share": {
588
640
  parameters: {
589
641
  query?: never;
@@ -743,6 +795,18 @@ export interface components {
743
795
  OpenapiTranscriptUpdateErrorResponse: {
744
796
  error: string;
745
797
  };
798
+ /** @enum {string} */
799
+ OpenapiVillageGroupedView: "grouped";
800
+ /**
801
+ * Actor Origin
802
+ * @description Closed session graph value
803
+ * @example operator
804
+ * @example agent_delegate
805
+ * @example harness
806
+ * @example unknown
807
+ * @enum {string}
808
+ */
809
+ SchemaActorOrigin: Schema.ActorOrigin;
746
810
  SchemaAnnotationEntryTarget: Schema.AnnotationEntryTarget;
747
811
  SchemaAnnotationManifestResponse: Schema.AnnotationManifestResponse;
748
812
  SchemaAnnotationPushItem: Schema.AnnotationPushItem;
@@ -788,6 +852,52 @@ export interface components {
788
852
  SchemaAuthoritativeSourceInfo: Schema.AuthoritativeSourceInfo;
789
853
  SchemaAuthoritativeSubagentRef: Schema.AuthoritativeSubagentRef;
790
854
  SchemaAuthoritativeTimestampInfo: Schema.AuthoritativeTimestampInfo;
855
+ SchemaChildSessionRef: Schema.ChildSessionRef;
856
+ SchemaCommandInvocation: Schema.CommandInvocation;
857
+ /**
858
+ * Content Kind
859
+ * @description Payload kind carried by a transcript content envelope
860
+ * @example session_detail
861
+ * @enum {string}
862
+ */
863
+ SchemaContentKind: Schema.ContentKind;
864
+ /**
865
+ * Content Origin
866
+ * @description Closed session graph value
867
+ * @example submitted_input
868
+ * @example harness_context
869
+ * @example agent_output
870
+ * @example agent_communication
871
+ * @example tool_activity
872
+ * @example system_control
873
+ * @example generated_summary
874
+ * @example unknown
875
+ * @enum {string}
876
+ */
877
+ SchemaContentOrigin: Schema.ContentOrigin;
878
+ /**
879
+ * Content Ownership
880
+ * @description Closed session graph value
881
+ * @example local
882
+ * @example inherited
883
+ * @example uncertain
884
+ * @enum {string}
885
+ */
886
+ SchemaContentOwnership: Schema.ContentOwnership;
887
+ SchemaContentProvenance: Schema.ContentProvenance;
888
+ /**
889
+ * Delivery Origin
890
+ * @description Closed session graph value
891
+ * @example session_admission
892
+ * @example guardian_review
893
+ * @example subagent_delivery
894
+ * @example inherited_context
895
+ * @example tool_delivery
896
+ * @example system_lifecycle
897
+ * @example unknown
898
+ * @enum {string}
899
+ */
900
+ SchemaDeliveryOrigin: Schema.DeliveryOrigin;
791
901
  /**
792
902
  * Digest Item Kind
793
903
  * @description Kind of one item in the prompt digest chain: a session boundary, a human prompt, a skill invocation marker, or a commit anchor
@@ -798,6 +908,15 @@ export interface components {
798
908
  * @enum {string}
799
909
  */
800
910
  SchemaDigestItemKind: Schema.DigestItemKind;
911
+ SchemaEarlierHistorySection: Schema.EarlierHistorySection;
912
+ /**
913
+ * Earlier History State
914
+ * @description Closed session graph value
915
+ * @example uncertain_migrated
916
+ * @example uncertain_unresolved
917
+ * @enum {string}
918
+ */
919
+ SchemaEarlierHistoryState: Schema.EarlierHistoryState;
801
920
  /**
802
921
  * Entry Type
803
922
  * @description Classification of a single entry within an agent session transcript
@@ -807,8 +926,22 @@ export interface components {
807
926
  * @enum {string}
808
927
  */
809
928
  SchemaEntryType: Schema.EntryType;
929
+ /**
930
+ * Evidence Kind
931
+ * @description Closed session graph value
932
+ * @example native_typed
933
+ * @example lifecycle_typed
934
+ * @example existing_adapter
935
+ * @example retained_last_good
936
+ * @example unknown
937
+ * @example conflict
938
+ * @enum {string}
939
+ */
940
+ SchemaEvidenceKind: Schema.EvidenceKind;
810
941
  SchemaExchangeCodeRequest: Schema.ExchangeCodeRequest;
811
942
  SchemaExchangeCodeResponse: Schema.ExchangeCodeResponse;
943
+ SchemaHelperContextSummary: Schema.HelperContextSummary;
944
+ SchemaHelperGroupSummary: Schema.HelperGroupSummary;
812
945
  /**
813
946
  * Host Slug
814
947
  * @description Sanitized, filesystem-safe identifier derived from git remote; contains only [a-zA-Z0-9._<>-]
@@ -816,6 +949,18 @@ export interface components {
816
949
  * @example local--home-user-projects-myapp
817
950
  */
818
951
  SchemaHostSlug: Schema.HostSlug;
952
+ /**
953
+ * Input Modality
954
+ * @description Closed session graph value
955
+ * @example none
956
+ * @example text
957
+ * @example media
958
+ * @example user_action
959
+ * @example mixed
960
+ * @example unknown
961
+ * @enum {string}
962
+ */
963
+ SchemaInputModality: Schema.InputModality;
819
964
  /**
820
965
  * License
821
966
  * @description Content license for a published transcript
@@ -831,6 +976,45 @@ export interface components {
831
976
  * @example codex-mini-latest
832
977
  */
833
978
  SchemaModelID: Schema.ModelID;
979
+ SchemaNativeAttachmentRef: Schema.NativeAttachmentRef;
980
+ /**
981
+ * Native Metadata Kind
982
+ * @description Kind of bounded non-conversational native metadata
983
+ * @example pi.custom.data
984
+ * @example pi.custommessage.details
985
+ * @example pi.toolresult.details
986
+ * @example pi.compaction.details
987
+ * @example pi.branchsummary.details
988
+ * @enum {string}
989
+ */
990
+ SchemaNativeMetadataKind: Schema.NativeMetadataKind;
991
+ SchemaNativeMetadataRecord: Schema.NativeMetadataRecord;
992
+ /**
993
+ * Native Metadata Source Type
994
+ * @description Native source category for public metadata
995
+ * @example pi.custom
996
+ * @example pi.custom_message
997
+ * @example pi.message
998
+ * @example pi.compaction
999
+ * @example pi.branch_summary
1000
+ * @enum {string}
1001
+ */
1002
+ SchemaNativeMetadataSourceType: Schema.NativeMetadataSourceType;
1003
+ /**
1004
+ * Native Pi Message Role
1005
+ * @description Pi message role needed for public metadata validation
1006
+ * @example toolResult
1007
+ * @enum {string}
1008
+ */
1009
+ SchemaNativePiMessageRole: Schema.NativePiMessageRole;
1010
+ SchemaNativeSourceRef: Schema.NativeSourceRef;
1011
+ /**
1012
+ * Observed Model ID
1013
+ * @description Exact UTF-8 model identifier observed on an assistant-generated turn; producer-enforced as assistant or subagent evidence. Values are non-empty and may not have a Unicode White_Space code point at either edge; all accepted bytes, including Unicode, mixed case, slashes, and internal spaces, are preserved.
1014
+ * @example anthropic/Claude-Opus-4-8
1015
+ * @example provider/Model Family
1016
+ */
1017
+ SchemaObservedModelID: Schema.ObservedModelID;
834
1018
  SchemaOwnerTranscriptUpdateRequest: Schema.OwnerTranscriptUpdateRequest;
835
1019
  SchemaOwnerTranscriptUpdateResponse: Schema.OwnerTranscriptUpdateResponse;
836
1020
  /** @description Omitted preserves, null requests clear, and a canonical license replaces */
@@ -846,6 +1030,21 @@ export interface components {
846
1030
  SchemaPromptDigestItem: Schema.PromptDigestItem;
847
1031
  SchemaPromptDigestSkill: Schema.PromptDigestSkill;
848
1032
  SchemaProvenance: Schema.Provenance;
1033
+ /**
1034
+ * Public Revision Reference
1035
+ * Format: public-ref-utf8-96-bytes
1036
+ */
1037
+ SchemaPublicRevisionRef: Schema.PublicRevisionRef;
1038
+ SchemaPublicSourceAnchor: Schema.PublicSourceAnchor;
1039
+ /**
1040
+ * Public Source Anchor Kind
1041
+ * @description Closed session graph value
1042
+ * @example general_source_session
1043
+ * @example before_redacted_entry
1044
+ * @example through_redacted_entry
1045
+ * @enum {string}
1046
+ */
1047
+ SchemaPublicSourceAnchorKind: Schema.PublicSourceAnchorKind;
849
1048
  SchemaPublishAppliedState: Schema.PublishAppliedState;
850
1049
  SchemaPublishNormalizedValues: Schema.PublishNormalizedValues;
851
1050
  /**
@@ -861,6 +1060,30 @@ export interface components {
861
1060
  SchemaPullSkipGateResponse: Schema.PullSkipGateResponse;
862
1061
  SchemaPullSkipGateResult: Schema.PullSkipGateResult;
863
1062
  SchemaPullTranscriptInfo: Schema.PullTranscriptInfo;
1063
+ SchemaRecordedCostDetail: Schema.RecordedCostDetail;
1064
+ /**
1065
+ * Relationship Navigation Status
1066
+ * @description Closed session graph value
1067
+ * @example resolved
1068
+ * @example general_link_only
1069
+ * @example known_unavailable
1070
+ * @example inaccessible
1071
+ * @example unknown
1072
+ * @example conflicting
1073
+ * @enum {string}
1074
+ */
1075
+ SchemaRelationshipNavigationStatus: Schema.RelationshipNavigationStatus;
1076
+ /**
1077
+ * Relationship Target State
1078
+ * @description Closed session graph value
1079
+ * @example target_known
1080
+ * @example target_known_retained
1081
+ * @example explicit_none
1082
+ * @example unknown
1083
+ * @example conflicting_current_native_evidence
1084
+ * @enum {string}
1085
+ */
1086
+ SchemaRelationshipTargetState: Schema.RelationshipTargetState;
864
1087
  /**
865
1088
  * Role
866
1089
  * @description Sender role of a message turn
@@ -870,6 +1093,7 @@ export interface components {
870
1093
  */
871
1094
  SchemaRole: Schema.Role;
872
1095
  SchemaSchemaVersionResponse: Schema.SchemaVersionResponse;
1096
+ SchemaSessionDetailPayload: Schema.SessionDetailPayload;
873
1097
  /**
874
1098
  * Session ID
875
1099
  * Format: session-id
@@ -882,6 +1106,14 @@ export interface components {
882
1106
  * @example ABCDEFGHIJKLMNOPQRST234567
883
1107
  */
884
1108
  SchemaSessionID: Schema.SessionID;
1109
+ /**
1110
+ * Session List Item Kind
1111
+ * @description Closed session graph value
1112
+ * @example transcript
1113
+ * @example context_container
1114
+ * @enum {string}
1115
+ */
1116
+ SchemaSessionListItemKind: Schema.SessionListItemKind;
885
1117
  /**
886
1118
  * Session Origin
887
1119
  * @description Who drove a recorded session, as declared by the producer that recorded it
@@ -900,6 +1132,32 @@ export interface components {
900
1132
  * @enum {string}
901
1133
  */
902
1134
  SchemaSessionOutcome: Schema.SessionOutcome;
1135
+ /**
1136
+ * Session Purpose
1137
+ * @description Closed session graph value
1138
+ * @example interaction
1139
+ * @example delegated_work
1140
+ * @example helper_review
1141
+ * @example unknown
1142
+ * @enum {string}
1143
+ */
1144
+ SchemaSessionPurpose: Schema.SessionPurpose;
1145
+ SchemaSessionRelationship: Schema.SessionRelationship;
1146
+ /**
1147
+ * Session Relationship Kind
1148
+ * @description Closed session graph value
1149
+ * @example started_by
1150
+ * @example context_from
1151
+ * @enum {string}
1152
+ */
1153
+ SchemaSessionRelationshipKind: Schema.SessionRelationshipKind;
1154
+ SchemaSessionRelationshipNavigation: Schema.SessionRelationshipNavigation;
1155
+ SchemaSessionScorecard: Schema.SessionScorecard;
1156
+ /**
1157
+ * Source Entry Reference
1158
+ * Format: public-ref-utf8-96-bytes
1159
+ */
1160
+ SchemaSourceEntryRef: Schema.SourceEntryRef;
903
1161
  /**
904
1162
  * Source Format
905
1163
  * @description Transcript file format
@@ -916,6 +1174,11 @@ export interface components {
916
1174
  * @enum {string}
917
1175
  */
918
1176
  SchemaStopReason: Schema.StopReason;
1177
+ /**
1178
+ * Submission Reference
1179
+ * Format: public-ref-utf8-96-bytes
1180
+ */
1181
+ SchemaSubmissionRef: Schema.SubmissionRef;
919
1182
  /**
920
1183
  * Target Kind
921
1184
  * @description What is being annotated: session-level, entry-level (turn/tool call), meta-annotation, project-level, a specific file version (content-hash keyed read-state receipt), or a durable session-to-commit association
@@ -926,6 +1189,8 @@ export interface components {
926
1189
  * @enum {string}
927
1190
  */
928
1191
  SchemaTargetKind: Schema.TargetKind;
1192
+ SchemaTokenUsageDetail: Schema.TokenUsageDetail;
1193
+ SchemaToolCallDetail: Schema.ToolCallDetail;
929
1194
  /**
930
1195
  * Tool Call Kind
931
1196
  * @description Classification of a tool call, aligned with ACP ToolCallUpdate.kind
@@ -935,6 +1200,7 @@ export interface components {
935
1200
  * @enum {string}
936
1201
  */
937
1202
  SchemaToolCallKind: Schema.ToolCallKind;
1203
+ SchemaTranscriptContent: Schema.TranscriptContent;
938
1204
  /**
939
1205
  * Transcript Content Hash
940
1206
  * @description SHA3-256 digest of the exact transcript file bytes
@@ -955,6 +1221,26 @@ export interface components {
955
1221
  * @enum {string}
956
1222
  */
957
1223
  SchemaTranscriptUpdateVisibility: Schema.TranscriptUpdateVisibility;
1224
+ SchemaTurnDetail: Schema.TurnDetail;
1225
+ /**
1226
+ * Usage Completeness
1227
+ * @description Completeness of the five base token fields
1228
+ * @example complete
1229
+ * @example partial
1230
+ * @example unknown
1231
+ * @enum {string}
1232
+ */
1233
+ SchemaUsageCompleteness: Schema.UsageCompleteness;
1234
+ SchemaUsageDetail: Schema.UsageDetail;
1235
+ /**
1236
+ * Usage Scope
1237
+ * @description Native owner scope for detailed token and cost evidence
1238
+ * @example assistant
1239
+ * @example tool
1240
+ * @example summary
1241
+ * @enum {string}
1242
+ */
1243
+ SchemaUsageScope: Schema.UsageScope;
958
1244
  /**
959
1245
  * Village Assignable Group Role
960
1246
  * @description Collective roles an owner may assign through the member role endpoint
@@ -984,6 +1270,7 @@ export interface components {
984
1270
  */
985
1271
  SchemaVillageContributionStatus: Schema.VillageContributionStatus;
986
1272
  SchemaVillageCreateGroupRequest: Schema.VillageCreateGroupRequest;
1273
+ SchemaVillageEnrichedTranscriptShare: Schema.VillageEnrichedTranscriptShare;
987
1274
  SchemaVillageErrorResponse: Schema.VillageErrorResponse;
988
1275
  /**
989
1276
  * GitHub Webhook Payload
@@ -1010,6 +1297,7 @@ export interface components {
1010
1297
  * @enum {string}
1011
1298
  */
1012
1299
  SchemaVillageGroupDataAccess: Schema.VillageGroupDataAccess;
1300
+ SchemaVillageGroupDetailRecord: Schema.VillageGroupDetailRecord;
1013
1301
  SchemaVillageGroupDetailResponse: Schema.VillageGroupDetailResponse;
1014
1302
  SchemaVillageGroupMember: Schema.VillageGroupMember;
1015
1303
  SchemaVillageGroupMemberRoleRequest: Schema.VillageGroupMemberRoleRequest;
@@ -1039,9 +1327,15 @@ export interface components {
1039
1327
  * @enum {string}
1040
1328
  */
1041
1329
  SchemaVillageGroupViewerRole: Schema.VillageGroupViewerRole;
1330
+ SchemaVillageGroupedContributableResponse: Schema.VillageGroupedContributableResponse;
1331
+ SchemaVillageGroupedGroupDetailResponse: Schema.VillageGroupedGroupDetailResponse;
1332
+ SchemaVillageHelperMembersPayload: Schema.VillageHelperMembersPayload;
1042
1333
  SchemaVillageLinkRepositoryRequest: Schema.VillageLinkRepositoryRequest;
1043
1334
  SchemaVillageLinkedRepositoriesResponse: Schema.VillageLinkedRepositoriesResponse;
1044
1335
  SchemaVillageLinkedRepository: Schema.VillageLinkedRepository;
1336
+ SchemaVillageListTranscriptAttestation: Schema.VillageListTranscriptAttestation;
1337
+ SchemaVillageListUserOrganization: Schema.VillageListUserOrganization;
1338
+ SchemaVillageMetadataUserOrganization: Schema.VillageMetadataUserOrganization;
1045
1339
  SchemaVillagePendingShare: Schema.VillagePendingShare;
1046
1340
  /**
1047
1341
  * Village Project Name Source
@@ -1092,6 +1386,9 @@ export interface components {
1092
1386
  SchemaVillageReviewDecision: Schema.VillageReviewDecision;
1093
1387
  SchemaVillageReviewShareRequest: Schema.VillageReviewShareRequest;
1094
1388
  SchemaVillageReviewShareResponse: Schema.VillageReviewShareResponse;
1389
+ SchemaVillageSessionListItem: Schema.VillageSessionListItem;
1390
+ SchemaVillageSessionListPayload: Schema.VillageSessionListPayload;
1391
+ SchemaVillageSessionRow: Schema.VillageSessionRow;
1095
1392
  SchemaVillageShareEvent: Schema.VillageShareEvent;
1096
1393
  /**
1097
1394
  * Village Share Event Actor
@@ -1116,6 +1413,9 @@ export interface components {
1116
1413
  SchemaVillageShareStatus: Schema.VillageShareStatus;
1117
1414
  SchemaVillageShareTranscriptRequest: Schema.VillageShareTranscriptRequest;
1118
1415
  SchemaVillageStatusResponse: Schema.VillageStatusResponse;
1416
+ SchemaVillageTag: Schema.VillageTag;
1417
+ SchemaVillageTranscript: Schema.VillageTranscript;
1418
+ SchemaVillageTranscriptAttestation: Schema.VillageTranscriptAttestation;
1119
1419
  SchemaVillageTranscriptCollective: Schema.VillageTranscriptCollective;
1120
1420
  SchemaVillageTranscriptCollectivesResponse: Schema.VillageTranscriptCollectivesResponse;
1121
1421
  /**
@@ -1126,6 +1426,9 @@ export interface components {
1126
1426
  * @enum {string}
1127
1427
  */
1128
1428
  SchemaVillageTranscriptDeletionPolicy: Schema.VillageTranscriptDeletionPolicy;
1429
+ SchemaVillageTranscriptListResponse: Schema.VillageTranscriptListResponse;
1430
+ SchemaVillageTranscriptListRow: Schema.VillageTranscriptListRow;
1431
+ SchemaVillageTranscriptMetadataResponse: Schema.VillageTranscriptMetadataResponse;
1129
1432
  SchemaVillageTranscriptShare: Schema.VillageTranscriptShare;
1130
1433
  /**
1131
1434
  * Village Transcript Visibility
@@ -1145,6 +1448,7 @@ export interface components {
1145
1448
  SchemaVillageUUID: Schema.VillageUUID;
1146
1449
  SchemaVillageUpdateGroupRequest: Schema.VillageUpdateGroupRequest;
1147
1450
  SchemaVillageUpdateUserSettingsRequest: Schema.VillageUpdateUserSettingsRequest;
1451
+ SchemaVillageUser: Schema.VillageUser;
1148
1452
  SchemaVillageUserGroup: Schema.VillageUserGroup;
1149
1453
  SchemaVillageUserGroupShare: Schema.VillageUserGroupShare;
1150
1454
  SchemaVillageUserSettings: Schema.VillageUserSettings;
@@ -1466,6 +1770,8 @@ export interface operations {
1466
1770
  query?: {
1467
1771
  limit?: number;
1468
1772
  offset?: number;
1773
+ /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
1774
+ view?: components["schemas"]["OpenapiVillageGroupedView"];
1469
1775
  };
1470
1776
  header?: never;
1471
1777
  path: {
@@ -1482,7 +1788,7 @@ export interface operations {
1482
1788
  [name: string]: unknown;
1483
1789
  };
1484
1790
  content: {
1485
- "application/json": components["schemas"]["SchemaVillageGroupDetailResponse"];
1791
+ "application/json": components["schemas"]["SchemaVillageGroupDetailResponse"] | components["schemas"]["SchemaVillageGroupedGroupDetailResponse"];
1486
1792
  };
1487
1793
  };
1488
1794
  /** @description Bad Request */
@@ -1638,7 +1944,10 @@ export interface operations {
1638
1944
  };
1639
1945
  listContributableTranscripts: {
1640
1946
  parameters: {
1641
- query?: never;
1947
+ query?: {
1948
+ /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
1949
+ view?: components["schemas"]["OpenapiVillageGroupedView"];
1950
+ };
1642
1951
  header?: never;
1643
1952
  path: {
1644
1953
  /** @description Collective identifier */
@@ -1654,7 +1963,7 @@ export interface operations {
1654
1963
  [name: string]: unknown;
1655
1964
  };
1656
1965
  content: {
1657
- "application/json": components["schemas"]["SchemaVillageContributableResponse"];
1966
+ "application/json": components["schemas"]["SchemaVillageContributableResponse"] | components["schemas"]["SchemaVillageGroupedContributableResponse"];
1658
1967
  };
1659
1968
  };
1660
1969
  /** @description Bad Request */
@@ -1992,7 +2301,10 @@ export interface operations {
1992
2301
  };
1993
2302
  listMyGroupShares: {
1994
2303
  parameters: {
1995
- query?: never;
2304
+ query?: {
2305
+ /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
2306
+ view?: components["schemas"]["OpenapiVillageGroupedView"];
2307
+ };
1996
2308
  header?: never;
1997
2309
  path: {
1998
2310
  /** @description Collective identifier */
@@ -2008,7 +2320,7 @@ export interface operations {
2008
2320
  [name: string]: unknown;
2009
2321
  };
2010
2322
  content: {
2011
- "application/json": null | components["schemas"]["SchemaVillageUserGroupShare"][];
2323
+ "application/json": components["schemas"]["SchemaVillageUserGroupShare"][] | components["schemas"]["SchemaVillageSessionListPayload"];
2012
2324
  };
2013
2325
  };
2014
2326
  /** @description Bad Request */
@@ -2042,7 +2354,10 @@ export interface operations {
2042
2354
  };
2043
2355
  listPendingShares: {
2044
2356
  parameters: {
2045
- query?: never;
2357
+ query?: {
2358
+ /** @description Set to grouped to request helper-group list items; omission preserves the legacy response. */
2359
+ view?: components["schemas"]["OpenapiVillageGroupedView"];
2360
+ };
2046
2361
  header?: never;
2047
2362
  path: {
2048
2363
  /** @description Collective identifier */
@@ -2058,7 +2373,7 @@ export interface operations {
2058
2373
  [name: string]: unknown;
2059
2374
  };
2060
2375
  content: {
2061
- "application/json": null | components["schemas"]["SchemaVillagePendingShare"][];
2376
+ "application/json": components["schemas"]["SchemaVillagePendingShare"][] | components["schemas"]["SchemaVillageSessionListPayload"];
2062
2377
  };
2063
2378
  };
2064
2379
  /** @description Bad Request */
@@ -3105,6 +3420,113 @@ export interface operations {
3105
3420
  };
3106
3421
  };
3107
3422
  };
3423
+ listTranscriptGroupMembers: {
3424
+ parameters: {
3425
+ query: {
3426
+ /** @description Opaque scope returned by the originating grouped list */
3427
+ scope: string;
3428
+ page?: number;
3429
+ limit?: number;
3430
+ };
3431
+ header?: never;
3432
+ path: {
3433
+ /** @description Stable helper group identifier */
3434
+ groupId: string;
3435
+ };
3436
+ cookie?: never;
3437
+ };
3438
+ requestBody?: never;
3439
+ responses: {
3440
+ /** @description OK */
3441
+ 200: {
3442
+ headers: {
3443
+ [name: string]: unknown;
3444
+ };
3445
+ content: {
3446
+ "application/json": components["schemas"]["SchemaVillageHelperMembersPayload"];
3447
+ };
3448
+ };
3449
+ /** @description Bad Request */
3450
+ 400: {
3451
+ headers: {
3452
+ [name: string]: unknown;
3453
+ };
3454
+ content: {
3455
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3456
+ };
3457
+ };
3458
+ /** @description Forbidden */
3459
+ 403: {
3460
+ headers: {
3461
+ [name: string]: unknown;
3462
+ };
3463
+ content: {
3464
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3465
+ };
3466
+ };
3467
+ /** @description Conflict */
3468
+ 409: {
3469
+ headers: {
3470
+ [name: string]: unknown;
3471
+ };
3472
+ content: {
3473
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3474
+ };
3475
+ };
3476
+ };
3477
+ };
3478
+ listTranscripts: {
3479
+ parameters: {
3480
+ query?: {
3481
+ /** @description Set to grouped to request helper-group list items; omission preserves the flat response. */
3482
+ view?: components["schemas"]["OpenapiVillageGroupedView"];
3483
+ page?: number;
3484
+ limit?: number;
3485
+ q?: string;
3486
+ provider?: string;
3487
+ owner?: string;
3488
+ project?: string;
3489
+ repo?: string;
3490
+ org?: string;
3491
+ tags?: string;
3492
+ origin?: components["schemas"]["SchemaSessionOrigin"];
3493
+ sort?: string;
3494
+ };
3495
+ header?: never;
3496
+ path?: never;
3497
+ cookie?: never;
3498
+ };
3499
+ requestBody?: never;
3500
+ responses: {
3501
+ /** @description OK */
3502
+ 200: {
3503
+ headers: {
3504
+ [name: string]: unknown;
3505
+ };
3506
+ content: {
3507
+ "application/json": components["schemas"]["SchemaVillageTranscriptListResponse"] | components["schemas"]["SchemaVillageSessionListPayload"];
3508
+ };
3509
+ };
3510
+ /** @description Bad Request */
3511
+ 400: {
3512
+ headers: {
3513
+ [name: string]: unknown;
3514
+ };
3515
+ content: {
3516
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3517
+ };
3518
+ };
3519
+ /** @description Internal Server Error */
3520
+ 500: {
3521
+ headers: {
3522
+ [name: string]: unknown;
3523
+ };
3524
+ content: {
3525
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3526
+ };
3527
+ };
3528
+ };
3529
+ };
3108
3530
  publishTranscript: {
3109
3531
  parameters: {
3110
3532
  query?: never;
@@ -3138,6 +3560,47 @@ export interface operations {
3138
3560
  };
3139
3561
  };
3140
3562
  };
3563
+ getTranscriptMetadata: {
3564
+ parameters: {
3565
+ query?: never;
3566
+ header?: never;
3567
+ path: {
3568
+ /** @description Transcript identifier */
3569
+ id: components["schemas"]["SchemaTranscriptID"];
3570
+ };
3571
+ cookie?: never;
3572
+ };
3573
+ requestBody?: never;
3574
+ responses: {
3575
+ /** @description OK */
3576
+ 200: {
3577
+ headers: {
3578
+ [name: string]: unknown;
3579
+ };
3580
+ content: {
3581
+ "application/json": components["schemas"]["SchemaVillageTranscriptMetadataResponse"];
3582
+ };
3583
+ };
3584
+ /** @description Bad Request */
3585
+ 400: {
3586
+ headers: {
3587
+ [name: string]: unknown;
3588
+ };
3589
+ content: {
3590
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3591
+ };
3592
+ };
3593
+ /** @description Not Found */
3594
+ 404: {
3595
+ headers: {
3596
+ [name: string]: unknown;
3597
+ };
3598
+ content: {
3599
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3600
+ };
3601
+ };
3602
+ };
3603
+ };
3141
3604
  updateTranscript: {
3142
3605
  parameters: {
3143
3606
  query?: never;
@@ -3260,6 +3723,47 @@ export interface operations {
3260
3723
  };
3261
3724
  };
3262
3725
  };
3726
+ getTranscriptContent: {
3727
+ parameters: {
3728
+ query?: never;
3729
+ header?: never;
3730
+ path: {
3731
+ /** @description Transcript identifier */
3732
+ id: components["schemas"]["SchemaTranscriptID"];
3733
+ };
3734
+ cookie?: never;
3735
+ };
3736
+ requestBody?: never;
3737
+ responses: {
3738
+ /** @description OK */
3739
+ 200: {
3740
+ headers: {
3741
+ [name: string]: unknown;
3742
+ };
3743
+ content: {
3744
+ "application/json": components["schemas"]["SchemaTranscriptContent"];
3745
+ };
3746
+ };
3747
+ /** @description Bad Request */
3748
+ 400: {
3749
+ headers: {
3750
+ [name: string]: unknown;
3751
+ };
3752
+ content: {
3753
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3754
+ };
3755
+ };
3756
+ /** @description Not Found */
3757
+ 404: {
3758
+ headers: {
3759
+ [name: string]: unknown;
3760
+ };
3761
+ content: {
3762
+ "application/json": components["schemas"]["SchemaVillageErrorResponse"];
3763
+ };
3764
+ };
3765
+ };
3766
+ };
3263
3767
  shareTranscriptWithGroups: {
3264
3768
  parameters: {
3265
3769
  query?: never;