@peasant-labs/schema 0.32.0 → 0.33.1

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.
@@ -2000,6 +2000,7 @@ export declare const zSchemaVersionResponse: z.ZodObject<{
2000
2000
  contentCapabilities: z.ZodOptional<z.ZodArray<z.ZodString>>;
2001
2001
  minPullContractVersion: z.ZodOptional<z.ZodString>;
2002
2002
  minPushContractVersion: z.ZodString;
2003
+ pullContractMaxVersion: z.ZodOptional<z.ZodString>;
2003
2004
  pullContractVersion: z.ZodOptional<z.ZodString>;
2004
2005
  pushContractVersion: z.ZodString;
2005
2006
  supportedTargetKinds: z.ZodNullable<z.ZodArray<z.ZodString>>;
@@ -3952,7 +3953,7 @@ export declare const zAnnotationsPayload: z.ZodObject<{
3952
3953
  id: z.ZodString;
3953
3954
  }, z.core.$strip>;
3954
3955
  export type AnnotationsPayload = z.infer<typeof zAnnotationsPayload>;
3955
- export declare const zPullAnnotation: z.ZodObject<{
3956
+ export declare const zLegacyPullAnnotation: z.ZodObject<{
3956
3957
  annotatorKind: z.ZodOptional<z.ZodEnum<{
3957
3958
  human: "human";
3958
3959
  agent: "agent";
@@ -3994,7 +3995,7 @@ export declare const zPullAnnotation: z.ZodObject<{
3994
3995
  typeName: z.ZodOptional<z.ZodString>;
3995
3996
  value: z.ZodOptional<z.ZodString>;
3996
3997
  }, z.core.$strip>;
3997
- export type PullAnnotation = z.infer<typeof zPullAnnotation>;
3998
+ export type LegacyPullAnnotation = z.infer<typeof zLegacyPullAnnotation>;
3998
3999
  export declare const zQualitySession: z.ZodObject<{
3999
4000
  date: z.ZodString;
4000
4001
  discoveryTurns: z.ZodInt;
@@ -9935,6 +9936,11 @@ export declare const zVillageListTranscriptAttestation: z.ZodObject<{
9935
9936
  transcript_id: z.ZodUUID;
9936
9937
  }, z.core.$strip>;
9937
9938
  export type VillageListTranscriptAttestation = z.infer<typeof zVillageListTranscriptAttestation>;
9939
+ export declare const zVillageListUserOrganization: z.ZodObject<{
9940
+ avatar_url: z.ZodNullable<z.ZodString>;
9941
+ org_login: z.ZodString;
9942
+ }, z.core.$strip>;
9943
+ export type VillageListUserOrganization = z.infer<typeof zVillageListUserOrganization>;
9938
9944
  export declare const zVillageMetadataUserOrganization: z.ZodObject<{
9939
9945
  avatar_url: z.ZodNullable<z.ZodString>;
9940
9946
  fetched_at: z.ZodISODateTime;
@@ -9966,6 +9972,205 @@ export declare const zVillagePromptsCheckMode: z.ZodEnum<{
9966
9972
  informational: "informational";
9967
9973
  }>;
9968
9974
  export type VillagePromptsCheckMode = z.infer<typeof zVillagePromptsCheckMode>;
9975
+ /**
9976
+ * Village Public Owner
9977
+ *
9978
+ * 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.
9979
+ */
9980
+ export declare const zVillagePublicOwner: z.ZodUnion<readonly [z.ZodObject<{
9981
+ avatar_url: z.ZodNullable<z.ZodString>;
9982
+ display_name: z.ZodNullable<z.ZodString>;
9983
+ id: z.ZodUUID;
9984
+ kind: z.ZodLiteral<"profile">;
9985
+ username: z.ZodString;
9986
+ }, z.core.$strip>, z.ZodObject<{
9987
+ kind: z.ZodLiteral<"anonymous">;
9988
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
9989
+ kind: z.ZodString;
9990
+ }, z.core.$strip>, z.ZodTransform<{
9991
+ kind: "anonymous";
9992
+ }, {
9993
+ kind: string;
9994
+ }>>]>;
9995
+ export type VillagePublicOwner = z.infer<typeof zVillagePublicOwner>;
9996
+ export declare const zPullAnnotation: z.ZodObject<{
9997
+ annotatorKind: z.ZodOptional<z.ZodEnum<{
9998
+ human: "human";
9999
+ agent: "agent";
10000
+ rule: "rule";
10001
+ }>>;
10002
+ annotatorName: z.ZodOptional<z.ZodString>;
10003
+ author: z.ZodUnion<readonly [z.ZodObject<{
10004
+ avatar_url: z.ZodNullable<z.ZodString>;
10005
+ display_name: z.ZodNullable<z.ZodString>;
10006
+ id: z.ZodUUID;
10007
+ kind: z.ZodLiteral<"profile">;
10008
+ username: z.ZodString;
10009
+ }, z.core.$strip>, z.ZodObject<{
10010
+ kind: z.ZodLiteral<"anonymous">;
10011
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
10012
+ kind: z.ZodString;
10013
+ }, z.core.$strip>, z.ZodTransform<{
10014
+ kind: "anonymous";
10015
+ }, {
10016
+ kind: string;
10017
+ }>>]>;
10018
+ confidence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10019
+ contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10020
+ createdAt: z.ZodOptional<z.ZodCoercedBigInt<unknown>>;
10021
+ id: z.ZodOptional<z.ZodString>;
10022
+ isPrimary: z.ZodOptional<z.ZodBoolean>;
10023
+ provenance: z.ZodOptional<z.ZodObject<{
10024
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
10025
+ function: z.ZodOptional<z.ZodString>;
10026
+ method: z.ZodString;
10027
+ version: z.ZodOptional<z.ZodString>;
10028
+ }, z.core.$strip>>;
10029
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10030
+ supersededBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10031
+ targetAnnotationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10032
+ targetAssociationId: z.ZodOptional<z.ZodString>;
10033
+ targetContentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10034
+ targetEntryEndIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10035
+ targetEntryIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
10036
+ targetFilePath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10037
+ targetKind: z.ZodOptional<z.ZodEnum<{
10038
+ session: "session";
10039
+ annotation: "annotation";
10040
+ project: "project";
10041
+ entry: "entry";
10042
+ file_version: "file_version";
10043
+ association: "association";
10044
+ }>>;
10045
+ targetProjectHash: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
10046
+ targetSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10047
+ typeId: z.ZodOptional<z.ZodString>;
10048
+ typeName: z.ZodOptional<z.ZodString>;
10049
+ value: z.ZodOptional<z.ZodString>;
10050
+ }, z.core.$strip>;
10051
+ export type PullAnnotation = z.infer<typeof zPullAnnotation>;
10052
+ export declare const zVillageCollectiveContributor: z.ZodObject<{
10053
+ contributor: z.ZodUnion<readonly [z.ZodObject<{
10054
+ avatar_url: z.ZodNullable<z.ZodString>;
10055
+ display_name: z.ZodNullable<z.ZodString>;
10056
+ id: z.ZodUUID;
10057
+ kind: z.ZodLiteral<"profile">;
10058
+ username: z.ZodString;
10059
+ }, z.core.$strip>, z.ZodObject<{
10060
+ kind: z.ZodLiteral<"anonymous">;
10061
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
10062
+ kind: z.ZodString;
10063
+ }, z.core.$strip>, z.ZodTransform<{
10064
+ kind: "anonymous";
10065
+ }, {
10066
+ kind: string;
10067
+ }>>]>;
10068
+ transcript_count: z.ZodInt;
10069
+ }, z.core.$strip>;
10070
+ export type VillageCollectiveContributor = z.infer<typeof zVillageCollectiveContributor>;
10071
+ export declare const zVillageCollectiveMember: z.ZodObject<{
10072
+ github_orgs: z.ZodArray<z.ZodString>;
10073
+ joined_at: z.ZodISODateTime;
10074
+ member: z.ZodUnion<readonly [z.ZodObject<{
10075
+ avatar_url: z.ZodNullable<z.ZodString>;
10076
+ display_name: z.ZodNullable<z.ZodString>;
10077
+ id: z.ZodUUID;
10078
+ kind: z.ZodLiteral<"profile">;
10079
+ username: z.ZodString;
10080
+ }, z.core.$strip>, z.ZodObject<{
10081
+ kind: z.ZodLiteral<"anonymous">;
10082
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
10083
+ kind: z.ZodString;
10084
+ }, z.core.$strip>, z.ZodTransform<{
10085
+ kind: "anonymous";
10086
+ }, {
10087
+ kind: string;
10088
+ }>>]>;
10089
+ role: z.ZodEnum<{
10090
+ pending: "pending";
10091
+ owner: "owner";
10092
+ contributor: "contributor";
10093
+ member: "member";
10094
+ }>;
10095
+ }, z.core.$strip>;
10096
+ export type VillageCollectiveMember = z.infer<typeof zVillageCollectiveMember>;
10097
+ export declare const zVillagePendingShare: z.ZodObject<{
10098
+ branch: z.ZodNullable<z.ZodString>;
10099
+ input_submission_count: z.ZodOptional<z.ZodInt>;
10100
+ local_id: z.ZodString;
10101
+ model_provider: z.ZodString;
10102
+ owner: z.ZodUnion<readonly [z.ZodObject<{
10103
+ avatar_url: z.ZodNullable<z.ZodString>;
10104
+ display_name: z.ZodNullable<z.ZodString>;
10105
+ id: z.ZodUUID;
10106
+ kind: z.ZodLiteral<"profile">;
10107
+ username: z.ZodString;
10108
+ }, z.core.$strip>, z.ZodObject<{
10109
+ kind: z.ZodLiteral<"anonymous">;
10110
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
10111
+ kind: z.ZodString;
10112
+ }, z.core.$strip>, z.ZodTransform<{
10113
+ kind: "anonymous";
10114
+ }, {
10115
+ kind: string;
10116
+ }>>]>;
10117
+ parent_session_id: z.ZodNullable<z.ZodString>;
10118
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
10119
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
10120
+ project_name: z.ZodNullable<z.ZodString>;
10121
+ purpose: z.ZodOptional<z.ZodEnum<{
10122
+ unknown: "unknown";
10123
+ interaction: "interaction";
10124
+ delegated_work: "delegated_work";
10125
+ helper_review: "helper_review";
10126
+ }>>;
10127
+ relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
10128
+ anchor: z.ZodOptional<z.ZodObject<{
10129
+ kind: z.ZodEnum<{
10130
+ general_source_session: "general_source_session";
10131
+ before_redacted_entry: "before_redacted_entry";
10132
+ through_redacted_entry: "through_redacted_entry";
10133
+ }>;
10134
+ sourceEntryRef: z.ZodOptional<z.ZodString>;
10135
+ sourceRevisionRef: z.ZodOptional<z.ZodString>;
10136
+ }, z.core.$strict>>;
10137
+ evidence: z.ZodEnum<{
10138
+ unknown: "unknown";
10139
+ native_typed: "native_typed";
10140
+ lifecycle_typed: "lifecycle_typed";
10141
+ existing_adapter: "existing_adapter";
10142
+ retained_last_good: "retained_last_good";
10143
+ conflict: "conflict";
10144
+ }>;
10145
+ kind: z.ZodEnum<{
10146
+ started_by: "started_by";
10147
+ context_from: "context_from";
10148
+ }>;
10149
+ targetLocalId: z.ZodOptional<z.ZodString>;
10150
+ targetState: z.ZodEnum<{
10151
+ unknown: "unknown";
10152
+ target_known: "target_known";
10153
+ target_known_retained: "target_known_retained";
10154
+ explicit_none: "explicit_none";
10155
+ conflicting_current_native_evidence: "conflicting_current_native_evidence";
10156
+ }>;
10157
+ }, z.core.$strict>>>;
10158
+ root_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10159
+ shared_at: z.ZodISODateTime;
10160
+ title: z.ZodNullable<z.ZodString>;
10161
+ transcript_id: z.ZodUUID;
10162
+ }, z.core.$strip>;
10163
+ export type VillagePendingShare = z.infer<typeof zVillagePendingShare>;
10164
+ /**
10165
+ * Village Public Owner Kind
10166
+ *
10167
+ * How a person is shown to the viewer: their public profile, or anonymous. Readers treat a kind they do not know as anonymous.
10168
+ */
10169
+ export declare const zVillagePublicOwnerKind: z.ZodEnum<{
10170
+ profile: "profile";
10171
+ anonymous: "anonymous";
10172
+ }>;
10173
+ export type VillagePublicOwnerKind = z.infer<typeof zVillagePublicOwnerKind>;
9969
10174
  /**
9970
10175
  * Village Pull Request Attachment State
9971
10176
  *
@@ -10191,24 +10396,93 @@ export declare const zVillageTranscriptVisibility: z.ZodEnum<{
10191
10396
  public: "public";
10192
10397
  }>;
10193
10398
  export type VillageTranscriptVisibility = z.infer<typeof zVillageTranscriptVisibility>;
10194
- export declare const zVillageContributableTranscript: z.ZodObject<{
10195
- already_shared: z.ZodBoolean;
10399
+ export declare const zVillageCollectiveTranscript: z.ZodObject<{
10400
+ blob_size_bytes: z.ZodNullable<z.ZodInt>;
10401
+ compute_version: z.ZodNullable<z.ZodInt>;
10402
+ computed_at: z.ZodNullable<z.ZodISODateTime>;
10403
+ content_hash: z.ZodNullable<z.ZodString>;
10404
+ description: z.ZodNullable<z.ZodString>;
10405
+ diagnostics_partial: z.ZodNullable<z.ZodBoolean>;
10406
+ diagnostics_warnings: z.ZodNullable<z.ZodArray<z.ZodObject<{
10407
+ errorType: z.ZodString;
10408
+ location: z.ZodString;
10409
+ message: z.ZodString;
10410
+ remediation: z.ZodString;
10411
+ }, z.core.$strip>>>;
10412
+ discovery_turns: z.ZodNullable<z.ZodInt>;
10413
+ duration_ms: z.ZodNullable<z.ZodInt>;
10414
+ exploration_ratio: z.ZodNullable<z.ZodNumber>;
10415
+ files_touched: z.ZodNullable<z.ZodInt>;
10196
10416
  git_branch: z.ZodNullable<z.ZodString>;
10417
+ git_remote: z.ZodNullable<z.ZodString>;
10418
+ harness_version: z.ZodNullable<z.ZodString>;
10197
10419
  id: z.ZodUUID;
10420
+ ingested_at: z.ZodNullable<z.ZodISODateTime>;
10198
10421
  input_submission_count: z.ZodOptional<z.ZodInt>;
10422
+ license_id: z.ZodNullable<z.ZodEnum<{
10423
+ "CC0-1.0": "CC0-1.0";
10424
+ "CC-BY-4.0": "CC-BY-4.0";
10425
+ "CC-BY-SA-4.0": "CC-BY-SA-4.0";
10426
+ }>>;
10427
+ lines_changed: z.ZodNullable<z.ZodInt>;
10199
10428
  local_id: z.ZodString;
10429
+ m2_token_outcome_ratio: z.ZodNullable<z.ZodNumber>;
10430
+ m3_unique_tool_count: z.ZodNullable<z.ZodInt>;
10431
+ m4_consecutive_error_max: z.ZodNullable<z.ZodInt>;
10432
+ m4_error_recovery_count: z.ZodNullable<z.ZodInt>;
10433
+ m5_avg_message_tokens: z.ZodNullable<z.ZodInt>;
10434
+ m5_context_utilization_pct: z.ZodNullable<z.ZodNumber>;
10435
+ m5_peak_context_tokens: z.ZodNullable<z.ZodInt>;
10436
+ m6_lines_survived: z.ZodNullable<z.ZodInt>;
10437
+ m6_lines_total: z.ZodNullable<z.ZodInt>;
10438
+ m6_output_survival_pct: z.ZodNullable<z.ZodNumber>;
10439
+ m7_spec_has_constraints: z.ZodNullable<z.ZodBoolean>;
10440
+ m7_spec_has_examples: z.ZodNullable<z.ZodBoolean>;
10441
+ m7_spec_word_count: z.ZodNullable<z.ZodInt>;
10442
+ model_name: z.ZodNullable<z.ZodString>;
10200
10443
  model_provider: z.ZodString;
10444
+ outcome: z.ZodNullable<z.ZodEnum<{
10445
+ failed: "failed";
10446
+ partial: "partial";
10447
+ resolved: "resolved";
10448
+ }>>;
10449
+ owner: z.ZodUnion<readonly [z.ZodObject<{
10450
+ avatar_url: z.ZodNullable<z.ZodString>;
10451
+ display_name: z.ZodNullable<z.ZodString>;
10452
+ id: z.ZodUUID;
10453
+ kind: z.ZodLiteral<"profile">;
10454
+ username: z.ZodString;
10455
+ }, z.core.$strip>, z.ZodObject<{
10456
+ kind: z.ZodLiteral<"anonymous">;
10457
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
10458
+ kind: z.ZodString;
10459
+ }, z.core.$strip>, z.ZodTransform<{
10460
+ kind: "anonymous";
10461
+ }, {
10462
+ kind: string;
10463
+ }>>]>;
10201
10464
  parent_session_id: z.ZodNullable<z.ZodString>;
10202
- project_display_name: z.ZodString;
10203
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
10204
- project_name_source: z.ZodEnum<{
10465
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
10466
+ project_display_name: z.ZodNullable<z.ZodString>;
10467
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
10468
+ project_name: z.ZodNullable<z.ZodString>;
10469
+ project_name_source: z.ZodNullable<z.ZodEnum<{
10205
10470
  path: "path";
10206
10471
  remote: "remote";
10207
10472
  override: "override";
10208
10473
  consented: "consented";
10209
10474
  privacy: "privacy";
10210
- }>;
10475
+ }>>;
10476
+ project_remote_label: z.ZodNullable<z.ZodString>;
10211
10477
  published_at: z.ZodISODateTime;
10478
+ pull_requests: z.ZodObject<{
10479
+ count: z.ZodInt;
10480
+ recent: z.ZodArray<z.ZodObject<{
10481
+ name: z.ZodString;
10482
+ number: z.ZodInt;
10483
+ owner: z.ZodString;
10484
+ }, z.core.$strip>>;
10485
+ }, z.core.$strip>;
10212
10486
  purpose: z.ZodOptional<z.ZodEnum<{
10213
10487
  unknown: "unknown";
10214
10488
  interaction: "interaction";
@@ -10246,41 +10520,269 @@ export declare const zVillageContributableTranscript: z.ZodObject<{
10246
10520
  conflicting_current_native_evidence: "conflicting_current_native_evidence";
10247
10521
  }>;
10248
10522
  }, z.core.$strict>>>;
10523
+ retry_loops: z.ZodNullable<z.ZodInt>;
10524
+ retry_tokens_wasted: z.ZodNullable<z.ZodInt>;
10249
10525
  root_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10526
+ schema_version: z.ZodString;
10527
+ scope_breadth: z.ZodNullable<z.ZodInt>;
10528
+ session_end: z.ZodNullable<z.ZodISODateTime>;
10250
10529
  session_origin: z.ZodEnum<{
10251
10530
  unknown: "unknown";
10252
10531
  user: "user";
10253
10532
  agent: "agent";
10254
10533
  }>;
10534
+ session_start: z.ZodNullable<z.ZodISODateTime>;
10535
+ signal_density: z.ZodNullable<z.ZodNumber>;
10536
+ source_format: z.ZodNullable<z.ZodEnum<{
10537
+ json: "json";
10538
+ jsonl: "jsonl";
10539
+ }>>;
10540
+ spec_quality_score: z.ZodNullable<z.ZodNumber>;
10541
+ subagent_count: z.ZodNullable<z.ZodInt>;
10542
+ subagents: z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10255
10543
  title: z.ZodNullable<z.ZodString>;
10544
+ title_generated: z.ZodNullable<z.ZodString>;
10545
+ token_count: z.ZodNullable<z.ZodInt>;
10546
+ tokens_in: z.ZodNullable<z.ZodInt>;
10547
+ tokens_out: z.ZodNullable<z.ZodInt>;
10548
+ tool_call_count: z.ZodNullable<z.ZodInt>;
10549
+ turn_count: z.ZodNullable<z.ZodInt>;
10550
+ updated_at: z.ZodISODateTime;
10256
10551
  visibility: z.ZodEnum<{
10257
10552
  shared: "shared";
10258
10553
  private: "private";
10259
10554
  public: "public";
10260
10555
  }>;
10556
+ within_session_reverts: z.ZodNullable<z.ZodInt>;
10261
10557
  }, z.core.$strip>;
10262
- export type VillageContributableTranscript = z.infer<typeof zVillageContributableTranscript>;
10263
- export declare const zVillagePullRequestAttachedTranscript: z.ZodObject<{
10264
- position: z.ZodInt;
10265
- previous_visibility: z.ZodEnum<{
10266
- shared: "shared";
10267
- private: "private";
10268
- public: "public";
10269
- }>;
10270
- session_start: z.ZodNullable<z.ZodISODateTime>;
10271
- title: z.ZodNullable<z.ZodString>;
10272
- transcript_id: z.ZodUUID;
10273
- }, z.core.$strip>;
10274
- export type VillagePullRequestAttachedTranscript = z.infer<typeof zVillagePullRequestAttachedTranscript>;
10275
- /**
10276
- * Village UUID
10277
- *
10278
- * Village-side canonical lowercase UUID identifier
10279
- */
10280
- export declare const zVillageUUID: z.ZodUUID;
10281
- export type VillageUUID = z.infer<typeof zVillageUUID>;
10282
- export declare const zAutoPublishRule: z.ZodObject<{
10283
- collectives: z.ZodArray<z.ZodUUID>;
10558
+ export type VillageCollectiveTranscript = z.infer<typeof zVillageCollectiveTranscript>;
10559
+ export declare const zVillageContributableTranscript: z.ZodObject<{
10560
+ already_shared: z.ZodBoolean;
10561
+ git_branch: z.ZodNullable<z.ZodString>;
10562
+ id: z.ZodUUID;
10563
+ input_submission_count: z.ZodOptional<z.ZodInt>;
10564
+ local_id: z.ZodString;
10565
+ model_provider: z.ZodString;
10566
+ parent_session_id: z.ZodNullable<z.ZodString>;
10567
+ project_display_name: z.ZodString;
10568
+ project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
10569
+ project_name_source: z.ZodEnum<{
10570
+ path: "path";
10571
+ remote: "remote";
10572
+ override: "override";
10573
+ consented: "consented";
10574
+ privacy: "privacy";
10575
+ }>;
10576
+ published_at: z.ZodISODateTime;
10577
+ purpose: z.ZodOptional<z.ZodEnum<{
10578
+ unknown: "unknown";
10579
+ interaction: "interaction";
10580
+ delegated_work: "delegated_work";
10581
+ helper_review: "helper_review";
10582
+ }>>;
10583
+ relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
10584
+ anchor: z.ZodOptional<z.ZodObject<{
10585
+ kind: z.ZodEnum<{
10586
+ general_source_session: "general_source_session";
10587
+ before_redacted_entry: "before_redacted_entry";
10588
+ through_redacted_entry: "through_redacted_entry";
10589
+ }>;
10590
+ sourceEntryRef: z.ZodOptional<z.ZodString>;
10591
+ sourceRevisionRef: z.ZodOptional<z.ZodString>;
10592
+ }, z.core.$strict>>;
10593
+ evidence: z.ZodEnum<{
10594
+ unknown: "unknown";
10595
+ native_typed: "native_typed";
10596
+ lifecycle_typed: "lifecycle_typed";
10597
+ existing_adapter: "existing_adapter";
10598
+ retained_last_good: "retained_last_good";
10599
+ conflict: "conflict";
10600
+ }>;
10601
+ kind: z.ZodEnum<{
10602
+ started_by: "started_by";
10603
+ context_from: "context_from";
10604
+ }>;
10605
+ targetLocalId: z.ZodOptional<z.ZodString>;
10606
+ targetState: z.ZodEnum<{
10607
+ unknown: "unknown";
10608
+ target_known: "target_known";
10609
+ target_known_retained: "target_known_retained";
10610
+ explicit_none: "explicit_none";
10611
+ conflicting_current_native_evidence: "conflicting_current_native_evidence";
10612
+ }>;
10613
+ }, z.core.$strict>>>;
10614
+ root_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10615
+ session_origin: z.ZodEnum<{
10616
+ unknown: "unknown";
10617
+ user: "user";
10618
+ agent: "agent";
10619
+ }>;
10620
+ title: z.ZodNullable<z.ZodString>;
10621
+ visibility: z.ZodEnum<{
10622
+ shared: "shared";
10623
+ private: "private";
10624
+ public: "public";
10625
+ }>;
10626
+ }, z.core.$strip>;
10627
+ export type VillageContributableTranscript = z.infer<typeof zVillageContributableTranscript>;
10628
+ export declare const zVillagePullRequestAttachedTranscript: z.ZodObject<{
10629
+ position: z.ZodInt;
10630
+ previous_visibility: z.ZodEnum<{
10631
+ shared: "shared";
10632
+ private: "private";
10633
+ public: "public";
10634
+ }>;
10635
+ session_start: z.ZodNullable<z.ZodISODateTime>;
10636
+ title: z.ZodNullable<z.ZodString>;
10637
+ transcript_id: z.ZodUUID;
10638
+ }, z.core.$strip>;
10639
+ export type VillagePullRequestAttachedTranscript = z.infer<typeof zVillagePullRequestAttachedTranscript>;
10640
+ export declare const zVillageTranscript: z.ZodObject<{
10641
+ blob_size_bytes: z.ZodNullable<z.ZodInt>;
10642
+ compute_version: z.ZodNullable<z.ZodInt>;
10643
+ computed_at: z.ZodNullable<z.ZodISODateTime>;
10644
+ content_hash: z.ZodNullable<z.ZodString>;
10645
+ description: z.ZodNullable<z.ZodString>;
10646
+ diagnostics_partial: z.ZodNullable<z.ZodBoolean>;
10647
+ diagnostics_warnings: z.ZodNullable<z.ZodArray<z.ZodObject<{
10648
+ errorType: z.ZodString;
10649
+ location: z.ZodString;
10650
+ message: z.ZodString;
10651
+ remediation: z.ZodString;
10652
+ }, z.core.$strip>>>;
10653
+ discovery_turns: z.ZodNullable<z.ZodInt>;
10654
+ duration_ms: z.ZodNullable<z.ZodInt>;
10655
+ exploration_ratio: z.ZodNullable<z.ZodNumber>;
10656
+ files_touched: z.ZodNullable<z.ZodInt>;
10657
+ git_branch: z.ZodNullable<z.ZodString>;
10658
+ git_remote: z.ZodNullable<z.ZodString>;
10659
+ harness_version: z.ZodNullable<z.ZodString>;
10660
+ id: z.ZodUUID;
10661
+ ingested_at: z.ZodNullable<z.ZodISODateTime>;
10662
+ input_submission_count: z.ZodOptional<z.ZodInt>;
10663
+ license_id: z.ZodNullable<z.ZodEnum<{
10664
+ "CC0-1.0": "CC0-1.0";
10665
+ "CC-BY-4.0": "CC-BY-4.0";
10666
+ "CC-BY-SA-4.0": "CC-BY-SA-4.0";
10667
+ }>>;
10668
+ lines_changed: z.ZodNullable<z.ZodInt>;
10669
+ local_id: z.ZodString;
10670
+ m2_token_outcome_ratio: z.ZodNullable<z.ZodNumber>;
10671
+ m3_unique_tool_count: z.ZodNullable<z.ZodInt>;
10672
+ m4_consecutive_error_max: z.ZodNullable<z.ZodInt>;
10673
+ m4_error_recovery_count: z.ZodNullable<z.ZodInt>;
10674
+ m5_avg_message_tokens: z.ZodNullable<z.ZodInt>;
10675
+ m5_context_utilization_pct: z.ZodNullable<z.ZodNumber>;
10676
+ m5_peak_context_tokens: z.ZodNullable<z.ZodInt>;
10677
+ m6_lines_survived: z.ZodNullable<z.ZodInt>;
10678
+ m6_lines_total: z.ZodNullable<z.ZodInt>;
10679
+ m6_output_survival_pct: z.ZodNullable<z.ZodNumber>;
10680
+ m7_spec_has_constraints: z.ZodNullable<z.ZodBoolean>;
10681
+ m7_spec_has_examples: z.ZodNullable<z.ZodBoolean>;
10682
+ m7_spec_word_count: z.ZodNullable<z.ZodInt>;
10683
+ model_name: z.ZodNullable<z.ZodString>;
10684
+ model_provider: z.ZodString;
10685
+ outcome: z.ZodNullable<z.ZodEnum<{
10686
+ failed: "failed";
10687
+ partial: "partial";
10688
+ resolved: "resolved";
10689
+ }>>;
10690
+ parent_session_id: z.ZodNullable<z.ZodString>;
10691
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
10692
+ project_display_name: z.ZodNullable<z.ZodString>;
10693
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
10694
+ project_name: z.ZodNullable<z.ZodString>;
10695
+ project_name_source: z.ZodNullable<z.ZodEnum<{
10696
+ path: "path";
10697
+ remote: "remote";
10698
+ override: "override";
10699
+ consented: "consented";
10700
+ privacy: "privacy";
10701
+ }>>;
10702
+ project_remote_label: z.ZodNullable<z.ZodString>;
10703
+ published_at: z.ZodISODateTime;
10704
+ purpose: z.ZodOptional<z.ZodEnum<{
10705
+ unknown: "unknown";
10706
+ interaction: "interaction";
10707
+ delegated_work: "delegated_work";
10708
+ helper_review: "helper_review";
10709
+ }>>;
10710
+ relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
10711
+ anchor: z.ZodOptional<z.ZodObject<{
10712
+ kind: z.ZodEnum<{
10713
+ general_source_session: "general_source_session";
10714
+ before_redacted_entry: "before_redacted_entry";
10715
+ through_redacted_entry: "through_redacted_entry";
10716
+ }>;
10717
+ sourceEntryRef: z.ZodOptional<z.ZodString>;
10718
+ sourceRevisionRef: z.ZodOptional<z.ZodString>;
10719
+ }, z.core.$strict>>;
10720
+ evidence: z.ZodEnum<{
10721
+ unknown: "unknown";
10722
+ native_typed: "native_typed";
10723
+ lifecycle_typed: "lifecycle_typed";
10724
+ existing_adapter: "existing_adapter";
10725
+ retained_last_good: "retained_last_good";
10726
+ conflict: "conflict";
10727
+ }>;
10728
+ kind: z.ZodEnum<{
10729
+ started_by: "started_by";
10730
+ context_from: "context_from";
10731
+ }>;
10732
+ targetLocalId: z.ZodOptional<z.ZodString>;
10733
+ targetState: z.ZodEnum<{
10734
+ unknown: "unknown";
10735
+ target_known: "target_known";
10736
+ target_known_retained: "target_known_retained";
10737
+ explicit_none: "explicit_none";
10738
+ conflicting_current_native_evidence: "conflicting_current_native_evidence";
10739
+ }>;
10740
+ }, z.core.$strict>>>;
10741
+ retry_loops: z.ZodNullable<z.ZodInt>;
10742
+ retry_tokens_wasted: z.ZodNullable<z.ZodInt>;
10743
+ root_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10744
+ schema_version: z.ZodString;
10745
+ scope_breadth: z.ZodNullable<z.ZodInt>;
10746
+ session_end: z.ZodNullable<z.ZodISODateTime>;
10747
+ session_origin: z.ZodEnum<{
10748
+ unknown: "unknown";
10749
+ user: "user";
10750
+ agent: "agent";
10751
+ }>;
10752
+ session_start: z.ZodNullable<z.ZodISODateTime>;
10753
+ signal_density: z.ZodNullable<z.ZodNumber>;
10754
+ source_format: z.ZodNullable<z.ZodEnum<{
10755
+ json: "json";
10756
+ jsonl: "jsonl";
10757
+ }>>;
10758
+ spec_quality_score: z.ZodNullable<z.ZodNumber>;
10759
+ subagent_count: z.ZodNullable<z.ZodInt>;
10760
+ subagents: z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
10761
+ title: z.ZodNullable<z.ZodString>;
10762
+ title_generated: z.ZodNullable<z.ZodString>;
10763
+ token_count: z.ZodNullable<z.ZodInt>;
10764
+ tokens_in: z.ZodNullable<z.ZodInt>;
10765
+ tokens_out: z.ZodNullable<z.ZodInt>;
10766
+ tool_call_count: z.ZodNullable<z.ZodInt>;
10767
+ turn_count: z.ZodNullable<z.ZodInt>;
10768
+ updated_at: z.ZodISODateTime;
10769
+ visibility: z.ZodEnum<{
10770
+ shared: "shared";
10771
+ private: "private";
10772
+ public: "public";
10773
+ }>;
10774
+ within_session_reverts: z.ZodNullable<z.ZodInt>;
10775
+ }, z.core.$strip>;
10776
+ export type VillageTranscript = z.infer<typeof zVillageTranscript>;
10777
+ /**
10778
+ * Village UUID
10779
+ *
10780
+ * Village-side canonical lowercase UUID identifier
10781
+ */
10782
+ export declare const zVillageUUID: z.ZodUUID;
10783
+ export type VillageUUID = z.infer<typeof zVillageUUID>;
10784
+ export declare const zAutoPublishRule: z.ZodObject<{
10785
+ collectives: z.ZodArray<z.ZodUUID>;
10284
10786
  events: z.ZodArray<z.ZodEnum<{
10285
10787
  "pre-push": "pre-push";
10286
10788
  "post-commit": "post-commit";
@@ -12394,7 +12896,21 @@ export declare const zVillageCollective: z.ZodObject<{
12394
12896
  curated: "curated";
12395
12897
  }>;
12396
12898
  created_at: z.ZodISODateTime;
12397
- created_by: z.ZodUUID;
12899
+ creator: z.ZodUnion<readonly [z.ZodObject<{
12900
+ avatar_url: z.ZodNullable<z.ZodString>;
12901
+ display_name: z.ZodNullable<z.ZodString>;
12902
+ id: z.ZodUUID;
12903
+ kind: z.ZodLiteral<"profile">;
12904
+ username: z.ZodString;
12905
+ }, z.core.$strip>, z.ZodObject<{
12906
+ kind: z.ZodLiteral<"anonymous">;
12907
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
12908
+ kind: z.ZodString;
12909
+ }, z.core.$strip>, z.ZodTransform<{
12910
+ kind: "anonymous";
12911
+ }, {
12912
+ kind: string;
12913
+ }>>]>;
12398
12914
  data_access: z.ZodEnum<{
12399
12915
  public: "public";
12400
12916
  members_only: "members_only";
@@ -12417,13 +12933,6 @@ export declare const zVillageCollective: z.ZodObject<{
12417
12933
  updated_at: z.ZodISODateTime;
12418
12934
  }, z.core.$strip>;
12419
12935
  export type VillageCollective = z.infer<typeof zVillageCollective>;
12420
- export declare const zVillageCollectiveContributor: z.ZodObject<{
12421
- avatar_url: z.ZodNullable<z.ZodString>;
12422
- github_username: z.ZodString;
12423
- id: z.ZodUUID;
12424
- transcript_count: z.ZodInt;
12425
- }, z.core.$strip>;
12426
- export type VillageCollectiveContributor = z.infer<typeof zVillageCollectiveContributor>;
12427
12936
  export declare const zVillageCollectiveDetailRecord: z.ZodObject<{
12428
12937
  acceptance_mode: z.ZodEnum<{
12429
12938
  open: "open";
@@ -12431,7 +12940,21 @@ export declare const zVillageCollectiveDetailRecord: z.ZodObject<{
12431
12940
  curated: "curated";
12432
12941
  }>;
12433
12942
  created_at: z.ZodISODateTime;
12434
- created_by: z.ZodUUID;
12943
+ creator: z.ZodUnion<readonly [z.ZodObject<{
12944
+ avatar_url: z.ZodNullable<z.ZodString>;
12945
+ display_name: z.ZodNullable<z.ZodString>;
12946
+ id: z.ZodUUID;
12947
+ kind: z.ZodLiteral<"profile">;
12948
+ username: z.ZodString;
12949
+ }, z.core.$strip>, z.ZodObject<{
12950
+ kind: z.ZodLiteral<"anonymous">;
12951
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
12952
+ kind: z.ZodString;
12953
+ }, z.core.$strip>, z.ZodTransform<{
12954
+ kind: "anonymous";
12955
+ }, {
12956
+ kind: string;
12957
+ }>>]>;
12435
12958
  data_access: z.ZodEnum<{
12436
12959
  public: "public";
12437
12960
  members_only: "members_only";
@@ -12454,210 +12977,24 @@ export declare const zVillageCollectiveDetailRecord: z.ZodObject<{
12454
12977
  updated_at: z.ZodISODateTime;
12455
12978
  }, z.core.$strip>;
12456
12979
  export type VillageCollectiveDetailRecord = z.infer<typeof zVillageCollectiveDetailRecord>;
12457
- export declare const zVillageCollectiveMember: z.ZodObject<{
12458
- avatar_url: z.ZodNullable<z.ZodString>;
12459
- display_name: z.ZodNullable<z.ZodString>;
12460
- github_orgs: z.ZodArray<z.ZodString>;
12461
- github_username: z.ZodString;
12462
- id: z.ZodUUID;
12463
- joined_at: z.ZodISODateTime;
12464
- role: z.ZodEnum<{
12465
- pending: "pending";
12466
- owner: "owner";
12467
- contributor: "contributor";
12468
- member: "member";
12469
- }>;
12470
- }, z.core.$strip>;
12471
- export type VillageCollectiveMember = z.infer<typeof zVillageCollectiveMember>;
12472
- export declare const zVillageCollectiveSearchResult: z.ZodObject<{
12473
- description: z.ZodNullable<z.ZodString>;
12474
- id: z.ZodUUID;
12475
- linked_github_org: z.ZodNullable<z.ZodString>;
12476
- member_count: z.ZodInt;
12477
- name: z.ZodString;
12478
- transcript_count: z.ZodInt;
12479
- }, z.core.$strip>;
12480
- export type VillageCollectiveSearchResult = z.infer<typeof zVillageCollectiveSearchResult>;
12481
- export declare const zVillageCollectiveSearchResponse: z.ZodObject<{
12482
- collectives: z.ZodArray<z.ZodObject<{
12483
- description: z.ZodNullable<z.ZodString>;
12484
- id: z.ZodUUID;
12485
- linked_github_org: z.ZodNullable<z.ZodString>;
12486
- member_count: z.ZodInt;
12487
- name: z.ZodString;
12488
- transcript_count: z.ZodInt;
12489
- }, z.core.$strip>>;
12490
- }, z.core.$strip>;
12491
- export type VillageCollectiveSearchResponse = z.infer<typeof zVillageCollectiveSearchResponse>;
12492
- export declare const zVillageCollectiveSubmission: z.ZodObject<{
12493
- event_num: z.ZodInt;
12494
- group_id: z.ZodUUID;
12495
- recorded_at: z.ZodISODateTime;
12496
- status: z.ZodEnum<{
12497
- pending: "pending";
12498
- rejected: "rejected";
12499
- approved: "approved";
12500
- retracted: "retracted";
12501
- revoked: "revoked";
12502
- }>;
12503
- title: z.ZodNullable<z.ZodString>;
12504
- transcript_id: z.ZodUUID;
12505
- }, z.core.$strip>;
12506
- export type VillageCollectiveSubmission = z.infer<typeof zVillageCollectiveSubmission>;
12507
- export declare const zVillageCollectiveTranscript: z.ZodObject<{
12508
- blob_size_bytes: z.ZodNullable<z.ZodInt>;
12509
- compute_version: z.ZodNullable<z.ZodInt>;
12510
- computed_at: z.ZodNullable<z.ZodISODateTime>;
12511
- content_hash: z.ZodNullable<z.ZodString>;
12512
- description: z.ZodNullable<z.ZodString>;
12513
- diagnostics_partial: z.ZodNullable<z.ZodBoolean>;
12514
- diagnostics_warnings: z.ZodNullable<z.ZodArray<z.ZodObject<{
12515
- errorType: z.ZodString;
12516
- location: z.ZodString;
12517
- message: z.ZodString;
12518
- remediation: z.ZodString;
12519
- }, z.core.$strip>>>;
12520
- discovery_turns: z.ZodNullable<z.ZodInt>;
12521
- duration_ms: z.ZodNullable<z.ZodInt>;
12522
- exploration_ratio: z.ZodNullable<z.ZodNumber>;
12523
- files_touched: z.ZodNullable<z.ZodInt>;
12524
- git_branch: z.ZodNullable<z.ZodString>;
12525
- git_remote: z.ZodNullable<z.ZodString>;
12526
- harness_version: z.ZodNullable<z.ZodString>;
12527
- id: z.ZodUUID;
12528
- ingested_at: z.ZodNullable<z.ZodISODateTime>;
12529
- input_submission_count: z.ZodOptional<z.ZodInt>;
12530
- license_id: z.ZodNullable<z.ZodEnum<{
12531
- "CC0-1.0": "CC0-1.0";
12532
- "CC-BY-4.0": "CC-BY-4.0";
12533
- "CC-BY-SA-4.0": "CC-BY-SA-4.0";
12534
- }>>;
12535
- lines_changed: z.ZodNullable<z.ZodInt>;
12536
- local_id: z.ZodString;
12537
- m2_token_outcome_ratio: z.ZodNullable<z.ZodNumber>;
12538
- m3_unique_tool_count: z.ZodNullable<z.ZodInt>;
12539
- m4_consecutive_error_max: z.ZodNullable<z.ZodInt>;
12540
- m4_error_recovery_count: z.ZodNullable<z.ZodInt>;
12541
- m5_avg_message_tokens: z.ZodNullable<z.ZodInt>;
12542
- m5_context_utilization_pct: z.ZodNullable<z.ZodNumber>;
12543
- m5_peak_context_tokens: z.ZodNullable<z.ZodInt>;
12544
- m6_lines_survived: z.ZodNullable<z.ZodInt>;
12545
- m6_lines_total: z.ZodNullable<z.ZodInt>;
12546
- m6_output_survival_pct: z.ZodNullable<z.ZodNumber>;
12547
- m7_spec_has_constraints: z.ZodNullable<z.ZodBoolean>;
12548
- m7_spec_has_examples: z.ZodNullable<z.ZodBoolean>;
12549
- m7_spec_word_count: z.ZodNullable<z.ZodInt>;
12550
- model_name: z.ZodNullable<z.ZodString>;
12551
- model_provider: z.ZodString;
12552
- outcome: z.ZodNullable<z.ZodEnum<{
12553
- failed: "failed";
12554
- partial: "partial";
12555
- resolved: "resolved";
12556
- }>>;
12557
- owner_avatar_url: z.ZodNullable<z.ZodString>;
12558
- owner_id: z.ZodUUID;
12559
- owner_is_discoverable: z.ZodBoolean;
12560
- owner_username: z.ZodString;
12561
- parent_session_id: z.ZodNullable<z.ZodString>;
12562
- project_display_name: z.ZodString;
12563
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
12564
- project_name: z.ZodNullable<z.ZodString>;
12565
- project_name_source: z.ZodEnum<{
12566
- path: "path";
12567
- remote: "remote";
12568
- override: "override";
12569
- consented: "consented";
12570
- privacy: "privacy";
12571
- }>;
12572
- project_remote_label: z.ZodString;
12573
- published_at: z.ZodISODateTime;
12574
- pull_requests: z.ZodObject<{
12575
- count: z.ZodInt;
12576
- recent: z.ZodArray<z.ZodObject<{
12577
- name: z.ZodString;
12578
- number: z.ZodInt;
12579
- owner: z.ZodString;
12580
- }, z.core.$strip>>;
12581
- }, z.core.$strip>;
12582
- purpose: z.ZodOptional<z.ZodEnum<{
12583
- unknown: "unknown";
12584
- interaction: "interaction";
12585
- delegated_work: "delegated_work";
12586
- helper_review: "helper_review";
12587
- }>>;
12588
- relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
12589
- anchor: z.ZodOptional<z.ZodObject<{
12590
- kind: z.ZodEnum<{
12591
- general_source_session: "general_source_session";
12592
- before_redacted_entry: "before_redacted_entry";
12593
- through_redacted_entry: "through_redacted_entry";
12594
- }>;
12595
- sourceEntryRef: z.ZodOptional<z.ZodString>;
12596
- sourceRevisionRef: z.ZodOptional<z.ZodString>;
12597
- }, z.core.$strict>>;
12598
- evidence: z.ZodEnum<{
12599
- unknown: "unknown";
12600
- native_typed: "native_typed";
12601
- lifecycle_typed: "lifecycle_typed";
12602
- existing_adapter: "existing_adapter";
12603
- retained_last_good: "retained_last_good";
12604
- conflict: "conflict";
12605
- }>;
12606
- kind: z.ZodEnum<{
12607
- started_by: "started_by";
12608
- context_from: "context_from";
12609
- }>;
12610
- targetLocalId: z.ZodOptional<z.ZodString>;
12611
- targetState: z.ZodEnum<{
12612
- unknown: "unknown";
12613
- target_known: "target_known";
12614
- target_known_retained: "target_known_retained";
12615
- explicit_none: "explicit_none";
12616
- conflicting_current_native_evidence: "conflicting_current_native_evidence";
12617
- }>;
12618
- }, z.core.$strict>>>;
12619
- retry_loops: z.ZodNullable<z.ZodInt>;
12620
- retry_tokens_wasted: z.ZodNullable<z.ZodInt>;
12621
- root_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12622
- schema_version: z.ZodString;
12623
- scope_breadth: z.ZodNullable<z.ZodInt>;
12624
- session_end: z.ZodNullable<z.ZodISODateTime>;
12625
- session_origin: z.ZodEnum<{
12626
- unknown: "unknown";
12627
- user: "user";
12628
- agent: "agent";
12629
- }>;
12630
- session_start: z.ZodNullable<z.ZodISODateTime>;
12631
- signal_density: z.ZodNullable<z.ZodNumber>;
12632
- source_format: z.ZodNullable<z.ZodEnum<{
12633
- json: "json";
12634
- jsonl: "jsonl";
12635
- }>>;
12636
- spec_quality_score: z.ZodNullable<z.ZodNumber>;
12637
- subagent_count: z.ZodNullable<z.ZodInt>;
12638
- subagents: z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12639
- title: z.ZodNullable<z.ZodString>;
12640
- title_generated: z.ZodNullable<z.ZodString>;
12641
- token_count: z.ZodNullable<z.ZodInt>;
12642
- tokens_in: z.ZodNullable<z.ZodInt>;
12643
- tokens_out: z.ZodNullable<z.ZodInt>;
12644
- tool_call_count: z.ZodNullable<z.ZodInt>;
12645
- turn_count: z.ZodNullable<z.ZodInt>;
12646
- updated_at: z.ZodISODateTime;
12647
- visibility: z.ZodEnum<{
12648
- shared: "shared";
12649
- private: "private";
12650
- public: "public";
12651
- }>;
12652
- within_session_reverts: z.ZodNullable<z.ZodInt>;
12653
- }, z.core.$strip>;
12654
- export type VillageCollectiveTranscript = z.infer<typeof zVillageCollectiveTranscript>;
12655
12980
  export declare const zVillageCollectiveDetailResponse: z.ZodObject<{
12656
12981
  can_read: z.ZodBoolean;
12657
12982
  contributors: z.ZodArray<z.ZodObject<{
12658
- avatar_url: z.ZodNullable<z.ZodString>;
12659
- github_username: z.ZodString;
12660
- id: z.ZodUUID;
12983
+ contributor: z.ZodUnion<readonly [z.ZodObject<{
12984
+ avatar_url: z.ZodNullable<z.ZodString>;
12985
+ display_name: z.ZodNullable<z.ZodString>;
12986
+ id: z.ZodUUID;
12987
+ kind: z.ZodLiteral<"profile">;
12988
+ username: z.ZodString;
12989
+ }, z.core.$strip>, z.ZodObject<{
12990
+ kind: z.ZodLiteral<"anonymous">;
12991
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
12992
+ kind: z.ZodString;
12993
+ }, z.core.$strip>, z.ZodTransform<{
12994
+ kind: "anonymous";
12995
+ }, {
12996
+ kind: string;
12997
+ }>>]>;
12661
12998
  transcript_count: z.ZodInt;
12662
12999
  }, z.core.$strip>>;
12663
13000
  group: z.ZodObject<{
@@ -12667,7 +13004,21 @@ export declare const zVillageCollectiveDetailResponse: z.ZodObject<{
12667
13004
  curated: "curated";
12668
13005
  }>;
12669
13006
  created_at: z.ZodISODateTime;
12670
- created_by: z.ZodUUID;
13007
+ creator: z.ZodUnion<readonly [z.ZodObject<{
13008
+ avatar_url: z.ZodNullable<z.ZodString>;
13009
+ display_name: z.ZodNullable<z.ZodString>;
13010
+ id: z.ZodUUID;
13011
+ kind: z.ZodLiteral<"profile">;
13012
+ username: z.ZodString;
13013
+ }, z.core.$strip>, z.ZodObject<{
13014
+ kind: z.ZodLiteral<"anonymous">;
13015
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
13016
+ kind: z.ZodString;
13017
+ }, z.core.$strip>, z.ZodTransform<{
13018
+ kind: "anonymous";
13019
+ }, {
13020
+ kind: string;
13021
+ }>>]>;
12671
13022
  data_access: z.ZodEnum<{
12672
13023
  public: "public";
12673
13024
  members_only: "members_only";
@@ -12690,12 +13041,23 @@ export declare const zVillageCollectiveDetailResponse: z.ZodObject<{
12690
13041
  updated_at: z.ZodISODateTime;
12691
13042
  }, z.core.$strip>;
12692
13043
  members: z.ZodArray<z.ZodObject<{
12693
- avatar_url: z.ZodNullable<z.ZodString>;
12694
- display_name: z.ZodNullable<z.ZodString>;
12695
13044
  github_orgs: z.ZodArray<z.ZodString>;
12696
- github_username: z.ZodString;
12697
- id: z.ZodUUID;
12698
13045
  joined_at: z.ZodISODateTime;
13046
+ member: z.ZodUnion<readonly [z.ZodObject<{
13047
+ avatar_url: z.ZodNullable<z.ZodString>;
13048
+ display_name: z.ZodNullable<z.ZodString>;
13049
+ id: z.ZodUUID;
13050
+ kind: z.ZodLiteral<"profile">;
13051
+ username: z.ZodString;
13052
+ }, z.core.$strip>, z.ZodObject<{
13053
+ kind: z.ZodLiteral<"anonymous">;
13054
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
13055
+ kind: z.ZodString;
13056
+ }, z.core.$strip>, z.ZodTransform<{
13057
+ kind: "anonymous";
13058
+ }, {
13059
+ kind: string;
13060
+ }>>]>;
12699
13061
  role: z.ZodEnum<{
12700
13062
  pending: "pending";
12701
13063
  owner: "owner";
@@ -12708,12 +13070,23 @@ export declare const zVillageCollectiveDetailResponse: z.ZodObject<{
12708
13070
  transcript_count: z.ZodInt;
12709
13071
  }, z.core.$strip>>;
12710
13072
  pending_members: z.ZodOptional<z.ZodArray<z.ZodObject<{
12711
- avatar_url: z.ZodNullable<z.ZodString>;
12712
- display_name: z.ZodNullable<z.ZodString>;
12713
13073
  github_orgs: z.ZodArray<z.ZodString>;
12714
- github_username: z.ZodString;
12715
- id: z.ZodUUID;
12716
13074
  joined_at: z.ZodISODateTime;
13075
+ member: z.ZodUnion<readonly [z.ZodObject<{
13076
+ avatar_url: z.ZodNullable<z.ZodString>;
13077
+ display_name: z.ZodNullable<z.ZodString>;
13078
+ id: z.ZodUUID;
13079
+ kind: z.ZodLiteral<"profile">;
13080
+ username: z.ZodString;
13081
+ }, z.core.$strip>, z.ZodObject<{
13082
+ kind: z.ZodLiteral<"anonymous">;
13083
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
13084
+ kind: z.ZodString;
13085
+ }, z.core.$strip>, z.ZodTransform<{
13086
+ kind: "anonymous";
13087
+ }, {
13088
+ kind: string;
13089
+ }>>]>;
12717
13090
  role: z.ZodEnum<{
12718
13091
  pending: "pending";
12719
13092
  owner: "owner";
@@ -12779,22 +13152,34 @@ export declare const zVillageCollectiveDetailResponse: z.ZodObject<{
12779
13152
  partial: "partial";
12780
13153
  resolved: "resolved";
12781
13154
  }>>;
12782
- owner_avatar_url: z.ZodNullable<z.ZodString>;
12783
- owner_id: z.ZodUUID;
12784
- owner_is_discoverable: z.ZodBoolean;
12785
- owner_username: z.ZodString;
13155
+ owner: z.ZodUnion<readonly [z.ZodObject<{
13156
+ avatar_url: z.ZodNullable<z.ZodString>;
13157
+ display_name: z.ZodNullable<z.ZodString>;
13158
+ id: z.ZodUUID;
13159
+ kind: z.ZodLiteral<"profile">;
13160
+ username: z.ZodString;
13161
+ }, z.core.$strip>, z.ZodObject<{
13162
+ kind: z.ZodLiteral<"anonymous">;
13163
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
13164
+ kind: z.ZodString;
13165
+ }, z.core.$strip>, z.ZodTransform<{
13166
+ kind: "anonymous";
13167
+ }, {
13168
+ kind: string;
13169
+ }>>]>;
12786
13170
  parent_session_id: z.ZodNullable<z.ZodString>;
12787
- project_display_name: z.ZodString;
12788
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
13171
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
13172
+ project_display_name: z.ZodNullable<z.ZodString>;
13173
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
12789
13174
  project_name: z.ZodNullable<z.ZodString>;
12790
- project_name_source: z.ZodEnum<{
13175
+ project_name_source: z.ZodNullable<z.ZodEnum<{
12791
13176
  path: "path";
12792
13177
  remote: "remote";
12793
13178
  override: "override";
12794
13179
  consented: "consented";
12795
13180
  privacy: "privacy";
12796
- }>;
12797
- project_remote_label: z.ZodString;
13181
+ }>>;
13182
+ project_remote_label: z.ZodNullable<z.ZodString>;
12798
13183
  published_at: z.ZodISODateTime;
12799
13184
  pull_requests: z.ZodObject<{
12800
13185
  count: z.ZodInt;
@@ -12885,6 +13270,41 @@ export declare const zVillageCollectiveDetailResponse: z.ZodObject<{
12885
13270
  }>;
12886
13271
  }, z.core.$strip>;
12887
13272
  export type VillageCollectiveDetailResponse = z.infer<typeof zVillageCollectiveDetailResponse>;
13273
+ export declare const zVillageCollectiveSearchResult: z.ZodObject<{
13274
+ description: z.ZodNullable<z.ZodString>;
13275
+ id: z.ZodUUID;
13276
+ linked_github_org: z.ZodNullable<z.ZodString>;
13277
+ member_count: z.ZodInt;
13278
+ name: z.ZodString;
13279
+ transcript_count: z.ZodInt;
13280
+ }, z.core.$strip>;
13281
+ export type VillageCollectiveSearchResult = z.infer<typeof zVillageCollectiveSearchResult>;
13282
+ export declare const zVillageCollectiveSearchResponse: z.ZodObject<{
13283
+ collectives: z.ZodArray<z.ZodObject<{
13284
+ description: z.ZodNullable<z.ZodString>;
13285
+ id: z.ZodUUID;
13286
+ linked_github_org: z.ZodNullable<z.ZodString>;
13287
+ member_count: z.ZodInt;
13288
+ name: z.ZodString;
13289
+ transcript_count: z.ZodInt;
13290
+ }, z.core.$strip>>;
13291
+ }, z.core.$strip>;
13292
+ export type VillageCollectiveSearchResponse = z.infer<typeof zVillageCollectiveSearchResponse>;
13293
+ export declare const zVillageCollectiveSubmission: z.ZodObject<{
13294
+ event_num: z.ZodInt;
13295
+ group_id: z.ZodUUID;
13296
+ recorded_at: z.ZodISODateTime;
13297
+ status: z.ZodEnum<{
13298
+ pending: "pending";
13299
+ rejected: "rejected";
13300
+ approved: "approved";
13301
+ retracted: "retracted";
13302
+ revoked: "revoked";
13303
+ }>;
13304
+ title: z.ZodNullable<z.ZodString>;
13305
+ transcript_id: z.ZodUUID;
13306
+ }, z.core.$strip>;
13307
+ export type VillageCollectiveSubmission = z.infer<typeof zVillageCollectiveSubmission>;
12888
13308
  export declare const zVillageContributableResponse: z.ZodObject<{
12889
13309
  group_id: z.ZodUUID;
12890
13310
  transcripts: z.ZodArray<z.ZodObject<{
@@ -13007,7 +13427,21 @@ export declare const zVillageLinkedRepository: z.ZodObject<{
13007
13427
  installation_id: z.ZodCoercedBigInt<unknown>;
13008
13428
  is_private: z.ZodBoolean;
13009
13429
  last_synced_at: z.ZodNullable<z.ZodISODateTime>;
13010
- linked_by: z.ZodUUID;
13430
+ linked_by: z.ZodUnion<readonly [z.ZodObject<{
13431
+ avatar_url: z.ZodNullable<z.ZodString>;
13432
+ display_name: z.ZodNullable<z.ZodString>;
13433
+ id: z.ZodUUID;
13434
+ kind: z.ZodLiteral<"profile">;
13435
+ username: z.ZodString;
13436
+ }, z.core.$strip>, z.ZodObject<{
13437
+ kind: z.ZodLiteral<"anonymous">;
13438
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
13439
+ kind: z.ZodString;
13440
+ }, z.core.$strip>, z.ZodTransform<{
13441
+ kind: "anonymous";
13442
+ }, {
13443
+ kind: string;
13444
+ }>>]>;
13011
13445
  name: z.ZodString;
13012
13446
  owner: z.ZodString;
13013
13447
  }, z.core.$strip>;
@@ -13020,18 +13454,26 @@ export declare const zVillageLinkedRepositoriesResponse: z.ZodObject<{
13020
13454
  installation_id: z.ZodCoercedBigInt<unknown>;
13021
13455
  is_private: z.ZodBoolean;
13022
13456
  last_synced_at: z.ZodNullable<z.ZodISODateTime>;
13023
- linked_by: z.ZodUUID;
13457
+ linked_by: z.ZodUnion<readonly [z.ZodObject<{
13458
+ avatar_url: z.ZodNullable<z.ZodString>;
13459
+ display_name: z.ZodNullable<z.ZodString>;
13460
+ id: z.ZodUUID;
13461
+ kind: z.ZodLiteral<"profile">;
13462
+ username: z.ZodString;
13463
+ }, z.core.$strip>, z.ZodObject<{
13464
+ kind: z.ZodLiteral<"anonymous">;
13465
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
13466
+ kind: z.ZodString;
13467
+ }, z.core.$strip>, z.ZodTransform<{
13468
+ kind: "anonymous";
13469
+ }, {
13470
+ kind: string;
13471
+ }>>]>;
13024
13472
  name: z.ZodString;
13025
13473
  owner: z.ZodString;
13026
13474
  }, z.core.$strip>>;
13027
13475
  }, z.core.$strip>;
13028
13476
  export type VillageLinkedRepositoriesResponse = z.infer<typeof zVillageLinkedRepositoriesResponse>;
13029
- export declare const zVillageListUserOrganization: z.ZodObject<{
13030
- avatar_url: z.ZodNullable<z.ZodString>;
13031
- org_login: z.ZodString;
13032
- user_id: z.ZodUUID;
13033
- }, z.core.$strip>;
13034
- export type VillageListUserOrganization = z.infer<typeof zVillageListUserOrganization>;
13035
13477
  export declare const zVillageOrganizationCollective: z.ZodObject<{
13036
13478
  description: z.ZodNullable<z.ZodString>;
13037
13479
  id: z.ZodUUID;
@@ -13050,60 +13492,6 @@ export declare const zVillageOrganizationCollectivesResponse: z.ZodObject<{
13050
13492
  }, z.core.$strip>>;
13051
13493
  }, z.core.$strip>;
13052
13494
  export type VillageOrganizationCollectivesResponse = z.infer<typeof zVillageOrganizationCollectivesResponse>;
13053
- export declare const zVillagePendingShare: z.ZodObject<{
13054
- branch: z.ZodNullable<z.ZodString>;
13055
- input_submission_count: z.ZodOptional<z.ZodInt>;
13056
- local_id: z.ZodString;
13057
- model_provider: z.ZodString;
13058
- owner_id: z.ZodUUID;
13059
- owner_is_discoverable: z.ZodBoolean;
13060
- owner_username: z.ZodString;
13061
- parent_session_id: z.ZodNullable<z.ZodString>;
13062
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
13063
- project_name: z.ZodNullable<z.ZodString>;
13064
- purpose: z.ZodOptional<z.ZodEnum<{
13065
- unknown: "unknown";
13066
- interaction: "interaction";
13067
- delegated_work: "delegated_work";
13068
- helper_review: "helper_review";
13069
- }>>;
13070
- relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
13071
- anchor: z.ZodOptional<z.ZodObject<{
13072
- kind: z.ZodEnum<{
13073
- general_source_session: "general_source_session";
13074
- before_redacted_entry: "before_redacted_entry";
13075
- through_redacted_entry: "through_redacted_entry";
13076
- }>;
13077
- sourceEntryRef: z.ZodOptional<z.ZodString>;
13078
- sourceRevisionRef: z.ZodOptional<z.ZodString>;
13079
- }, z.core.$strict>>;
13080
- evidence: z.ZodEnum<{
13081
- unknown: "unknown";
13082
- native_typed: "native_typed";
13083
- lifecycle_typed: "lifecycle_typed";
13084
- existing_adapter: "existing_adapter";
13085
- retained_last_good: "retained_last_good";
13086
- conflict: "conflict";
13087
- }>;
13088
- kind: z.ZodEnum<{
13089
- started_by: "started_by";
13090
- context_from: "context_from";
13091
- }>;
13092
- targetLocalId: z.ZodOptional<z.ZodString>;
13093
- targetState: z.ZodEnum<{
13094
- unknown: "unknown";
13095
- target_known: "target_known";
13096
- target_known_retained: "target_known_retained";
13097
- explicit_none: "explicit_none";
13098
- conflicting_current_native_evidence: "conflicting_current_native_evidence";
13099
- }>;
13100
- }, z.core.$strict>>>;
13101
- root_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13102
- shared_at: z.ZodISODateTime;
13103
- title: z.ZodNullable<z.ZodString>;
13104
- transcript_id: z.ZodUUID;
13105
- }, z.core.$strip>;
13106
- export type VillagePendingShare = z.infer<typeof zVillagePendingShare>;
13107
13495
  export declare const zVillagePublicCollective: z.ZodObject<{
13108
13496
  acceptance_mode: z.ZodEnum<{
13109
13497
  open: "open";
@@ -13125,7 +13513,21 @@ export declare const zVillagePublicCollective: z.ZodObject<{
13125
13513
  }, z.core.$strip>;
13126
13514
  export type VillagePublicCollective = z.infer<typeof zVillagePublicCollective>;
13127
13515
  export declare const zVillagePullRequestAttachment: z.ZodObject<{
13128
- author_user_id: z.ZodNullable<z.ZodUUID>;
13516
+ author: z.ZodUnion<readonly [z.ZodObject<{
13517
+ avatar_url: z.ZodNullable<z.ZodString>;
13518
+ display_name: z.ZodNullable<z.ZodString>;
13519
+ id: z.ZodUUID;
13520
+ kind: z.ZodLiteral<"profile">;
13521
+ username: z.ZodString;
13522
+ }, z.core.$strip>, z.ZodObject<{
13523
+ kind: z.ZodLiteral<"anonymous">;
13524
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
13525
+ kind: z.ZodString;
13526
+ }, z.core.$strip>, z.ZodTransform<{
13527
+ kind: "anonymous";
13528
+ }, {
13529
+ kind: string;
13530
+ }>>]>;
13129
13531
  check_run_id: z.ZodNullable<z.ZodInt>;
13130
13532
  comment_id: z.ZodNullable<z.ZodInt>;
13131
13533
  confirmed_at: z.ZodNullable<z.ZodISODateTime>;
@@ -13138,7 +13540,21 @@ export declare const zVillagePullRequestAttachment: z.ZodObject<{
13138
13540
  name: z.ZodString;
13139
13541
  number: z.ZodInt;
13140
13542
  owner: z.ZodString;
13141
- requested_by_github_id: z.ZodNullable<z.ZodInt>;
13543
+ requested_by: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
13544
+ avatar_url: z.ZodNullable<z.ZodString>;
13545
+ display_name: z.ZodNullable<z.ZodString>;
13546
+ id: z.ZodUUID;
13547
+ kind: z.ZodLiteral<"profile">;
13548
+ username: z.ZodString;
13549
+ }, z.core.$strip>, z.ZodObject<{
13550
+ kind: z.ZodLiteral<"anonymous">;
13551
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
13552
+ kind: z.ZodString;
13553
+ }, z.core.$strip>, z.ZodTransform<{
13554
+ kind: "anonymous";
13555
+ }, {
13556
+ kind: string;
13557
+ }>>]>>;
13142
13558
  state: z.ZodEnum<{
13143
13559
  waiting: "waiting";
13144
13560
  requested: "requested";
@@ -13152,7 +13568,21 @@ export declare const zVillagePullRequestAttachment: z.ZodObject<{
13152
13568
  export type VillagePullRequestAttachment = z.infer<typeof zVillagePullRequestAttachment>;
13153
13569
  export declare const zVillagePullRequestAttachmentResponse: z.ZodObject<{
13154
13570
  attachment: z.ZodObject<{
13155
- author_user_id: z.ZodNullable<z.ZodUUID>;
13571
+ author: z.ZodUnion<readonly [z.ZodObject<{
13572
+ avatar_url: z.ZodNullable<z.ZodString>;
13573
+ display_name: z.ZodNullable<z.ZodString>;
13574
+ id: z.ZodUUID;
13575
+ kind: z.ZodLiteral<"profile">;
13576
+ username: z.ZodString;
13577
+ }, z.core.$strip>, z.ZodObject<{
13578
+ kind: z.ZodLiteral<"anonymous">;
13579
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
13580
+ kind: z.ZodString;
13581
+ }, z.core.$strip>, z.ZodTransform<{
13582
+ kind: "anonymous";
13583
+ }, {
13584
+ kind: string;
13585
+ }>>]>;
13156
13586
  check_run_id: z.ZodNullable<z.ZodInt>;
13157
13587
  comment_id: z.ZodNullable<z.ZodInt>;
13158
13588
  confirmed_at: z.ZodNullable<z.ZodISODateTime>;
@@ -13165,7 +13595,21 @@ export declare const zVillagePullRequestAttachmentResponse: z.ZodObject<{
13165
13595
  name: z.ZodString;
13166
13596
  number: z.ZodInt;
13167
13597
  owner: z.ZodString;
13168
- requested_by_github_id: z.ZodNullable<z.ZodInt>;
13598
+ requested_by: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
13599
+ avatar_url: z.ZodNullable<z.ZodString>;
13600
+ display_name: z.ZodNullable<z.ZodString>;
13601
+ id: z.ZodUUID;
13602
+ kind: z.ZodLiteral<"profile">;
13603
+ username: z.ZodString;
13604
+ }, z.core.$strip>, z.ZodObject<{
13605
+ kind: z.ZodLiteral<"anonymous">;
13606
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
13607
+ kind: z.ZodString;
13608
+ }, z.core.$strip>, z.ZodTransform<{
13609
+ kind: "anonymous";
13610
+ }, {
13611
+ kind: string;
13612
+ }>>]>>;
13169
13613
  state: z.ZodEnum<{
13170
13614
  waiting: "waiting";
13171
13615
  requested: "requested";
@@ -13202,188 +13646,64 @@ export declare const zVillagePullRequestAttachmentResponse: z.ZodObject<{
13202
13646
  commitSha: z.ZodOptional<z.ZodString>;
13203
13647
  deletions: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
13204
13648
  filesChanged: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
13205
- kind: z.ZodEnum<{
13206
- session: "session";
13207
- prompt: "prompt";
13208
- commit: "commit";
13209
- skill: "skill";
13210
- }>;
13211
- ordinal: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
13212
- promptCount: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
13213
- text: z.ZodString;
13214
- timestamp: z.ZodISODateTime;
13215
- transcriptId: z.ZodUUID;
13216
- turnIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
13217
- }, z.core.$strip>>;
13218
- skills: z.ZodArray<z.ZodObject<{
13219
- invocationCount: z.ZodInt;
13220
- name: z.ZodString;
13221
- }, z.core.$strip>>;
13222
- }, z.core.$strip>>;
13223
- transcripts: z.ZodArray<z.ZodObject<{
13224
- position: z.ZodInt;
13225
- previous_visibility: z.ZodEnum<{
13226
- shared: "shared";
13227
- private: "private";
13228
- public: "public";
13229
- }>;
13230
- session_start: z.ZodNullable<z.ZodISODateTime>;
13231
- title: z.ZodNullable<z.ZodString>;
13232
- transcript_id: z.ZodUUID;
13233
- }, z.core.$strip>>;
13234
- viewer_is_author: z.ZodBoolean;
13235
- }, z.core.$strip>;
13236
- export type VillagePullRequestAttachmentResponse = z.infer<typeof zVillagePullRequestAttachmentResponse>;
13237
- export declare const zVillageShareTranscriptRequest: z.ZodObject<{
13238
- group_ids: z.ZodArray<z.ZodUUID>;
13239
- }, z.core.$strip>;
13240
- export type VillageShareTranscriptRequest = z.infer<typeof zVillageShareTranscriptRequest>;
13241
- export declare const zVillageTag: z.ZodObject<{
13242
- id: z.ZodUUID;
13243
- name: z.ZodString;
13244
- }, z.core.$strip>;
13245
- export type VillageTag = z.infer<typeof zVillageTag>;
13246
- export declare const zVillageTranscript: z.ZodObject<{
13247
- blob_size_bytes: z.ZodNullable<z.ZodInt>;
13248
- compute_version: z.ZodNullable<z.ZodInt>;
13249
- computed_at: z.ZodNullable<z.ZodISODateTime>;
13250
- content_hash: z.ZodNullable<z.ZodString>;
13251
- description: z.ZodNullable<z.ZodString>;
13252
- diagnostics_partial: z.ZodNullable<z.ZodBoolean>;
13253
- diagnostics_warnings: z.ZodNullable<z.ZodArray<z.ZodObject<{
13254
- errorType: z.ZodString;
13255
- location: z.ZodString;
13256
- message: z.ZodString;
13257
- remediation: z.ZodString;
13258
- }, z.core.$strip>>>;
13259
- discovery_turns: z.ZodNullable<z.ZodInt>;
13260
- duration_ms: z.ZodNullable<z.ZodInt>;
13261
- exploration_ratio: z.ZodNullable<z.ZodNumber>;
13262
- files_touched: z.ZodNullable<z.ZodInt>;
13263
- git_branch: z.ZodNullable<z.ZodString>;
13264
- git_remote: z.ZodNullable<z.ZodString>;
13265
- harness_version: z.ZodNullable<z.ZodString>;
13266
- id: z.ZodUUID;
13267
- ingested_at: z.ZodNullable<z.ZodISODateTime>;
13268
- input_submission_count: z.ZodOptional<z.ZodInt>;
13269
- license_id: z.ZodNullable<z.ZodEnum<{
13270
- "CC0-1.0": "CC0-1.0";
13271
- "CC-BY-4.0": "CC-BY-4.0";
13272
- "CC-BY-SA-4.0": "CC-BY-SA-4.0";
13273
- }>>;
13274
- lines_changed: z.ZodNullable<z.ZodInt>;
13275
- local_id: z.ZodString;
13276
- m2_token_outcome_ratio: z.ZodNullable<z.ZodNumber>;
13277
- m3_unique_tool_count: z.ZodNullable<z.ZodInt>;
13278
- m4_consecutive_error_max: z.ZodNullable<z.ZodInt>;
13279
- m4_error_recovery_count: z.ZodNullable<z.ZodInt>;
13280
- m5_avg_message_tokens: z.ZodNullable<z.ZodInt>;
13281
- m5_context_utilization_pct: z.ZodNullable<z.ZodNumber>;
13282
- m5_peak_context_tokens: z.ZodNullable<z.ZodInt>;
13283
- m6_lines_survived: z.ZodNullable<z.ZodInt>;
13284
- m6_lines_total: z.ZodNullable<z.ZodInt>;
13285
- m6_output_survival_pct: z.ZodNullable<z.ZodNumber>;
13286
- m7_spec_has_constraints: z.ZodNullable<z.ZodBoolean>;
13287
- m7_spec_has_examples: z.ZodNullable<z.ZodBoolean>;
13288
- m7_spec_word_count: z.ZodNullable<z.ZodInt>;
13289
- model_name: z.ZodNullable<z.ZodString>;
13290
- model_provider: z.ZodString;
13291
- outcome: z.ZodNullable<z.ZodEnum<{
13292
- failed: "failed";
13293
- partial: "partial";
13294
- resolved: "resolved";
13295
- }>>;
13296
- owner_id: z.ZodUUID;
13297
- parent_session_id: z.ZodNullable<z.ZodString>;
13298
- project_display_name: z.ZodString;
13299
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
13300
- project_name: z.ZodNullable<z.ZodString>;
13301
- project_name_source: z.ZodEnum<{
13302
- path: "path";
13303
- remote: "remote";
13304
- override: "override";
13305
- consented: "consented";
13306
- privacy: "privacy";
13307
- }>;
13308
- project_remote_label: z.ZodString;
13309
- published_at: z.ZodISODateTime;
13310
- purpose: z.ZodOptional<z.ZodEnum<{
13311
- unknown: "unknown";
13312
- interaction: "interaction";
13313
- delegated_work: "delegated_work";
13314
- helper_review: "helper_review";
13315
- }>>;
13316
- relationships: z.ZodOptional<z.ZodArray<z.ZodObject<{
13317
- anchor: z.ZodOptional<z.ZodObject<{
13318
- kind: z.ZodEnum<{
13319
- general_source_session: "general_source_session";
13320
- before_redacted_entry: "before_redacted_entry";
13321
- through_redacted_entry: "through_redacted_entry";
13649
+ kind: z.ZodEnum<{
13650
+ session: "session";
13651
+ prompt: "prompt";
13652
+ commit: "commit";
13653
+ skill: "skill";
13322
13654
  }>;
13323
- sourceEntryRef: z.ZodOptional<z.ZodString>;
13324
- sourceRevisionRef: z.ZodOptional<z.ZodString>;
13325
- }, z.core.$strict>>;
13326
- evidence: z.ZodEnum<{
13327
- unknown: "unknown";
13328
- native_typed: "native_typed";
13329
- lifecycle_typed: "lifecycle_typed";
13330
- existing_adapter: "existing_adapter";
13331
- retained_last_good: "retained_last_good";
13332
- conflict: "conflict";
13333
- }>;
13334
- kind: z.ZodEnum<{
13335
- started_by: "started_by";
13336
- context_from: "context_from";
13337
- }>;
13338
- targetLocalId: z.ZodOptional<z.ZodString>;
13339
- targetState: z.ZodEnum<{
13340
- unknown: "unknown";
13341
- target_known: "target_known";
13342
- target_known_retained: "target_known_retained";
13343
- explicit_none: "explicit_none";
13344
- conflicting_current_native_evidence: "conflicting_current_native_evidence";
13655
+ ordinal: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
13656
+ promptCount: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
13657
+ text: z.ZodString;
13658
+ timestamp: z.ZodISODateTime;
13659
+ transcriptId: z.ZodUUID;
13660
+ turnIndex: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
13661
+ }, z.core.$strip>>;
13662
+ skills: z.ZodArray<z.ZodObject<{
13663
+ invocationCount: z.ZodInt;
13664
+ name: z.ZodString;
13665
+ }, z.core.$strip>>;
13666
+ }, z.core.$strip>>;
13667
+ transcripts: z.ZodArray<z.ZodObject<{
13668
+ position: z.ZodInt;
13669
+ previous_visibility: z.ZodEnum<{
13670
+ shared: "shared";
13671
+ private: "private";
13672
+ public: "public";
13345
13673
  }>;
13346
- }, z.core.$strict>>>;
13347
- retry_loops: z.ZodNullable<z.ZodInt>;
13348
- retry_tokens_wasted: z.ZodNullable<z.ZodInt>;
13349
- root_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13350
- schema_version: z.ZodString;
13351
- scope_breadth: z.ZodNullable<z.ZodInt>;
13352
- session_end: z.ZodNullable<z.ZodISODateTime>;
13353
- session_origin: z.ZodEnum<{
13354
- unknown: "unknown";
13355
- user: "user";
13356
- agent: "agent";
13357
- }>;
13358
- session_start: z.ZodNullable<z.ZodISODateTime>;
13359
- signal_density: z.ZodNullable<z.ZodNumber>;
13360
- source_format: z.ZodNullable<z.ZodEnum<{
13361
- json: "json";
13362
- jsonl: "jsonl";
13363
- }>>;
13364
- spec_quality_score: z.ZodNullable<z.ZodNumber>;
13365
- subagent_count: z.ZodNullable<z.ZodInt>;
13366
- subagents: z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13367
- title: z.ZodNullable<z.ZodString>;
13368
- title_generated: z.ZodNullable<z.ZodString>;
13369
- token_count: z.ZodNullable<z.ZodInt>;
13370
- tokens_in: z.ZodNullable<z.ZodInt>;
13371
- tokens_out: z.ZodNullable<z.ZodInt>;
13372
- tool_call_count: z.ZodNullable<z.ZodInt>;
13373
- turn_count: z.ZodNullable<z.ZodInt>;
13374
- updated_at: z.ZodISODateTime;
13375
- visibility: z.ZodEnum<{
13376
- shared: "shared";
13377
- private: "private";
13378
- public: "public";
13379
- }>;
13380
- within_session_reverts: z.ZodNullable<z.ZodInt>;
13674
+ session_start: z.ZodNullable<z.ZodISODateTime>;
13675
+ title: z.ZodNullable<z.ZodString>;
13676
+ transcript_id: z.ZodUUID;
13677
+ }, z.core.$strip>>;
13678
+ viewer_is_author: z.ZodBoolean;
13381
13679
  }, z.core.$strip>;
13382
- export type VillageTranscript = z.infer<typeof zVillageTranscript>;
13680
+ export type VillagePullRequestAttachmentResponse = z.infer<typeof zVillagePullRequestAttachmentResponse>;
13681
+ export declare const zVillageShareTranscriptRequest: z.ZodObject<{
13682
+ group_ids: z.ZodArray<z.ZodUUID>;
13683
+ }, z.core.$strip>;
13684
+ export type VillageShareTranscriptRequest = z.infer<typeof zVillageShareTranscriptRequest>;
13685
+ export declare const zVillageTag: z.ZodObject<{
13686
+ id: z.ZodUUID;
13687
+ name: z.ZodString;
13688
+ }, z.core.$strip>;
13689
+ export type VillageTag = z.infer<typeof zVillageTag>;
13383
13690
  export declare const zVillageTranscriptAttestation: z.ZodObject<{
13384
13691
  attestation_type: z.ZodString;
13385
- attester_avatar: z.ZodNullable<z.ZodString>;
13386
- attester_username: z.ZodString;
13692
+ attester: z.ZodUnion<readonly [z.ZodObject<{
13693
+ avatar_url: z.ZodNullable<z.ZodString>;
13694
+ display_name: z.ZodNullable<z.ZodString>;
13695
+ id: z.ZodUUID;
13696
+ kind: z.ZodLiteral<"profile">;
13697
+ username: z.ZodString;
13698
+ }, z.core.$strip>, z.ZodObject<{
13699
+ kind: z.ZodLiteral<"anonymous">;
13700
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
13701
+ kind: z.ZodString;
13702
+ }, z.core.$strip>, z.ZodTransform<{
13703
+ kind: "anonymous";
13704
+ }, {
13705
+ kind: string;
13706
+ }>>]>;
13387
13707
  created_at: z.ZodISODateTime;
13388
13708
  id: z.ZodUUID;
13389
13709
  note: z.ZodNullable<z.ZodString>;
@@ -13409,58 +13729,6 @@ export declare const zVillageTranscriptCollectivesResponse: z.ZodObject<{
13409
13729
  }, z.core.$strip>>;
13410
13730
  }, z.core.$strip>;
13411
13731
  export type VillageTranscriptCollectivesResponse = z.infer<typeof zVillageTranscriptCollectivesResponse>;
13412
- export declare const zVillageTranscriptShare: z.ZodObject<{
13413
- group_id: z.ZodUUID;
13414
- group_name: z.ZodString;
13415
- shared_at: z.ZodISODateTime;
13416
- }, z.core.$strip>;
13417
- export type VillageTranscriptShare = z.infer<typeof zVillageTranscriptShare>;
13418
- export declare const zVillageUpdateCollectiveRequest: z.ZodObject<{
13419
- acceptance_mode: z.ZodOptional<z.ZodEnum<{
13420
- open: "open";
13421
- verified_only: "verified_only";
13422
- curated: "curated";
13423
- }>>;
13424
- data_access: z.ZodOptional<z.ZodEnum<{
13425
- public: "public";
13426
- members_only: "members_only";
13427
- contributors: "contributors";
13428
- }>>;
13429
- description: z.ZodOptional<z.ZodString>;
13430
- display_members: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13431
- linked_github_org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13432
- name: z.ZodOptional<z.ZodString>;
13433
- post_prompts_check: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13434
- prompts_check_mode: z.ZodOptional<z.ZodEnum<{
13435
- required: "required";
13436
- informational: "informational";
13437
- }>>;
13438
- transcript_deletion_policy: z.ZodOptional<z.ZodEnum<{
13439
- user_choice: "user_choice";
13440
- mandatory: "mandatory";
13441
- }>>;
13442
- }, z.core.$strip>;
13443
- export type VillageUpdateCollectiveRequest = z.infer<typeof zVillageUpdateCollectiveRequest>;
13444
- export declare const zVillageUpdateUserSettingsRequest: z.ZodObject<{
13445
- auto_attach_pull_requests: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13446
- preview_before_attach: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13447
- }, z.core.$strip>;
13448
- export type VillageUpdateUserSettingsRequest = z.infer<typeof zVillageUpdateUserSettingsRequest>;
13449
- export declare const zVillageUser: z.ZodObject<{
13450
- avatar_url: z.ZodNullable<z.ZodString>;
13451
- created_at: z.ZodISODateTime;
13452
- display_name: z.ZodNullable<z.ZodString>;
13453
- github_id: z.ZodCoercedBigInt<unknown>;
13454
- github_username: z.ZodString;
13455
- id: z.ZodUUID;
13456
- is_discoverable: z.ZodBoolean;
13457
- provider: z.ZodString;
13458
- provider_user_id: z.ZodString;
13459
- provider_username: z.ZodNullable<z.ZodString>;
13460
- updated_at: z.ZodISODateTime;
13461
- username_chosen: z.ZodBoolean;
13462
- }, z.core.$strip>;
13463
- export type VillageUser = z.infer<typeof zVillageUser>;
13464
13732
  export declare const zVillageTranscriptListRow: z.ZodObject<{
13465
13733
  attestations: z.ZodNullable<z.ZodArray<z.ZodObject<{
13466
13734
  attestation_type: z.ZodString;
@@ -13468,24 +13736,24 @@ export declare const zVillageTranscriptListRow: z.ZodObject<{
13468
13736
  org_login: z.ZodString;
13469
13737
  transcript_id: z.ZodUUID;
13470
13738
  }, z.core.$strip>>>;
13471
- owner: z.ZodObject<{
13739
+ owner: z.ZodUnion<readonly [z.ZodObject<{
13472
13740
  avatar_url: z.ZodNullable<z.ZodString>;
13473
- created_at: z.ZodISODateTime;
13474
13741
  display_name: z.ZodNullable<z.ZodString>;
13475
- github_id: z.ZodCoercedBigInt<unknown>;
13476
- github_username: z.ZodString;
13477
13742
  id: z.ZodUUID;
13478
- is_discoverable: z.ZodBoolean;
13479
- provider: z.ZodString;
13480
- provider_user_id: z.ZodString;
13481
- provider_username: z.ZodNullable<z.ZodString>;
13482
- updated_at: z.ZodISODateTime;
13483
- username_chosen: z.ZodBoolean;
13484
- }, z.core.$strip>;
13743
+ kind: z.ZodLiteral<"profile">;
13744
+ username: z.ZodString;
13745
+ }, z.core.$strip>, z.ZodObject<{
13746
+ kind: z.ZodLiteral<"anonymous">;
13747
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
13748
+ kind: z.ZodString;
13749
+ }, z.core.$strip>, z.ZodTransform<{
13750
+ kind: "anonymous";
13751
+ }, {
13752
+ kind: string;
13753
+ }>>]>;
13485
13754
  owner_orgs: z.ZodNullable<z.ZodArray<z.ZodObject<{
13486
13755
  avatar_url: z.ZodNullable<z.ZodString>;
13487
13756
  org_login: z.ZodString;
13488
- user_id: z.ZodUUID;
13489
13757
  }, z.core.$strip>>>;
13490
13758
  pull_requests: z.ZodObject<{
13491
13759
  count: z.ZodInt;
@@ -13567,19 +13835,19 @@ export declare const zVillageTranscriptListRow: z.ZodObject<{
13567
13835
  partial: "partial";
13568
13836
  resolved: "resolved";
13569
13837
  }>>;
13570
- owner_id: z.ZodUUID;
13571
13838
  parent_session_id: z.ZodNullable<z.ZodString>;
13572
- project_display_name: z.ZodString;
13573
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
13839
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
13840
+ project_display_name: z.ZodNullable<z.ZodString>;
13841
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
13574
13842
  project_name: z.ZodNullable<z.ZodString>;
13575
- project_name_source: z.ZodEnum<{
13843
+ project_name_source: z.ZodNullable<z.ZodEnum<{
13576
13844
  path: "path";
13577
13845
  remote: "remote";
13578
13846
  override: "override";
13579
13847
  consented: "consented";
13580
13848
  privacy: "privacy";
13581
- }>;
13582
- project_remote_label: z.ZodString;
13849
+ }>>;
13850
+ project_remote_label: z.ZodNullable<z.ZodString>;
13583
13851
  published_at: z.ZodISODateTime;
13584
13852
  purpose: z.ZodOptional<z.ZodEnum<{
13585
13853
  unknown: "unknown";
@@ -13667,24 +13935,24 @@ export declare const zVillageTranscriptListResponse: z.ZodObject<{
13667
13935
  org_login: z.ZodString;
13668
13936
  transcript_id: z.ZodUUID;
13669
13937
  }, z.core.$strip>>>;
13670
- owner: z.ZodObject<{
13938
+ owner: z.ZodUnion<readonly [z.ZodObject<{
13671
13939
  avatar_url: z.ZodNullable<z.ZodString>;
13672
- created_at: z.ZodISODateTime;
13673
13940
  display_name: z.ZodNullable<z.ZodString>;
13674
- github_id: z.ZodCoercedBigInt<unknown>;
13675
- github_username: z.ZodString;
13676
13941
  id: z.ZodUUID;
13677
- is_discoverable: z.ZodBoolean;
13678
- provider: z.ZodString;
13679
- provider_user_id: z.ZodString;
13680
- provider_username: z.ZodNullable<z.ZodString>;
13681
- updated_at: z.ZodISODateTime;
13682
- username_chosen: z.ZodBoolean;
13683
- }, z.core.$strip>;
13942
+ kind: z.ZodLiteral<"profile">;
13943
+ username: z.ZodString;
13944
+ }, z.core.$strip>, z.ZodObject<{
13945
+ kind: z.ZodLiteral<"anonymous">;
13946
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
13947
+ kind: z.ZodString;
13948
+ }, z.core.$strip>, z.ZodTransform<{
13949
+ kind: "anonymous";
13950
+ }, {
13951
+ kind: string;
13952
+ }>>]>;
13684
13953
  owner_orgs: z.ZodNullable<z.ZodArray<z.ZodObject<{
13685
13954
  avatar_url: z.ZodNullable<z.ZodString>;
13686
13955
  org_login: z.ZodString;
13687
- user_id: z.ZodUUID;
13688
13956
  }, z.core.$strip>>>;
13689
13957
  pull_requests: z.ZodObject<{
13690
13958
  count: z.ZodInt;
@@ -13766,19 +14034,19 @@ export declare const zVillageTranscriptListResponse: z.ZodObject<{
13766
14034
  partial: "partial";
13767
14035
  resolved: "resolved";
13768
14036
  }>>;
13769
- owner_id: z.ZodUUID;
13770
14037
  parent_session_id: z.ZodNullable<z.ZodString>;
13771
- project_display_name: z.ZodString;
13772
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
14038
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
14039
+ project_display_name: z.ZodNullable<z.ZodString>;
14040
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
13773
14041
  project_name: z.ZodNullable<z.ZodString>;
13774
- project_name_source: z.ZodEnum<{
14042
+ project_name_source: z.ZodNullable<z.ZodEnum<{
13775
14043
  path: "path";
13776
14044
  remote: "remote";
13777
14045
  override: "override";
13778
14046
  consented: "consented";
13779
14047
  privacy: "privacy";
13780
- }>;
13781
- project_remote_label: z.ZodString;
14048
+ }>>;
14049
+ project_remote_label: z.ZodNullable<z.ZodString>;
13782
14050
  published_at: z.ZodISODateTime;
13783
14051
  purpose: z.ZodOptional<z.ZodEnum<{
13784
14052
  unknown: "unknown";
@@ -13855,11 +14123,30 @@ export declare const zVillageTranscriptListResponse: z.ZodObject<{
13855
14123
  }, z.core.$strip>>;
13856
14124
  }, z.core.$strip>;
13857
14125
  export type VillageTranscriptListResponse = z.infer<typeof zVillageTranscriptListResponse>;
14126
+ export declare const zVillageTranscriptShare: z.ZodObject<{
14127
+ group_id: z.ZodUUID;
14128
+ group_name: z.ZodString;
14129
+ shared_at: z.ZodISODateTime;
14130
+ }, z.core.$strip>;
14131
+ export type VillageTranscriptShare = z.infer<typeof zVillageTranscriptShare>;
13858
14132
  export declare const zVillageTranscriptMetadataResponse: z.ZodObject<{
13859
14133
  attestations: z.ZodArray<z.ZodObject<{
13860
14134
  attestation_type: z.ZodString;
13861
- attester_avatar: z.ZodNullable<z.ZodString>;
13862
- attester_username: z.ZodString;
14135
+ attester: z.ZodUnion<readonly [z.ZodObject<{
14136
+ avatar_url: z.ZodNullable<z.ZodString>;
14137
+ display_name: z.ZodNullable<z.ZodString>;
14138
+ id: z.ZodUUID;
14139
+ kind: z.ZodLiteral<"profile">;
14140
+ username: z.ZodString;
14141
+ }, z.core.$strip>, z.ZodObject<{
14142
+ kind: z.ZodLiteral<"anonymous">;
14143
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
14144
+ kind: z.ZodString;
14145
+ }, z.core.$strip>, z.ZodTransform<{
14146
+ kind: "anonymous";
14147
+ }, {
14148
+ kind: string;
14149
+ }>>]>;
13863
14150
  created_at: z.ZodISODateTime;
13864
14151
  id: z.ZodUUID;
13865
14152
  note: z.ZodNullable<z.ZodString>;
@@ -13884,20 +14171,21 @@ export declare const zVillageTranscriptMetadataResponse: z.ZodObject<{
13884
14171
  }>;
13885
14172
  transcript_id: z.ZodUUID;
13886
14173
  }, z.core.$strip>>;
13887
- owner: z.ZodObject<{
14174
+ owner: z.ZodUnion<readonly [z.ZodObject<{
13888
14175
  avatar_url: z.ZodNullable<z.ZodString>;
13889
- created_at: z.ZodISODateTime;
13890
14176
  display_name: z.ZodNullable<z.ZodString>;
13891
- github_id: z.ZodCoercedBigInt<unknown>;
13892
- github_username: z.ZodString;
13893
14177
  id: z.ZodUUID;
13894
- is_discoverable: z.ZodBoolean;
13895
- provider: z.ZodString;
13896
- provider_user_id: z.ZodString;
13897
- provider_username: z.ZodNullable<z.ZodString>;
13898
- updated_at: z.ZodISODateTime;
13899
- username_chosen: z.ZodBoolean;
13900
- }, z.core.$strip>;
14178
+ kind: z.ZodLiteral<"profile">;
14179
+ username: z.ZodString;
14180
+ }, z.core.$strip>, z.ZodObject<{
14181
+ kind: z.ZodLiteral<"anonymous">;
14182
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
14183
+ kind: z.ZodString;
14184
+ }, z.core.$strip>, z.ZodTransform<{
14185
+ kind: "anonymous";
14186
+ }, {
14187
+ kind: string;
14188
+ }>>]>;
13901
14189
  owner_orgs: z.ZodArray<z.ZodObject<{
13902
14190
  avatar_url: z.ZodNullable<z.ZodString>;
13903
14191
  fetched_at: z.ZodISODateTime;
@@ -13989,19 +14277,19 @@ export declare const zVillageTranscriptMetadataResponse: z.ZodObject<{
13989
14277
  partial: "partial";
13990
14278
  resolved: "resolved";
13991
14279
  }>>;
13992
- owner_id: z.ZodUUID;
13993
14280
  parent_session_id: z.ZodNullable<z.ZodString>;
13994
- project_display_name: z.ZodString;
13995
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
14281
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
14282
+ project_display_name: z.ZodNullable<z.ZodString>;
14283
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
13996
14284
  project_name: z.ZodNullable<z.ZodString>;
13997
- project_name_source: z.ZodEnum<{
14285
+ project_name_source: z.ZodNullable<z.ZodEnum<{
13998
14286
  path: "path";
13999
14287
  remote: "remote";
14000
14288
  override: "override";
14001
14289
  consented: "consented";
14002
14290
  privacy: "privacy";
14003
- }>;
14004
- project_remote_label: z.ZodString;
14291
+ }>>;
14292
+ project_remote_label: z.ZodNullable<z.ZodString>;
14005
14293
  published_at: z.ZodISODateTime;
14006
14294
  purpose: z.ZodOptional<z.ZodEnum<{
14007
14295
  unknown: "unknown";
@@ -14077,6 +14365,52 @@ export declare const zVillageTranscriptMetadataResponse: z.ZodObject<{
14077
14365
  }, z.core.$strip>;
14078
14366
  }, z.core.$strip>;
14079
14367
  export type VillageTranscriptMetadataResponse = z.infer<typeof zVillageTranscriptMetadataResponse>;
14368
+ export declare const zVillageUpdateCollectiveRequest: z.ZodObject<{
14369
+ acceptance_mode: z.ZodOptional<z.ZodEnum<{
14370
+ open: "open";
14371
+ verified_only: "verified_only";
14372
+ curated: "curated";
14373
+ }>>;
14374
+ data_access: z.ZodOptional<z.ZodEnum<{
14375
+ public: "public";
14376
+ members_only: "members_only";
14377
+ contributors: "contributors";
14378
+ }>>;
14379
+ description: z.ZodOptional<z.ZodString>;
14380
+ display_members: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14381
+ linked_github_org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14382
+ name: z.ZodOptional<z.ZodString>;
14383
+ post_prompts_check: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14384
+ prompts_check_mode: z.ZodOptional<z.ZodEnum<{
14385
+ required: "required";
14386
+ informational: "informational";
14387
+ }>>;
14388
+ transcript_deletion_policy: z.ZodOptional<z.ZodEnum<{
14389
+ user_choice: "user_choice";
14390
+ mandatory: "mandatory";
14391
+ }>>;
14392
+ }, z.core.$strip>;
14393
+ export type VillageUpdateCollectiveRequest = z.infer<typeof zVillageUpdateCollectiveRequest>;
14394
+ export declare const zVillageUpdateUserSettingsRequest: z.ZodObject<{
14395
+ auto_attach_pull_requests: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14396
+ preview_before_attach: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14397
+ }, z.core.$strip>;
14398
+ export type VillageUpdateUserSettingsRequest = z.infer<typeof zVillageUpdateUserSettingsRequest>;
14399
+ export declare const zVillageUser: z.ZodObject<{
14400
+ avatar_url: z.ZodNullable<z.ZodString>;
14401
+ created_at: z.ZodISODateTime;
14402
+ display_name: z.ZodNullable<z.ZodString>;
14403
+ github_id: z.ZodCoercedBigInt<unknown>;
14404
+ github_username: z.ZodString;
14405
+ id: z.ZodUUID;
14406
+ is_discoverable: z.ZodBoolean;
14407
+ provider: z.ZodString;
14408
+ provider_user_id: z.ZodString;
14409
+ provider_username: z.ZodNullable<z.ZodString>;
14410
+ updated_at: z.ZodISODateTime;
14411
+ username_chosen: z.ZodBoolean;
14412
+ }, z.core.$strip>;
14413
+ export type VillageUser = z.infer<typeof zVillageUser>;
14080
14414
  export declare const zVillageUserCollective: z.ZodObject<{
14081
14415
  acceptance_mode: z.ZodEnum<{
14082
14416
  open: "open";
@@ -14084,7 +14418,21 @@ export declare const zVillageUserCollective: z.ZodObject<{
14084
14418
  curated: "curated";
14085
14419
  }>;
14086
14420
  created_at: z.ZodISODateTime;
14087
- created_by: z.ZodUUID;
14421
+ creator: z.ZodUnion<readonly [z.ZodObject<{
14422
+ avatar_url: z.ZodNullable<z.ZodString>;
14423
+ display_name: z.ZodNullable<z.ZodString>;
14424
+ id: z.ZodUUID;
14425
+ kind: z.ZodLiteral<"profile">;
14426
+ username: z.ZodString;
14427
+ }, z.core.$strip>, z.ZodObject<{
14428
+ kind: z.ZodLiteral<"anonymous">;
14429
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
14430
+ kind: z.ZodString;
14431
+ }, z.core.$strip>, z.ZodTransform<{
14432
+ kind: "anonymous";
14433
+ }, {
14434
+ kind: string;
14435
+ }>>]>;
14088
14436
  data_access: z.ZodEnum<{
14089
14437
  public: "public";
14090
14438
  members_only: "members_only";
@@ -14119,7 +14467,21 @@ export declare const zLocalVillageCollective: z.ZodObject<{
14119
14467
  curated: "curated";
14120
14468
  }>;
14121
14469
  created_at: z.ZodISODateTime;
14122
- created_by: z.ZodUUID;
14470
+ creator: z.ZodUnion<readonly [z.ZodObject<{
14471
+ avatar_url: z.ZodNullable<z.ZodString>;
14472
+ display_name: z.ZodNullable<z.ZodString>;
14473
+ id: z.ZodUUID;
14474
+ kind: z.ZodLiteral<"profile">;
14475
+ username: z.ZodString;
14476
+ }, z.core.$strip>, z.ZodObject<{
14477
+ kind: z.ZodLiteral<"anonymous">;
14478
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
14479
+ kind: z.ZodString;
14480
+ }, z.core.$strip>, z.ZodTransform<{
14481
+ kind: "anonymous";
14482
+ }, {
14483
+ kind: string;
14484
+ }>>]>;
14123
14485
  data_access: z.ZodEnum<{
14124
14486
  public: "public";
14125
14487
  members_only: "members_only";
@@ -14163,7 +14525,21 @@ export declare const zLocalVillageCollectivesResponse: z.ZodObject<{
14163
14525
  curated: "curated";
14164
14526
  }>;
14165
14527
  created_at: z.ZodISODateTime;
14166
- created_by: z.ZodUUID;
14528
+ creator: z.ZodUnion<readonly [z.ZodObject<{
14529
+ avatar_url: z.ZodNullable<z.ZodString>;
14530
+ display_name: z.ZodNullable<z.ZodString>;
14531
+ id: z.ZodUUID;
14532
+ kind: z.ZodLiteral<"profile">;
14533
+ username: z.ZodString;
14534
+ }, z.core.$strip>, z.ZodObject<{
14535
+ kind: z.ZodLiteral<"anonymous">;
14536
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
14537
+ kind: z.ZodString;
14538
+ }, z.core.$strip>, z.ZodTransform<{
14539
+ kind: "anonymous";
14540
+ }, {
14541
+ kind: string;
14542
+ }>>]>;
14167
14543
  data_access: z.ZodEnum<{
14168
14544
  public: "public";
14169
14545
  members_only: "members_only";
@@ -14205,8 +14581,23 @@ export declare const zVillageUserCollectiveShare: z.ZodObject<{
14205
14581
  local_id: z.ZodString;
14206
14582
  model_name: z.ZodNullable<z.ZodString>;
14207
14583
  model_provider: z.ZodString;
14208
- owner_id: z.ZodUUID;
14584
+ owner: z.ZodUnion<readonly [z.ZodObject<{
14585
+ avatar_url: z.ZodNullable<z.ZodString>;
14586
+ display_name: z.ZodNullable<z.ZodString>;
14587
+ id: z.ZodUUID;
14588
+ kind: z.ZodLiteral<"profile">;
14589
+ username: z.ZodString;
14590
+ }, z.core.$strip>, z.ZodObject<{
14591
+ kind: z.ZodLiteral<"anonymous">;
14592
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
14593
+ kind: z.ZodString;
14594
+ }, z.core.$strip>, z.ZodTransform<{
14595
+ kind: "anonymous";
14596
+ }, {
14597
+ kind: string;
14598
+ }>>]>;
14209
14599
  parent_session_id: z.ZodNullable<z.ZodString>;
14600
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
14210
14601
  published_at: z.ZodISODateTime;
14211
14602
  purpose: z.ZodOptional<z.ZodEnum<{
14212
14603
  unknown: "unknown";
@@ -14316,22 +14707,34 @@ export declare const zVillageSessionRow: z.ZodObject<{
14316
14707
  partial: "partial";
14317
14708
  resolved: "resolved";
14318
14709
  }>>;
14319
- owner_avatar_url: z.ZodNullable<z.ZodString>;
14320
- owner_id: z.ZodUUID;
14321
- owner_is_discoverable: z.ZodBoolean;
14322
- owner_username: z.ZodString;
14710
+ owner: z.ZodUnion<readonly [z.ZodObject<{
14711
+ avatar_url: z.ZodNullable<z.ZodString>;
14712
+ display_name: z.ZodNullable<z.ZodString>;
14713
+ id: z.ZodUUID;
14714
+ kind: z.ZodLiteral<"profile">;
14715
+ username: z.ZodString;
14716
+ }, z.core.$strip>, z.ZodObject<{
14717
+ kind: z.ZodLiteral<"anonymous">;
14718
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
14719
+ kind: z.ZodString;
14720
+ }, z.core.$strip>, z.ZodTransform<{
14721
+ kind: "anonymous";
14722
+ }, {
14723
+ kind: string;
14724
+ }>>]>;
14323
14725
  parent_session_id: z.ZodNullable<z.ZodString>;
14324
- project_display_name: z.ZodString;
14325
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
14726
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
14727
+ project_display_name: z.ZodNullable<z.ZodString>;
14728
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
14326
14729
  project_name: z.ZodNullable<z.ZodString>;
14327
- project_name_source: z.ZodEnum<{
14730
+ project_name_source: z.ZodNullable<z.ZodEnum<{
14328
14731
  path: "path";
14329
14732
  remote: "remote";
14330
14733
  override: "override";
14331
14734
  consented: "consented";
14332
14735
  privacy: "privacy";
14333
- }>;
14334
- project_remote_label: z.ZodString;
14736
+ }>>;
14737
+ project_remote_label: z.ZodNullable<z.ZodString>;
14335
14738
  published_at: z.ZodISODateTime;
14336
14739
  pull_requests: z.ZodObject<{
14337
14740
  count: z.ZodInt;
@@ -14487,8 +14890,23 @@ export declare const zVillageSessionRow: z.ZodObject<{
14487
14890
  local_id: z.ZodString;
14488
14891
  model_name: z.ZodNullable<z.ZodString>;
14489
14892
  model_provider: z.ZodString;
14490
- owner_id: z.ZodUUID;
14893
+ owner: z.ZodUnion<readonly [z.ZodObject<{
14894
+ avatar_url: z.ZodNullable<z.ZodString>;
14895
+ display_name: z.ZodNullable<z.ZodString>;
14896
+ id: z.ZodUUID;
14897
+ kind: z.ZodLiteral<"profile">;
14898
+ username: z.ZodString;
14899
+ }, z.core.$strip>, z.ZodObject<{
14900
+ kind: z.ZodLiteral<"anonymous">;
14901
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
14902
+ kind: z.ZodString;
14903
+ }, z.core.$strip>, z.ZodTransform<{
14904
+ kind: "anonymous";
14905
+ }, {
14906
+ kind: string;
14907
+ }>>]>;
14491
14908
  parent_session_id: z.ZodNullable<z.ZodString>;
14909
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
14492
14910
  published_at: z.ZodISODateTime;
14493
14911
  purpose: z.ZodOptional<z.ZodEnum<{
14494
14912
  unknown: "unknown";
@@ -14546,16 +14964,44 @@ export declare const zVillageSessionRow: z.ZodObject<{
14546
14964
  public: "public";
14547
14965
  }>;
14548
14966
  }, z.core.$strip>>>;
14967
+ owner: z.ZodUnion<readonly [z.ZodObject<{
14968
+ avatar_url: z.ZodNullable<z.ZodString>;
14969
+ display_name: z.ZodNullable<z.ZodString>;
14970
+ id: z.ZodUUID;
14971
+ kind: z.ZodLiteral<"profile">;
14972
+ username: z.ZodString;
14973
+ }, z.core.$strip>, z.ZodObject<{
14974
+ kind: z.ZodLiteral<"anonymous">;
14975
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
14976
+ kind: z.ZodString;
14977
+ }, z.core.$strip>, z.ZodTransform<{
14978
+ kind: "anonymous";
14979
+ }, {
14980
+ kind: string;
14981
+ }>>]>;
14549
14982
  pending: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14550
14983
  branch: z.ZodNullable<z.ZodString>;
14551
14984
  input_submission_count: z.ZodOptional<z.ZodInt>;
14552
14985
  local_id: z.ZodString;
14553
14986
  model_provider: z.ZodString;
14554
- owner_id: z.ZodUUID;
14555
- owner_is_discoverable: z.ZodBoolean;
14556
- owner_username: z.ZodString;
14987
+ owner: z.ZodUnion<readonly [z.ZodObject<{
14988
+ avatar_url: z.ZodNullable<z.ZodString>;
14989
+ display_name: z.ZodNullable<z.ZodString>;
14990
+ id: z.ZodUUID;
14991
+ kind: z.ZodLiteral<"profile">;
14992
+ username: z.ZodString;
14993
+ }, z.core.$strip>, z.ZodObject<{
14994
+ kind: z.ZodLiteral<"anonymous">;
14995
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
14996
+ kind: z.ZodString;
14997
+ }, z.core.$strip>, z.ZodTransform<{
14998
+ kind: "anonymous";
14999
+ }, {
15000
+ kind: string;
15001
+ }>>]>;
14557
15002
  parent_session_id: z.ZodNullable<z.ZodString>;
14558
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
15003
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
15004
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
14559
15005
  project_name: z.ZodNullable<z.ZodString>;
14560
15006
  purpose: z.ZodOptional<z.ZodEnum<{
14561
15007
  unknown: "unknown";
@@ -14649,19 +15095,19 @@ export declare const zVillageSessionRow: z.ZodObject<{
14649
15095
  partial: "partial";
14650
15096
  resolved: "resolved";
14651
15097
  }>>;
14652
- owner_id: z.ZodUUID;
14653
15098
  parent_session_id: z.ZodNullable<z.ZodString>;
14654
- project_display_name: z.ZodString;
14655
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
15099
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
15100
+ project_display_name: z.ZodNullable<z.ZodString>;
15101
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
14656
15102
  project_name: z.ZodNullable<z.ZodString>;
14657
- project_name_source: z.ZodEnum<{
15103
+ project_name_source: z.ZodNullable<z.ZodEnum<{
14658
15104
  path: "path";
14659
15105
  remote: "remote";
14660
15106
  override: "override";
14661
15107
  consented: "consented";
14662
15108
  privacy: "privacy";
14663
- }>;
14664
- project_remote_label: z.ZodString;
15109
+ }>>;
15110
+ project_remote_label: z.ZodNullable<z.ZodString>;
14665
15111
  published_at: z.ZodISODateTime;
14666
15112
  purpose: z.ZodOptional<z.ZodEnum<{
14667
15113
  unknown: "unknown";
@@ -14815,22 +15261,34 @@ export declare const zVillageSessionListItem: z.ZodObject<{
14815
15261
  partial: "partial";
14816
15262
  resolved: "resolved";
14817
15263
  }>>;
14818
- owner_avatar_url: z.ZodNullable<z.ZodString>;
14819
- owner_id: z.ZodUUID;
14820
- owner_is_discoverable: z.ZodBoolean;
14821
- owner_username: z.ZodString;
15264
+ owner: z.ZodUnion<readonly [z.ZodObject<{
15265
+ avatar_url: z.ZodNullable<z.ZodString>;
15266
+ display_name: z.ZodNullable<z.ZodString>;
15267
+ id: z.ZodUUID;
15268
+ kind: z.ZodLiteral<"profile">;
15269
+ username: z.ZodString;
15270
+ }, z.core.$strip>, z.ZodObject<{
15271
+ kind: z.ZodLiteral<"anonymous">;
15272
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
15273
+ kind: z.ZodString;
15274
+ }, z.core.$strip>, z.ZodTransform<{
15275
+ kind: "anonymous";
15276
+ }, {
15277
+ kind: string;
15278
+ }>>]>;
14822
15279
  parent_session_id: z.ZodNullable<z.ZodString>;
14823
- project_display_name: z.ZodString;
14824
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
15280
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
15281
+ project_display_name: z.ZodNullable<z.ZodString>;
15282
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
14825
15283
  project_name: z.ZodNullable<z.ZodString>;
14826
- project_name_source: z.ZodEnum<{
15284
+ project_name_source: z.ZodNullable<z.ZodEnum<{
14827
15285
  path: "path";
14828
15286
  remote: "remote";
14829
15287
  override: "override";
14830
15288
  consented: "consented";
14831
15289
  privacy: "privacy";
14832
- }>;
14833
- project_remote_label: z.ZodString;
15290
+ }>>;
15291
+ project_remote_label: z.ZodNullable<z.ZodString>;
14834
15292
  published_at: z.ZodISODateTime;
14835
15293
  pull_requests: z.ZodObject<{
14836
15294
  count: z.ZodInt;
@@ -14986,8 +15444,23 @@ export declare const zVillageSessionListItem: z.ZodObject<{
14986
15444
  local_id: z.ZodString;
14987
15445
  model_name: z.ZodNullable<z.ZodString>;
14988
15446
  model_provider: z.ZodString;
14989
- owner_id: z.ZodUUID;
15447
+ owner: z.ZodUnion<readonly [z.ZodObject<{
15448
+ avatar_url: z.ZodNullable<z.ZodString>;
15449
+ display_name: z.ZodNullable<z.ZodString>;
15450
+ id: z.ZodUUID;
15451
+ kind: z.ZodLiteral<"profile">;
15452
+ username: z.ZodString;
15453
+ }, z.core.$strip>, z.ZodObject<{
15454
+ kind: z.ZodLiteral<"anonymous">;
15455
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
15456
+ kind: z.ZodString;
15457
+ }, z.core.$strip>, z.ZodTransform<{
15458
+ kind: "anonymous";
15459
+ }, {
15460
+ kind: string;
15461
+ }>>]>;
14990
15462
  parent_session_id: z.ZodNullable<z.ZodString>;
15463
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
14991
15464
  published_at: z.ZodISODateTime;
14992
15465
  purpose: z.ZodOptional<z.ZodEnum<{
14993
15466
  unknown: "unknown";
@@ -15045,16 +15518,44 @@ export declare const zVillageSessionListItem: z.ZodObject<{
15045
15518
  public: "public";
15046
15519
  }>;
15047
15520
  }, z.core.$strip>>>;
15521
+ owner: z.ZodUnion<readonly [z.ZodObject<{
15522
+ avatar_url: z.ZodNullable<z.ZodString>;
15523
+ display_name: z.ZodNullable<z.ZodString>;
15524
+ id: z.ZodUUID;
15525
+ kind: z.ZodLiteral<"profile">;
15526
+ username: z.ZodString;
15527
+ }, z.core.$strip>, z.ZodObject<{
15528
+ kind: z.ZodLiteral<"anonymous">;
15529
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
15530
+ kind: z.ZodString;
15531
+ }, z.core.$strip>, z.ZodTransform<{
15532
+ kind: "anonymous";
15533
+ }, {
15534
+ kind: string;
15535
+ }>>]>;
15048
15536
  pending: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15049
15537
  branch: z.ZodNullable<z.ZodString>;
15050
15538
  input_submission_count: z.ZodOptional<z.ZodInt>;
15051
15539
  local_id: z.ZodString;
15052
15540
  model_provider: z.ZodString;
15053
- owner_id: z.ZodUUID;
15054
- owner_is_discoverable: z.ZodBoolean;
15055
- owner_username: z.ZodString;
15541
+ owner: z.ZodUnion<readonly [z.ZodObject<{
15542
+ avatar_url: z.ZodNullable<z.ZodString>;
15543
+ display_name: z.ZodNullable<z.ZodString>;
15544
+ id: z.ZodUUID;
15545
+ kind: z.ZodLiteral<"profile">;
15546
+ username: z.ZodString;
15547
+ }, z.core.$strip>, z.ZodObject<{
15548
+ kind: z.ZodLiteral<"anonymous">;
15549
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
15550
+ kind: z.ZodString;
15551
+ }, z.core.$strip>, z.ZodTransform<{
15552
+ kind: "anonymous";
15553
+ }, {
15554
+ kind: string;
15555
+ }>>]>;
15056
15556
  parent_session_id: z.ZodNullable<z.ZodString>;
15057
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
15557
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
15558
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
15058
15559
  project_name: z.ZodNullable<z.ZodString>;
15059
15560
  purpose: z.ZodOptional<z.ZodEnum<{
15060
15561
  unknown: "unknown";
@@ -15148,19 +15649,19 @@ export declare const zVillageSessionListItem: z.ZodObject<{
15148
15649
  partial: "partial";
15149
15650
  resolved: "resolved";
15150
15651
  }>>;
15151
- owner_id: z.ZodUUID;
15152
15652
  parent_session_id: z.ZodNullable<z.ZodString>;
15153
- project_display_name: z.ZodString;
15154
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
15653
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
15654
+ project_display_name: z.ZodNullable<z.ZodString>;
15655
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
15155
15656
  project_name: z.ZodNullable<z.ZodString>;
15156
- project_name_source: z.ZodEnum<{
15657
+ project_name_source: z.ZodNullable<z.ZodEnum<{
15157
15658
  path: "path";
15158
15659
  remote: "remote";
15159
15660
  override: "override";
15160
15661
  consented: "consented";
15161
15662
  privacy: "privacy";
15162
- }>;
15163
- project_remote_label: z.ZodString;
15663
+ }>>;
15664
+ project_remote_label: z.ZodNullable<z.ZodString>;
15164
15665
  published_at: z.ZodISODateTime;
15165
15666
  purpose: z.ZodOptional<z.ZodEnum<{
15166
15667
  unknown: "unknown";
@@ -15317,22 +15818,34 @@ export declare const zVillageHelperMembersPayload: z.ZodObject<{
15317
15818
  partial: "partial";
15318
15819
  resolved: "resolved";
15319
15820
  }>>;
15320
- owner_avatar_url: z.ZodNullable<z.ZodString>;
15321
- owner_id: z.ZodUUID;
15322
- owner_is_discoverable: z.ZodBoolean;
15323
- owner_username: z.ZodString;
15821
+ owner: z.ZodUnion<readonly [z.ZodObject<{
15822
+ avatar_url: z.ZodNullable<z.ZodString>;
15823
+ display_name: z.ZodNullable<z.ZodString>;
15824
+ id: z.ZodUUID;
15825
+ kind: z.ZodLiteral<"profile">;
15826
+ username: z.ZodString;
15827
+ }, z.core.$strip>, z.ZodObject<{
15828
+ kind: z.ZodLiteral<"anonymous">;
15829
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
15830
+ kind: z.ZodString;
15831
+ }, z.core.$strip>, z.ZodTransform<{
15832
+ kind: "anonymous";
15833
+ }, {
15834
+ kind: string;
15835
+ }>>]>;
15324
15836
  parent_session_id: z.ZodNullable<z.ZodString>;
15325
- project_display_name: z.ZodString;
15326
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
15837
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
15838
+ project_display_name: z.ZodNullable<z.ZodString>;
15839
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
15327
15840
  project_name: z.ZodNullable<z.ZodString>;
15328
- project_name_source: z.ZodEnum<{
15841
+ project_name_source: z.ZodNullable<z.ZodEnum<{
15329
15842
  path: "path";
15330
15843
  remote: "remote";
15331
15844
  override: "override";
15332
15845
  consented: "consented";
15333
15846
  privacy: "privacy";
15334
- }>;
15335
- project_remote_label: z.ZodString;
15847
+ }>>;
15848
+ project_remote_label: z.ZodNullable<z.ZodString>;
15336
15849
  published_at: z.ZodISODateTime;
15337
15850
  pull_requests: z.ZodObject<{
15338
15851
  count: z.ZodInt;
@@ -15488,8 +16001,23 @@ export declare const zVillageHelperMembersPayload: z.ZodObject<{
15488
16001
  local_id: z.ZodString;
15489
16002
  model_name: z.ZodNullable<z.ZodString>;
15490
16003
  model_provider: z.ZodString;
15491
- owner_id: z.ZodUUID;
16004
+ owner: z.ZodUnion<readonly [z.ZodObject<{
16005
+ avatar_url: z.ZodNullable<z.ZodString>;
16006
+ display_name: z.ZodNullable<z.ZodString>;
16007
+ id: z.ZodUUID;
16008
+ kind: z.ZodLiteral<"profile">;
16009
+ username: z.ZodString;
16010
+ }, z.core.$strip>, z.ZodObject<{
16011
+ kind: z.ZodLiteral<"anonymous">;
16012
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
16013
+ kind: z.ZodString;
16014
+ }, z.core.$strip>, z.ZodTransform<{
16015
+ kind: "anonymous";
16016
+ }, {
16017
+ kind: string;
16018
+ }>>]>;
15492
16019
  parent_session_id: z.ZodNullable<z.ZodString>;
16020
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
15493
16021
  published_at: z.ZodISODateTime;
15494
16022
  purpose: z.ZodOptional<z.ZodEnum<{
15495
16023
  unknown: "unknown";
@@ -15547,16 +16075,44 @@ export declare const zVillageHelperMembersPayload: z.ZodObject<{
15547
16075
  public: "public";
15548
16076
  }>;
15549
16077
  }, z.core.$strip>>>;
16078
+ owner: z.ZodUnion<readonly [z.ZodObject<{
16079
+ avatar_url: z.ZodNullable<z.ZodString>;
16080
+ display_name: z.ZodNullable<z.ZodString>;
16081
+ id: z.ZodUUID;
16082
+ kind: z.ZodLiteral<"profile">;
16083
+ username: z.ZodString;
16084
+ }, z.core.$strip>, z.ZodObject<{
16085
+ kind: z.ZodLiteral<"anonymous">;
16086
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
16087
+ kind: z.ZodString;
16088
+ }, z.core.$strip>, z.ZodTransform<{
16089
+ kind: "anonymous";
16090
+ }, {
16091
+ kind: string;
16092
+ }>>]>;
15550
16093
  pending: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15551
16094
  branch: z.ZodNullable<z.ZodString>;
15552
16095
  input_submission_count: z.ZodOptional<z.ZodInt>;
15553
16096
  local_id: z.ZodString;
15554
16097
  model_provider: z.ZodString;
15555
- owner_id: z.ZodUUID;
15556
- owner_is_discoverable: z.ZodBoolean;
15557
- owner_username: z.ZodString;
16098
+ owner: z.ZodUnion<readonly [z.ZodObject<{
16099
+ avatar_url: z.ZodNullable<z.ZodString>;
16100
+ display_name: z.ZodNullable<z.ZodString>;
16101
+ id: z.ZodUUID;
16102
+ kind: z.ZodLiteral<"profile">;
16103
+ username: z.ZodString;
16104
+ }, z.core.$strip>, z.ZodObject<{
16105
+ kind: z.ZodLiteral<"anonymous">;
16106
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
16107
+ kind: z.ZodString;
16108
+ }, z.core.$strip>, z.ZodTransform<{
16109
+ kind: "anonymous";
16110
+ }, {
16111
+ kind: string;
16112
+ }>>]>;
15558
16113
  parent_session_id: z.ZodNullable<z.ZodString>;
15559
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
16114
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
16115
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
15560
16116
  project_name: z.ZodNullable<z.ZodString>;
15561
16117
  purpose: z.ZodOptional<z.ZodEnum<{
15562
16118
  unknown: "unknown";
@@ -15650,19 +16206,19 @@ export declare const zVillageHelperMembersPayload: z.ZodObject<{
15650
16206
  partial: "partial";
15651
16207
  resolved: "resolved";
15652
16208
  }>>;
15653
- owner_id: z.ZodUUID;
15654
16209
  parent_session_id: z.ZodNullable<z.ZodString>;
15655
- project_display_name: z.ZodString;
15656
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
16210
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
16211
+ project_display_name: z.ZodNullable<z.ZodString>;
16212
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
15657
16213
  project_name: z.ZodNullable<z.ZodString>;
15658
- project_name_source: z.ZodEnum<{
16214
+ project_name_source: z.ZodNullable<z.ZodEnum<{
15659
16215
  path: "path";
15660
16216
  remote: "remote";
15661
16217
  override: "override";
15662
16218
  consented: "consented";
15663
16219
  privacy: "privacy";
15664
- }>;
15665
- project_remote_label: z.ZodString;
16220
+ }>>;
16221
+ project_remote_label: z.ZodNullable<z.ZodString>;
15666
16222
  published_at: z.ZodISODateTime;
15667
16223
  purpose: z.ZodOptional<z.ZodEnum<{
15668
16224
  unknown: "unknown";
@@ -15793,22 +16349,34 @@ export declare const zVillageHelperMembersPayload: z.ZodObject<{
15793
16349
  partial: "partial";
15794
16350
  resolved: "resolved";
15795
16351
  }>>;
15796
- owner_avatar_url: z.ZodNullable<z.ZodString>;
15797
- owner_id: z.ZodUUID;
15798
- owner_is_discoverable: z.ZodBoolean;
15799
- owner_username: z.ZodString;
16352
+ owner: z.ZodUnion<readonly [z.ZodObject<{
16353
+ avatar_url: z.ZodNullable<z.ZodString>;
16354
+ display_name: z.ZodNullable<z.ZodString>;
16355
+ id: z.ZodUUID;
16356
+ kind: z.ZodLiteral<"profile">;
16357
+ username: z.ZodString;
16358
+ }, z.core.$strip>, z.ZodObject<{
16359
+ kind: z.ZodLiteral<"anonymous">;
16360
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
16361
+ kind: z.ZodString;
16362
+ }, z.core.$strip>, z.ZodTransform<{
16363
+ kind: "anonymous";
16364
+ }, {
16365
+ kind: string;
16366
+ }>>]>;
15800
16367
  parent_session_id: z.ZodNullable<z.ZodString>;
15801
- project_display_name: z.ZodString;
15802
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
16368
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
16369
+ project_display_name: z.ZodNullable<z.ZodString>;
16370
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
15803
16371
  project_name: z.ZodNullable<z.ZodString>;
15804
- project_name_source: z.ZodEnum<{
16372
+ project_name_source: z.ZodNullable<z.ZodEnum<{
15805
16373
  path: "path";
15806
16374
  remote: "remote";
15807
16375
  override: "override";
15808
16376
  consented: "consented";
15809
16377
  privacy: "privacy";
15810
- }>;
15811
- project_remote_label: z.ZodString;
16378
+ }>>;
16379
+ project_remote_label: z.ZodNullable<z.ZodString>;
15812
16380
  published_at: z.ZodISODateTime;
15813
16381
  pull_requests: z.ZodObject<{
15814
16382
  count: z.ZodInt;
@@ -15964,8 +16532,23 @@ export declare const zVillageHelperMembersPayload: z.ZodObject<{
15964
16532
  local_id: z.ZodString;
15965
16533
  model_name: z.ZodNullable<z.ZodString>;
15966
16534
  model_provider: z.ZodString;
15967
- owner_id: z.ZodUUID;
16535
+ owner: z.ZodUnion<readonly [z.ZodObject<{
16536
+ avatar_url: z.ZodNullable<z.ZodString>;
16537
+ display_name: z.ZodNullable<z.ZodString>;
16538
+ id: z.ZodUUID;
16539
+ kind: z.ZodLiteral<"profile">;
16540
+ username: z.ZodString;
16541
+ }, z.core.$strip>, z.ZodObject<{
16542
+ kind: z.ZodLiteral<"anonymous">;
16543
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
16544
+ kind: z.ZodString;
16545
+ }, z.core.$strip>, z.ZodTransform<{
16546
+ kind: "anonymous";
16547
+ }, {
16548
+ kind: string;
16549
+ }>>]>;
15968
16550
  parent_session_id: z.ZodNullable<z.ZodString>;
16551
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
15969
16552
  published_at: z.ZodISODateTime;
15970
16553
  purpose: z.ZodOptional<z.ZodEnum<{
15971
16554
  unknown: "unknown";
@@ -16023,16 +16606,44 @@ export declare const zVillageHelperMembersPayload: z.ZodObject<{
16023
16606
  public: "public";
16024
16607
  }>;
16025
16608
  }, z.core.$strip>>>;
16609
+ owner: z.ZodUnion<readonly [z.ZodObject<{
16610
+ avatar_url: z.ZodNullable<z.ZodString>;
16611
+ display_name: z.ZodNullable<z.ZodString>;
16612
+ id: z.ZodUUID;
16613
+ kind: z.ZodLiteral<"profile">;
16614
+ username: z.ZodString;
16615
+ }, z.core.$strip>, z.ZodObject<{
16616
+ kind: z.ZodLiteral<"anonymous">;
16617
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
16618
+ kind: z.ZodString;
16619
+ }, z.core.$strip>, z.ZodTransform<{
16620
+ kind: "anonymous";
16621
+ }, {
16622
+ kind: string;
16623
+ }>>]>;
16026
16624
  pending: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16027
16625
  branch: z.ZodNullable<z.ZodString>;
16028
16626
  input_submission_count: z.ZodOptional<z.ZodInt>;
16029
16627
  local_id: z.ZodString;
16030
16628
  model_provider: z.ZodString;
16031
- owner_id: z.ZodUUID;
16032
- owner_is_discoverable: z.ZodBoolean;
16033
- owner_username: z.ZodString;
16629
+ owner: z.ZodUnion<readonly [z.ZodObject<{
16630
+ avatar_url: z.ZodNullable<z.ZodString>;
16631
+ display_name: z.ZodNullable<z.ZodString>;
16632
+ id: z.ZodUUID;
16633
+ kind: z.ZodLiteral<"profile">;
16634
+ username: z.ZodString;
16635
+ }, z.core.$strip>, z.ZodObject<{
16636
+ kind: z.ZodLiteral<"anonymous">;
16637
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
16638
+ kind: z.ZodString;
16639
+ }, z.core.$strip>, z.ZodTransform<{
16640
+ kind: "anonymous";
16641
+ }, {
16642
+ kind: string;
16643
+ }>>]>;
16034
16644
  parent_session_id: z.ZodNullable<z.ZodString>;
16035
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
16645
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
16646
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
16036
16647
  project_name: z.ZodNullable<z.ZodString>;
16037
16648
  purpose: z.ZodOptional<z.ZodEnum<{
16038
16649
  unknown: "unknown";
@@ -16126,19 +16737,19 @@ export declare const zVillageHelperMembersPayload: z.ZodObject<{
16126
16737
  partial: "partial";
16127
16738
  resolved: "resolved";
16128
16739
  }>>;
16129
- owner_id: z.ZodUUID;
16130
16740
  parent_session_id: z.ZodNullable<z.ZodString>;
16131
- project_display_name: z.ZodString;
16132
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
16741
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
16742
+ project_display_name: z.ZodNullable<z.ZodString>;
16743
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
16133
16744
  project_name: z.ZodNullable<z.ZodString>;
16134
- project_name_source: z.ZodEnum<{
16745
+ project_name_source: z.ZodNullable<z.ZodEnum<{
16135
16746
  path: "path";
16136
16747
  remote: "remote";
16137
16748
  override: "override";
16138
16749
  consented: "consented";
16139
16750
  privacy: "privacy";
16140
- }>;
16141
- project_remote_label: z.ZodString;
16751
+ }>>;
16752
+ project_remote_label: z.ZodNullable<z.ZodString>;
16142
16753
  published_at: z.ZodISODateTime;
16143
16754
  purpose: z.ZodOptional<z.ZodEnum<{
16144
16755
  unknown: "unknown";
@@ -16298,22 +16909,34 @@ export declare const zVillageSessionListPayload: z.ZodObject<{
16298
16909
  partial: "partial";
16299
16910
  resolved: "resolved";
16300
16911
  }>>;
16301
- owner_avatar_url: z.ZodNullable<z.ZodString>;
16302
- owner_id: z.ZodUUID;
16303
- owner_is_discoverable: z.ZodBoolean;
16304
- owner_username: z.ZodString;
16912
+ owner: z.ZodUnion<readonly [z.ZodObject<{
16913
+ avatar_url: z.ZodNullable<z.ZodString>;
16914
+ display_name: z.ZodNullable<z.ZodString>;
16915
+ id: z.ZodUUID;
16916
+ kind: z.ZodLiteral<"profile">;
16917
+ username: z.ZodString;
16918
+ }, z.core.$strip>, z.ZodObject<{
16919
+ kind: z.ZodLiteral<"anonymous">;
16920
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
16921
+ kind: z.ZodString;
16922
+ }, z.core.$strip>, z.ZodTransform<{
16923
+ kind: "anonymous";
16924
+ }, {
16925
+ kind: string;
16926
+ }>>]>;
16305
16927
  parent_session_id: z.ZodNullable<z.ZodString>;
16306
- project_display_name: z.ZodString;
16307
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
16928
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
16929
+ project_display_name: z.ZodNullable<z.ZodString>;
16930
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
16308
16931
  project_name: z.ZodNullable<z.ZodString>;
16309
- project_name_source: z.ZodEnum<{
16932
+ project_name_source: z.ZodNullable<z.ZodEnum<{
16310
16933
  path: "path";
16311
16934
  remote: "remote";
16312
16935
  override: "override";
16313
16936
  consented: "consented";
16314
16937
  privacy: "privacy";
16315
- }>;
16316
- project_remote_label: z.ZodString;
16938
+ }>>;
16939
+ project_remote_label: z.ZodNullable<z.ZodString>;
16317
16940
  published_at: z.ZodISODateTime;
16318
16941
  pull_requests: z.ZodObject<{
16319
16942
  count: z.ZodInt;
@@ -16469,8 +17092,23 @@ export declare const zVillageSessionListPayload: z.ZodObject<{
16469
17092
  local_id: z.ZodString;
16470
17093
  model_name: z.ZodNullable<z.ZodString>;
16471
17094
  model_provider: z.ZodString;
16472
- owner_id: z.ZodUUID;
17095
+ owner: z.ZodUnion<readonly [z.ZodObject<{
17096
+ avatar_url: z.ZodNullable<z.ZodString>;
17097
+ display_name: z.ZodNullable<z.ZodString>;
17098
+ id: z.ZodUUID;
17099
+ kind: z.ZodLiteral<"profile">;
17100
+ username: z.ZodString;
17101
+ }, z.core.$strip>, z.ZodObject<{
17102
+ kind: z.ZodLiteral<"anonymous">;
17103
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
17104
+ kind: z.ZodString;
17105
+ }, z.core.$strip>, z.ZodTransform<{
17106
+ kind: "anonymous";
17107
+ }, {
17108
+ kind: string;
17109
+ }>>]>;
16473
17110
  parent_session_id: z.ZodNullable<z.ZodString>;
17111
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
16474
17112
  published_at: z.ZodISODateTime;
16475
17113
  purpose: z.ZodOptional<z.ZodEnum<{
16476
17114
  unknown: "unknown";
@@ -16528,16 +17166,44 @@ export declare const zVillageSessionListPayload: z.ZodObject<{
16528
17166
  public: "public";
16529
17167
  }>;
16530
17168
  }, z.core.$strip>>>;
17169
+ owner: z.ZodUnion<readonly [z.ZodObject<{
17170
+ avatar_url: z.ZodNullable<z.ZodString>;
17171
+ display_name: z.ZodNullable<z.ZodString>;
17172
+ id: z.ZodUUID;
17173
+ kind: z.ZodLiteral<"profile">;
17174
+ username: z.ZodString;
17175
+ }, z.core.$strip>, z.ZodObject<{
17176
+ kind: z.ZodLiteral<"anonymous">;
17177
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
17178
+ kind: z.ZodString;
17179
+ }, z.core.$strip>, z.ZodTransform<{
17180
+ kind: "anonymous";
17181
+ }, {
17182
+ kind: string;
17183
+ }>>]>;
16531
17184
  pending: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16532
17185
  branch: z.ZodNullable<z.ZodString>;
16533
17186
  input_submission_count: z.ZodOptional<z.ZodInt>;
16534
17187
  local_id: z.ZodString;
16535
17188
  model_provider: z.ZodString;
16536
- owner_id: z.ZodUUID;
16537
- owner_is_discoverable: z.ZodBoolean;
16538
- owner_username: z.ZodString;
17189
+ owner: z.ZodUnion<readonly [z.ZodObject<{
17190
+ avatar_url: z.ZodNullable<z.ZodString>;
17191
+ display_name: z.ZodNullable<z.ZodString>;
17192
+ id: z.ZodUUID;
17193
+ kind: z.ZodLiteral<"profile">;
17194
+ username: z.ZodString;
17195
+ }, z.core.$strip>, z.ZodObject<{
17196
+ kind: z.ZodLiteral<"anonymous">;
17197
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
17198
+ kind: z.ZodString;
17199
+ }, z.core.$strip>, z.ZodTransform<{
17200
+ kind: "anonymous";
17201
+ }, {
17202
+ kind: string;
17203
+ }>>]>;
16539
17204
  parent_session_id: z.ZodNullable<z.ZodString>;
16540
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
17205
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
17206
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
16541
17207
  project_name: z.ZodNullable<z.ZodString>;
16542
17208
  purpose: z.ZodOptional<z.ZodEnum<{
16543
17209
  unknown: "unknown";
@@ -16631,19 +17297,19 @@ export declare const zVillageSessionListPayload: z.ZodObject<{
16631
17297
  partial: "partial";
16632
17298
  resolved: "resolved";
16633
17299
  }>>;
16634
- owner_id: z.ZodUUID;
16635
17300
  parent_session_id: z.ZodNullable<z.ZodString>;
16636
- project_display_name: z.ZodString;
16637
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
17301
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
17302
+ project_display_name: z.ZodNullable<z.ZodString>;
17303
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
16638
17304
  project_name: z.ZodNullable<z.ZodString>;
16639
- project_name_source: z.ZodEnum<{
17305
+ project_name_source: z.ZodNullable<z.ZodEnum<{
16640
17306
  path: "path";
16641
17307
  remote: "remote";
16642
17308
  override: "override";
16643
17309
  consented: "consented";
16644
17310
  privacy: "privacy";
16645
- }>;
16646
- project_remote_label: z.ZodString;
17311
+ }>>;
17312
+ project_remote_label: z.ZodNullable<z.ZodString>;
16647
17313
  published_at: z.ZodISODateTime;
16648
17314
  purpose: z.ZodOptional<z.ZodEnum<{
16649
17315
  unknown: "unknown";
@@ -16812,22 +17478,34 @@ export declare const zVillageDeprecatedGroupedContributableResponse: z.ZodObject
16812
17478
  partial: "partial";
16813
17479
  resolved: "resolved";
16814
17480
  }>>;
16815
- owner_avatar_url: z.ZodNullable<z.ZodString>;
16816
- owner_id: z.ZodUUID;
16817
- owner_is_discoverable: z.ZodBoolean;
16818
- owner_username: z.ZodString;
17481
+ owner: z.ZodUnion<readonly [z.ZodObject<{
17482
+ avatar_url: z.ZodNullable<z.ZodString>;
17483
+ display_name: z.ZodNullable<z.ZodString>;
17484
+ id: z.ZodUUID;
17485
+ kind: z.ZodLiteral<"profile">;
17486
+ username: z.ZodString;
17487
+ }, z.core.$strip>, z.ZodObject<{
17488
+ kind: z.ZodLiteral<"anonymous">;
17489
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
17490
+ kind: z.ZodString;
17491
+ }, z.core.$strip>, z.ZodTransform<{
17492
+ kind: "anonymous";
17493
+ }, {
17494
+ kind: string;
17495
+ }>>]>;
16819
17496
  parent_session_id: z.ZodNullable<z.ZodString>;
16820
- project_display_name: z.ZodString;
16821
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
17497
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
17498
+ project_display_name: z.ZodNullable<z.ZodString>;
17499
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
16822
17500
  project_name: z.ZodNullable<z.ZodString>;
16823
- project_name_source: z.ZodEnum<{
17501
+ project_name_source: z.ZodNullable<z.ZodEnum<{
16824
17502
  path: "path";
16825
17503
  remote: "remote";
16826
17504
  override: "override";
16827
17505
  consented: "consented";
16828
17506
  privacy: "privacy";
16829
- }>;
16830
- project_remote_label: z.ZodString;
17507
+ }>>;
17508
+ project_remote_label: z.ZodNullable<z.ZodString>;
16831
17509
  published_at: z.ZodISODateTime;
16832
17510
  pull_requests: z.ZodObject<{
16833
17511
  count: z.ZodInt;
@@ -16983,8 +17661,23 @@ export declare const zVillageDeprecatedGroupedContributableResponse: z.ZodObject
16983
17661
  local_id: z.ZodString;
16984
17662
  model_name: z.ZodNullable<z.ZodString>;
16985
17663
  model_provider: z.ZodString;
16986
- owner_id: z.ZodUUID;
17664
+ owner: z.ZodUnion<readonly [z.ZodObject<{
17665
+ avatar_url: z.ZodNullable<z.ZodString>;
17666
+ display_name: z.ZodNullable<z.ZodString>;
17667
+ id: z.ZodUUID;
17668
+ kind: z.ZodLiteral<"profile">;
17669
+ username: z.ZodString;
17670
+ }, z.core.$strip>, z.ZodObject<{
17671
+ kind: z.ZodLiteral<"anonymous">;
17672
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
17673
+ kind: z.ZodString;
17674
+ }, z.core.$strip>, z.ZodTransform<{
17675
+ kind: "anonymous";
17676
+ }, {
17677
+ kind: string;
17678
+ }>>]>;
16987
17679
  parent_session_id: z.ZodNullable<z.ZodString>;
17680
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
16988
17681
  published_at: z.ZodISODateTime;
16989
17682
  purpose: z.ZodOptional<z.ZodEnum<{
16990
17683
  unknown: "unknown";
@@ -17042,16 +17735,44 @@ export declare const zVillageDeprecatedGroupedContributableResponse: z.ZodObject
17042
17735
  public: "public";
17043
17736
  }>;
17044
17737
  }, z.core.$strip>>>;
17738
+ owner: z.ZodUnion<readonly [z.ZodObject<{
17739
+ avatar_url: z.ZodNullable<z.ZodString>;
17740
+ display_name: z.ZodNullable<z.ZodString>;
17741
+ id: z.ZodUUID;
17742
+ kind: z.ZodLiteral<"profile">;
17743
+ username: z.ZodString;
17744
+ }, z.core.$strip>, z.ZodObject<{
17745
+ kind: z.ZodLiteral<"anonymous">;
17746
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
17747
+ kind: z.ZodString;
17748
+ }, z.core.$strip>, z.ZodTransform<{
17749
+ kind: "anonymous";
17750
+ }, {
17751
+ kind: string;
17752
+ }>>]>;
17045
17753
  pending: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17046
17754
  branch: z.ZodNullable<z.ZodString>;
17047
17755
  input_submission_count: z.ZodOptional<z.ZodInt>;
17048
17756
  local_id: z.ZodString;
17049
17757
  model_provider: z.ZodString;
17050
- owner_id: z.ZodUUID;
17051
- owner_is_discoverable: z.ZodBoolean;
17052
- owner_username: z.ZodString;
17758
+ owner: z.ZodUnion<readonly [z.ZodObject<{
17759
+ avatar_url: z.ZodNullable<z.ZodString>;
17760
+ display_name: z.ZodNullable<z.ZodString>;
17761
+ id: z.ZodUUID;
17762
+ kind: z.ZodLiteral<"profile">;
17763
+ username: z.ZodString;
17764
+ }, z.core.$strip>, z.ZodObject<{
17765
+ kind: z.ZodLiteral<"anonymous">;
17766
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
17767
+ kind: z.ZodString;
17768
+ }, z.core.$strip>, z.ZodTransform<{
17769
+ kind: "anonymous";
17770
+ }, {
17771
+ kind: string;
17772
+ }>>]>;
17053
17773
  parent_session_id: z.ZodNullable<z.ZodString>;
17054
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
17774
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
17775
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
17055
17776
  project_name: z.ZodNullable<z.ZodString>;
17056
17777
  purpose: z.ZodOptional<z.ZodEnum<{
17057
17778
  unknown: "unknown";
@@ -17145,19 +17866,19 @@ export declare const zVillageDeprecatedGroupedContributableResponse: z.ZodObject
17145
17866
  partial: "partial";
17146
17867
  resolved: "resolved";
17147
17868
  }>>;
17148
- owner_id: z.ZodUUID;
17149
17869
  parent_session_id: z.ZodNullable<z.ZodString>;
17150
- project_display_name: z.ZodString;
17151
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
17870
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
17871
+ project_display_name: z.ZodNullable<z.ZodString>;
17872
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
17152
17873
  project_name: z.ZodNullable<z.ZodString>;
17153
- project_name_source: z.ZodEnum<{
17874
+ project_name_source: z.ZodNullable<z.ZodEnum<{
17154
17875
  path: "path";
17155
17876
  remote: "remote";
17156
17877
  override: "override";
17157
17878
  consented: "consented";
17158
17879
  privacy: "privacy";
17159
- }>;
17160
- project_remote_label: z.ZodString;
17880
+ }>>;
17881
+ project_remote_label: z.ZodNullable<z.ZodString>;
17161
17882
  published_at: z.ZodISODateTime;
17162
17883
  purpose: z.ZodOptional<z.ZodEnum<{
17163
17884
  unknown: "unknown";
@@ -17243,9 +17964,21 @@ export type VillageDeprecatedGroupedContributableResponse = z.infer<typeof zVill
17243
17964
  export declare const zVillageGroupedCollectiveDetailResponse: z.ZodObject<{
17244
17965
  can_read: z.ZodBoolean;
17245
17966
  contributors: z.ZodArray<z.ZodObject<{
17246
- avatar_url: z.ZodNullable<z.ZodString>;
17247
- github_username: z.ZodString;
17248
- id: z.ZodUUID;
17967
+ contributor: z.ZodUnion<readonly [z.ZodObject<{
17968
+ avatar_url: z.ZodNullable<z.ZodString>;
17969
+ display_name: z.ZodNullable<z.ZodString>;
17970
+ id: z.ZodUUID;
17971
+ kind: z.ZodLiteral<"profile">;
17972
+ username: z.ZodString;
17973
+ }, z.core.$strip>, z.ZodObject<{
17974
+ kind: z.ZodLiteral<"anonymous">;
17975
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
17976
+ kind: z.ZodString;
17977
+ }, z.core.$strip>, z.ZodTransform<{
17978
+ kind: "anonymous";
17979
+ }, {
17980
+ kind: string;
17981
+ }>>]>;
17249
17982
  transcript_count: z.ZodInt;
17250
17983
  }, z.core.$strip>>;
17251
17984
  group: z.ZodObject<{
@@ -17255,7 +17988,21 @@ export declare const zVillageGroupedCollectiveDetailResponse: z.ZodObject<{
17255
17988
  curated: "curated";
17256
17989
  }>;
17257
17990
  created_at: z.ZodISODateTime;
17258
- created_by: z.ZodUUID;
17991
+ creator: z.ZodUnion<readonly [z.ZodObject<{
17992
+ avatar_url: z.ZodNullable<z.ZodString>;
17993
+ display_name: z.ZodNullable<z.ZodString>;
17994
+ id: z.ZodUUID;
17995
+ kind: z.ZodLiteral<"profile">;
17996
+ username: z.ZodString;
17997
+ }, z.core.$strip>, z.ZodObject<{
17998
+ kind: z.ZodLiteral<"anonymous">;
17999
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
18000
+ kind: z.ZodString;
18001
+ }, z.core.$strip>, z.ZodTransform<{
18002
+ kind: "anonymous";
18003
+ }, {
18004
+ kind: string;
18005
+ }>>]>;
17259
18006
  data_access: z.ZodEnum<{
17260
18007
  public: "public";
17261
18008
  members_only: "members_only";
@@ -17278,12 +18025,23 @@ export declare const zVillageGroupedCollectiveDetailResponse: z.ZodObject<{
17278
18025
  updated_at: z.ZodISODateTime;
17279
18026
  }, z.core.$strip>;
17280
18027
  members: z.ZodArray<z.ZodObject<{
17281
- avatar_url: z.ZodNullable<z.ZodString>;
17282
- display_name: z.ZodNullable<z.ZodString>;
17283
18028
  github_orgs: z.ZodArray<z.ZodString>;
17284
- github_username: z.ZodString;
17285
- id: z.ZodUUID;
17286
18029
  joined_at: z.ZodISODateTime;
18030
+ member: z.ZodUnion<readonly [z.ZodObject<{
18031
+ avatar_url: z.ZodNullable<z.ZodString>;
18032
+ display_name: z.ZodNullable<z.ZodString>;
18033
+ id: z.ZodUUID;
18034
+ kind: z.ZodLiteral<"profile">;
18035
+ username: z.ZodString;
18036
+ }, z.core.$strip>, z.ZodObject<{
18037
+ kind: z.ZodLiteral<"anonymous">;
18038
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
18039
+ kind: z.ZodString;
18040
+ }, z.core.$strip>, z.ZodTransform<{
18041
+ kind: "anonymous";
18042
+ }, {
18043
+ kind: string;
18044
+ }>>]>;
17287
18045
  role: z.ZodEnum<{
17288
18046
  pending: "pending";
17289
18047
  owner: "owner";
@@ -17296,12 +18054,23 @@ export declare const zVillageGroupedCollectiveDetailResponse: z.ZodObject<{
17296
18054
  transcript_count: z.ZodInt;
17297
18055
  }, z.core.$strip>>;
17298
18056
  pending_members: z.ZodOptional<z.ZodArray<z.ZodObject<{
17299
- avatar_url: z.ZodNullable<z.ZodString>;
17300
- display_name: z.ZodNullable<z.ZodString>;
17301
18057
  github_orgs: z.ZodArray<z.ZodString>;
17302
- github_username: z.ZodString;
17303
- id: z.ZodUUID;
17304
18058
  joined_at: z.ZodISODateTime;
18059
+ member: z.ZodUnion<readonly [z.ZodObject<{
18060
+ avatar_url: z.ZodNullable<z.ZodString>;
18061
+ display_name: z.ZodNullable<z.ZodString>;
18062
+ id: z.ZodUUID;
18063
+ kind: z.ZodLiteral<"profile">;
18064
+ username: z.ZodString;
18065
+ }, z.core.$strip>, z.ZodObject<{
18066
+ kind: z.ZodLiteral<"anonymous">;
18067
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
18068
+ kind: z.ZodString;
18069
+ }, z.core.$strip>, z.ZodTransform<{
18070
+ kind: "anonymous";
18071
+ }, {
18072
+ kind: string;
18073
+ }>>]>;
17305
18074
  role: z.ZodEnum<{
17306
18075
  pending: "pending";
17307
18076
  owner: "owner";
@@ -17397,22 +18166,34 @@ export declare const zVillageGroupedCollectiveDetailResponse: z.ZodObject<{
17397
18166
  partial: "partial";
17398
18167
  resolved: "resolved";
17399
18168
  }>>;
17400
- owner_avatar_url: z.ZodNullable<z.ZodString>;
17401
- owner_id: z.ZodUUID;
17402
- owner_is_discoverable: z.ZodBoolean;
17403
- owner_username: z.ZodString;
18169
+ owner: z.ZodUnion<readonly [z.ZodObject<{
18170
+ avatar_url: z.ZodNullable<z.ZodString>;
18171
+ display_name: z.ZodNullable<z.ZodString>;
18172
+ id: z.ZodUUID;
18173
+ kind: z.ZodLiteral<"profile">;
18174
+ username: z.ZodString;
18175
+ }, z.core.$strip>, z.ZodObject<{
18176
+ kind: z.ZodLiteral<"anonymous">;
18177
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
18178
+ kind: z.ZodString;
18179
+ }, z.core.$strip>, z.ZodTransform<{
18180
+ kind: "anonymous";
18181
+ }, {
18182
+ kind: string;
18183
+ }>>]>;
17404
18184
  parent_session_id: z.ZodNullable<z.ZodString>;
17405
- project_display_name: z.ZodString;
17406
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
18185
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
18186
+ project_display_name: z.ZodNullable<z.ZodString>;
18187
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
17407
18188
  project_name: z.ZodNullable<z.ZodString>;
17408
- project_name_source: z.ZodEnum<{
18189
+ project_name_source: z.ZodNullable<z.ZodEnum<{
17409
18190
  path: "path";
17410
18191
  remote: "remote";
17411
18192
  override: "override";
17412
18193
  consented: "consented";
17413
18194
  privacy: "privacy";
17414
- }>;
17415
- project_remote_label: z.ZodString;
18195
+ }>>;
18196
+ project_remote_label: z.ZodNullable<z.ZodString>;
17416
18197
  published_at: z.ZodISODateTime;
17417
18198
  pull_requests: z.ZodObject<{
17418
18199
  count: z.ZodInt;
@@ -17568,8 +18349,23 @@ export declare const zVillageGroupedCollectiveDetailResponse: z.ZodObject<{
17568
18349
  local_id: z.ZodString;
17569
18350
  model_name: z.ZodNullable<z.ZodString>;
17570
18351
  model_provider: z.ZodString;
17571
- owner_id: z.ZodUUID;
18352
+ owner: z.ZodUnion<readonly [z.ZodObject<{
18353
+ avatar_url: z.ZodNullable<z.ZodString>;
18354
+ display_name: z.ZodNullable<z.ZodString>;
18355
+ id: z.ZodUUID;
18356
+ kind: z.ZodLiteral<"profile">;
18357
+ username: z.ZodString;
18358
+ }, z.core.$strip>, z.ZodObject<{
18359
+ kind: z.ZodLiteral<"anonymous">;
18360
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
18361
+ kind: z.ZodString;
18362
+ }, z.core.$strip>, z.ZodTransform<{
18363
+ kind: "anonymous";
18364
+ }, {
18365
+ kind: string;
18366
+ }>>]>;
17572
18367
  parent_session_id: z.ZodNullable<z.ZodString>;
18368
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
17573
18369
  published_at: z.ZodISODateTime;
17574
18370
  purpose: z.ZodOptional<z.ZodEnum<{
17575
18371
  unknown: "unknown";
@@ -17627,16 +18423,44 @@ export declare const zVillageGroupedCollectiveDetailResponse: z.ZodObject<{
17627
18423
  public: "public";
17628
18424
  }>;
17629
18425
  }, z.core.$strip>>>;
18426
+ owner: z.ZodUnion<readonly [z.ZodObject<{
18427
+ avatar_url: z.ZodNullable<z.ZodString>;
18428
+ display_name: z.ZodNullable<z.ZodString>;
18429
+ id: z.ZodUUID;
18430
+ kind: z.ZodLiteral<"profile">;
18431
+ username: z.ZodString;
18432
+ }, z.core.$strip>, z.ZodObject<{
18433
+ kind: z.ZodLiteral<"anonymous">;
18434
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
18435
+ kind: z.ZodString;
18436
+ }, z.core.$strip>, z.ZodTransform<{
18437
+ kind: "anonymous";
18438
+ }, {
18439
+ kind: string;
18440
+ }>>]>;
17630
18441
  pending: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17631
18442
  branch: z.ZodNullable<z.ZodString>;
17632
18443
  input_submission_count: z.ZodOptional<z.ZodInt>;
17633
18444
  local_id: z.ZodString;
17634
18445
  model_provider: z.ZodString;
17635
- owner_id: z.ZodUUID;
17636
- owner_is_discoverable: z.ZodBoolean;
17637
- owner_username: z.ZodString;
18446
+ owner: z.ZodUnion<readonly [z.ZodObject<{
18447
+ avatar_url: z.ZodNullable<z.ZodString>;
18448
+ display_name: z.ZodNullable<z.ZodString>;
18449
+ id: z.ZodUUID;
18450
+ kind: z.ZodLiteral<"profile">;
18451
+ username: z.ZodString;
18452
+ }, z.core.$strip>, z.ZodObject<{
18453
+ kind: z.ZodLiteral<"anonymous">;
18454
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
18455
+ kind: z.ZodString;
18456
+ }, z.core.$strip>, z.ZodTransform<{
18457
+ kind: "anonymous";
18458
+ }, {
18459
+ kind: string;
18460
+ }>>]>;
17638
18461
  parent_session_id: z.ZodNullable<z.ZodString>;
17639
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
18462
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
18463
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
17640
18464
  project_name: z.ZodNullable<z.ZodString>;
17641
18465
  purpose: z.ZodOptional<z.ZodEnum<{
17642
18466
  unknown: "unknown";
@@ -17730,19 +18554,19 @@ export declare const zVillageGroupedCollectiveDetailResponse: z.ZodObject<{
17730
18554
  partial: "partial";
17731
18555
  resolved: "resolved";
17732
18556
  }>>;
17733
- owner_id: z.ZodUUID;
17734
18557
  parent_session_id: z.ZodNullable<z.ZodString>;
17735
- project_display_name: z.ZodString;
17736
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
18558
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
18559
+ project_display_name: z.ZodNullable<z.ZodString>;
18560
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
17737
18561
  project_name: z.ZodNullable<z.ZodString>;
17738
- project_name_source: z.ZodEnum<{
18562
+ project_name_source: z.ZodNullable<z.ZodEnum<{
17739
18563
  path: "path";
17740
18564
  remote: "remote";
17741
18565
  override: "override";
17742
18566
  consented: "consented";
17743
18567
  privacy: "privacy";
17744
- }>;
17745
- project_remote_label: z.ZodString;
18568
+ }>>;
18569
+ project_remote_label: z.ZodNullable<z.ZodString>;
17746
18570
  published_at: z.ZodISODateTime;
17747
18571
  purpose: z.ZodOptional<z.ZodEnum<{
17748
18572
  unknown: "unknown";
@@ -17914,22 +18738,34 @@ export declare const zVillageGroupedContributableResponse: z.ZodObject<{
17914
18738
  partial: "partial";
17915
18739
  resolved: "resolved";
17916
18740
  }>>;
17917
- owner_avatar_url: z.ZodNullable<z.ZodString>;
17918
- owner_id: z.ZodUUID;
17919
- owner_is_discoverable: z.ZodBoolean;
17920
- owner_username: z.ZodString;
18741
+ owner: z.ZodUnion<readonly [z.ZodObject<{
18742
+ avatar_url: z.ZodNullable<z.ZodString>;
18743
+ display_name: z.ZodNullable<z.ZodString>;
18744
+ id: z.ZodUUID;
18745
+ kind: z.ZodLiteral<"profile">;
18746
+ username: z.ZodString;
18747
+ }, z.core.$strip>, z.ZodObject<{
18748
+ kind: z.ZodLiteral<"anonymous">;
18749
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
18750
+ kind: z.ZodString;
18751
+ }, z.core.$strip>, z.ZodTransform<{
18752
+ kind: "anonymous";
18753
+ }, {
18754
+ kind: string;
18755
+ }>>]>;
17921
18756
  parent_session_id: z.ZodNullable<z.ZodString>;
17922
- project_display_name: z.ZodString;
17923
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
18757
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
18758
+ project_display_name: z.ZodNullable<z.ZodString>;
18759
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
17924
18760
  project_name: z.ZodNullable<z.ZodString>;
17925
- project_name_source: z.ZodEnum<{
18761
+ project_name_source: z.ZodNullable<z.ZodEnum<{
17926
18762
  path: "path";
17927
18763
  remote: "remote";
17928
18764
  override: "override";
17929
18765
  consented: "consented";
17930
18766
  privacy: "privacy";
17931
- }>;
17932
- project_remote_label: z.ZodString;
18767
+ }>>;
18768
+ project_remote_label: z.ZodNullable<z.ZodString>;
17933
18769
  published_at: z.ZodISODateTime;
17934
18770
  pull_requests: z.ZodObject<{
17935
18771
  count: z.ZodInt;
@@ -18085,8 +18921,23 @@ export declare const zVillageGroupedContributableResponse: z.ZodObject<{
18085
18921
  local_id: z.ZodString;
18086
18922
  model_name: z.ZodNullable<z.ZodString>;
18087
18923
  model_provider: z.ZodString;
18088
- owner_id: z.ZodUUID;
18924
+ owner: z.ZodUnion<readonly [z.ZodObject<{
18925
+ avatar_url: z.ZodNullable<z.ZodString>;
18926
+ display_name: z.ZodNullable<z.ZodString>;
18927
+ id: z.ZodUUID;
18928
+ kind: z.ZodLiteral<"profile">;
18929
+ username: z.ZodString;
18930
+ }, z.core.$strip>, z.ZodObject<{
18931
+ kind: z.ZodLiteral<"anonymous">;
18932
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
18933
+ kind: z.ZodString;
18934
+ }, z.core.$strip>, z.ZodTransform<{
18935
+ kind: "anonymous";
18936
+ }, {
18937
+ kind: string;
18938
+ }>>]>;
18089
18939
  parent_session_id: z.ZodNullable<z.ZodString>;
18940
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
18090
18941
  published_at: z.ZodISODateTime;
18091
18942
  purpose: z.ZodOptional<z.ZodEnum<{
18092
18943
  unknown: "unknown";
@@ -18144,16 +18995,44 @@ export declare const zVillageGroupedContributableResponse: z.ZodObject<{
18144
18995
  public: "public";
18145
18996
  }>;
18146
18997
  }, z.core.$strip>>>;
18998
+ owner: z.ZodUnion<readonly [z.ZodObject<{
18999
+ avatar_url: z.ZodNullable<z.ZodString>;
19000
+ display_name: z.ZodNullable<z.ZodString>;
19001
+ id: z.ZodUUID;
19002
+ kind: z.ZodLiteral<"profile">;
19003
+ username: z.ZodString;
19004
+ }, z.core.$strip>, z.ZodObject<{
19005
+ kind: z.ZodLiteral<"anonymous">;
19006
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
19007
+ kind: z.ZodString;
19008
+ }, z.core.$strip>, z.ZodTransform<{
19009
+ kind: "anonymous";
19010
+ }, {
19011
+ kind: string;
19012
+ }>>]>;
18147
19013
  pending: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18148
19014
  branch: z.ZodNullable<z.ZodString>;
18149
19015
  input_submission_count: z.ZodOptional<z.ZodInt>;
18150
19016
  local_id: z.ZodString;
18151
19017
  model_provider: z.ZodString;
18152
- owner_id: z.ZodUUID;
18153
- owner_is_discoverable: z.ZodBoolean;
18154
- owner_username: z.ZodString;
19018
+ owner: z.ZodUnion<readonly [z.ZodObject<{
19019
+ avatar_url: z.ZodNullable<z.ZodString>;
19020
+ display_name: z.ZodNullable<z.ZodString>;
19021
+ id: z.ZodUUID;
19022
+ kind: z.ZodLiteral<"profile">;
19023
+ username: z.ZodString;
19024
+ }, z.core.$strip>, z.ZodObject<{
19025
+ kind: z.ZodLiteral<"anonymous">;
19026
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
19027
+ kind: z.ZodString;
19028
+ }, z.core.$strip>, z.ZodTransform<{
19029
+ kind: "anonymous";
19030
+ }, {
19031
+ kind: string;
19032
+ }>>]>;
18155
19033
  parent_session_id: z.ZodNullable<z.ZodString>;
18156
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
19034
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
19035
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
18157
19036
  project_name: z.ZodNullable<z.ZodString>;
18158
19037
  purpose: z.ZodOptional<z.ZodEnum<{
18159
19038
  unknown: "unknown";
@@ -18247,19 +19126,19 @@ export declare const zVillageGroupedContributableResponse: z.ZodObject<{
18247
19126
  partial: "partial";
18248
19127
  resolved: "resolved";
18249
19128
  }>>;
18250
- owner_id: z.ZodUUID;
18251
19129
  parent_session_id: z.ZodNullable<z.ZodString>;
18252
- project_display_name: z.ZodString;
18253
- project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
19130
+ parent_transcript_id: z.ZodNullable<z.ZodUUID>;
19131
+ project_display_name: z.ZodNullable<z.ZodString>;
19132
+ project_hash: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">>;
18254
19133
  project_name: z.ZodNullable<z.ZodString>;
18255
- project_name_source: z.ZodEnum<{
19134
+ project_name_source: z.ZodNullable<z.ZodEnum<{
18256
19135
  path: "path";
18257
19136
  remote: "remote";
18258
19137
  override: "override";
18259
19138
  consented: "consented";
18260
19139
  privacy: "privacy";
18261
- }>;
18262
- project_remote_label: z.ZodString;
19140
+ }>>;
19141
+ project_remote_label: z.ZodNullable<z.ZodString>;
18263
19142
  published_at: z.ZodISODateTime;
18264
19143
  purpose: z.ZodOptional<z.ZodEnum<{
18265
19144
  unknown: "unknown";
@@ -18362,7 +19241,21 @@ export declare const zVillageVisibleCollective: z.ZodObject<{
18362
19241
  curated: "curated";
18363
19242
  }>;
18364
19243
  created_at: z.ZodISODateTime;
18365
- created_by: z.ZodUUID;
19244
+ creator: z.ZodUnion<readonly [z.ZodObject<{
19245
+ avatar_url: z.ZodNullable<z.ZodString>;
19246
+ display_name: z.ZodNullable<z.ZodString>;
19247
+ id: z.ZodUUID;
19248
+ kind: z.ZodLiteral<"profile">;
19249
+ username: z.ZodString;
19250
+ }, z.core.$strip>, z.ZodObject<{
19251
+ kind: z.ZodLiteral<"anonymous">;
19252
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
19253
+ kind: z.ZodString;
19254
+ }, z.core.$strip>, z.ZodTransform<{
19255
+ kind: "anonymous";
19256
+ }, {
19257
+ kind: string;
19258
+ }>>]>;
18366
19259
  data_access: z.ZodEnum<{
18367
19260
  public: "public";
18368
19261
  members_only: "members_only";
@@ -18400,6 +19293,79 @@ export declare const zVisibility: z.ZodEnum<{
18400
19293
  group: "group";
18401
19294
  }>;
18402
19295
  export type Visibility = z.infer<typeof zVisibility>;
19296
+ export declare const zLegacyPullTranscriptInfo: z.ZodObject<{
19297
+ annotationCount: z.ZodInt;
19298
+ contentHash: z.ZodOptional<z.ZodString>;
19299
+ contractVersion: z.ZodOptional<z.ZodString>;
19300
+ harness: z.ZodOptional<z.ZodEnum<{
19301
+ strike: "strike";
19302
+ cursor: "cursor";
19303
+ "claude-code": "claude-code";
19304
+ "gemini-cli": "gemini-cli";
19305
+ codex: "codex";
19306
+ opencode: "opencode";
19307
+ antigravity: "antigravity";
19308
+ pi: "pi";
19309
+ }>>;
19310
+ license: z.ZodOptional<z.ZodEnum<{
19311
+ "CC0-1.0": "CC0-1.0";
19312
+ "CC-BY-4.0": "CC-BY-4.0";
19313
+ "CC-BY-SA-4.0": "CC-BY-SA-4.0";
19314
+ }>>;
19315
+ localId: z.ZodOptional<z.ZodString>;
19316
+ ownerUserId: z.ZodString;
19317
+ ownerUsername: z.ZodString;
19318
+ projectName: z.ZodOptional<z.ZodString>;
19319
+ publishedAt: z.ZodCoercedBigInt<unknown>;
19320
+ title: z.ZodOptional<z.ZodString>;
19321
+ transcriptId: z.ZodUUID;
19322
+ updatedAt: z.ZodCoercedBigInt<unknown>;
19323
+ visibility: z.ZodEnum<{
19324
+ private: "private";
19325
+ public: "public";
19326
+ group: "group";
19327
+ }>;
19328
+ }, z.core.$strip>;
19329
+ export type LegacyPullTranscriptInfo = z.infer<typeof zLegacyPullTranscriptInfo>;
19330
+ export declare const zLegacyPullListResponse: z.ZodObject<{
19331
+ limit: z.ZodInt;
19332
+ page: z.ZodInt;
19333
+ total: z.ZodInt;
19334
+ transcripts: z.ZodNullable<z.ZodArray<z.ZodObject<{
19335
+ annotationCount: z.ZodInt;
19336
+ contentHash: z.ZodOptional<z.ZodString>;
19337
+ contractVersion: z.ZodOptional<z.ZodString>;
19338
+ harness: z.ZodOptional<z.ZodEnum<{
19339
+ strike: "strike";
19340
+ cursor: "cursor";
19341
+ "claude-code": "claude-code";
19342
+ "gemini-cli": "gemini-cli";
19343
+ codex: "codex";
19344
+ opencode: "opencode";
19345
+ antigravity: "antigravity";
19346
+ pi: "pi";
19347
+ }>>;
19348
+ license: z.ZodOptional<z.ZodEnum<{
19349
+ "CC0-1.0": "CC0-1.0";
19350
+ "CC-BY-4.0": "CC-BY-4.0";
19351
+ "CC-BY-SA-4.0": "CC-BY-SA-4.0";
19352
+ }>>;
19353
+ localId: z.ZodOptional<z.ZodString>;
19354
+ ownerUserId: z.ZodString;
19355
+ ownerUsername: z.ZodString;
19356
+ projectName: z.ZodOptional<z.ZodString>;
19357
+ publishedAt: z.ZodCoercedBigInt<unknown>;
19358
+ title: z.ZodOptional<z.ZodString>;
19359
+ transcriptId: z.ZodUUID;
19360
+ updatedAt: z.ZodCoercedBigInt<unknown>;
19361
+ visibility: z.ZodEnum<{
19362
+ private: "private";
19363
+ public: "public";
19364
+ group: "group";
19365
+ }>;
19366
+ }, z.core.$strip>>>;
19367
+ }, z.core.$strip>;
19368
+ export type LegacyPullListResponse = z.infer<typeof zLegacyPullListResponse>;
18403
19369
  export declare const zPublishNormalizedValues: z.ZodObject<{
18404
19370
  derivedTitle: z.ZodNullable<z.ZodString>;
18405
19371
  entryHarnesses: z.ZodArray<z.ZodEnum<{
@@ -18548,9 +19514,22 @@ export declare const zPullTranscriptInfo: z.ZodObject<{
18548
19514
  "CC-BY-SA-4.0": "CC-BY-SA-4.0";
18549
19515
  }>>;
18550
19516
  localId: z.ZodOptional<z.ZodString>;
18551
- ownerUserId: z.ZodString;
18552
- ownerUsername: z.ZodString;
18553
- projectName: z.ZodOptional<z.ZodString>;
19517
+ owner: z.ZodUnion<readonly [z.ZodObject<{
19518
+ avatar_url: z.ZodNullable<z.ZodString>;
19519
+ display_name: z.ZodNullable<z.ZodString>;
19520
+ id: z.ZodUUID;
19521
+ kind: z.ZodLiteral<"profile">;
19522
+ username: z.ZodString;
19523
+ }, z.core.$strip>, z.ZodObject<{
19524
+ kind: z.ZodLiteral<"anonymous">;
19525
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
19526
+ kind: z.ZodString;
19527
+ }, z.core.$strip>, z.ZodTransform<{
19528
+ kind: "anonymous";
19529
+ }, {
19530
+ kind: string;
19531
+ }>>]>;
19532
+ projectName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18554
19533
  publishedAt: z.ZodCoercedBigInt<unknown>;
18555
19534
  title: z.ZodOptional<z.ZodString>;
18556
19535
  transcriptId: z.ZodUUID;
@@ -18586,9 +19565,22 @@ export declare const zPullListResponse: z.ZodObject<{
18586
19565
  "CC-BY-SA-4.0": "CC-BY-SA-4.0";
18587
19566
  }>>;
18588
19567
  localId: z.ZodOptional<z.ZodString>;
18589
- ownerUserId: z.ZodString;
18590
- ownerUsername: z.ZodString;
18591
- projectName: z.ZodOptional<z.ZodString>;
19568
+ owner: z.ZodUnion<readonly [z.ZodObject<{
19569
+ avatar_url: z.ZodNullable<z.ZodString>;
19570
+ display_name: z.ZodNullable<z.ZodString>;
19571
+ id: z.ZodUUID;
19572
+ kind: z.ZodLiteral<"profile">;
19573
+ username: z.ZodString;
19574
+ }, z.core.$strip>, z.ZodObject<{
19575
+ kind: z.ZodLiteral<"anonymous">;
19576
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
19577
+ kind: z.ZodString;
19578
+ }, z.core.$strip>, z.ZodTransform<{
19579
+ kind: "anonymous";
19580
+ }, {
19581
+ kind: string;
19582
+ }>>]>;
19583
+ projectName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18592
19584
  publishedAt: z.ZodCoercedBigInt<unknown>;
18593
19585
  title: z.ZodOptional<z.ZodString>;
18594
19586
  transcriptId: z.ZodUUID;