@peasant-labs/schema 0.1.2 → 0.1.3
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.
- package/dist/internal/generated/contract/zod.gen.d.ts +1047 -0
- package/dist/internal/generated/contract/zod.gen.js +555 -0
- package/dist/internal/generated/enums.gen.d.ts +112 -0
- package/dist/internal/generated/enums.gen.js +124 -0
- package/dist/internal/generated/public-contract.gen.d.ts +2 -2
- package/dist/internal/generated/public-contract.gen.js +1 -1
- package/dist/internal/generated/versions.gen.d.ts +2 -2
- package/dist/internal/generated/versions.gen.js +2 -2
- package/dist/internal/generated/village-api.d.ts +2471 -136
- package/package.json +4 -4
|
@@ -4115,6 +4115,1053 @@ export declare const zTaxonomyNode: z.ZodObject<{
|
|
|
4115
4115
|
}, z.core.$strip>>>;
|
|
4116
4116
|
}, z.core.$strip>;
|
|
4117
4117
|
export type TaxonomyNode = z.infer<typeof zTaxonomyNode>;
|
|
4118
|
+
/**
|
|
4119
|
+
* Village Assignable Group Role
|
|
4120
|
+
*
|
|
4121
|
+
* Collective roles an owner may assign through the member role endpoint
|
|
4122
|
+
*/
|
|
4123
|
+
export declare const zVillageAssignableGroupRole: z.ZodEnum<{
|
|
4124
|
+
contributor: "contributor";
|
|
4125
|
+
member: "member";
|
|
4126
|
+
}>;
|
|
4127
|
+
export type VillageAssignableGroupRole = z.infer<typeof zVillageAssignableGroupRole>;
|
|
4128
|
+
export declare const zVillageBatchReviewResponse: z.ZodObject<{
|
|
4129
|
+
already_decided: z.ZodArray<z.ZodUUID>;
|
|
4130
|
+
decided: z.ZodArray<z.ZodUUID>;
|
|
4131
|
+
}, z.core.$strip>;
|
|
4132
|
+
export type VillageBatchReviewResponse = z.infer<typeof zVillageBatchReviewResponse>;
|
|
4133
|
+
export declare const zVillageBatchShareRequest: z.ZodObject<{
|
|
4134
|
+
project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
4135
|
+
transcript_ids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
4136
|
+
visibility_confirmed: z.ZodBoolean;
|
|
4137
|
+
}, z.core.$strip>;
|
|
4138
|
+
export type VillageBatchShareRequest = z.infer<typeof zVillageBatchShareRequest>;
|
|
4139
|
+
/**
|
|
4140
|
+
* Village Contribution Status
|
|
4141
|
+
*
|
|
4142
|
+
* Status assigned when a new collective contribution is opened
|
|
4143
|
+
*/
|
|
4144
|
+
export declare const zVillageContributionStatus: z.ZodEnum<{
|
|
4145
|
+
pending: "pending";
|
|
4146
|
+
approved: "approved";
|
|
4147
|
+
}>;
|
|
4148
|
+
export type VillageContributionStatus = z.infer<typeof zVillageContributionStatus>;
|
|
4149
|
+
export declare const zVillageBatchShareEntry: z.ZodObject<{
|
|
4150
|
+
status: z.ZodEnum<{
|
|
4151
|
+
pending: "pending";
|
|
4152
|
+
approved: "approved";
|
|
4153
|
+
}>;
|
|
4154
|
+
transcript_id: z.ZodUUID;
|
|
4155
|
+
}, z.core.$strip>;
|
|
4156
|
+
export type VillageBatchShareEntry = z.infer<typeof zVillageBatchShareEntry>;
|
|
4157
|
+
export declare const zVillageBatchShareResponse: z.ZodObject<{
|
|
4158
|
+
already_shared: z.ZodArray<z.ZodUUID>;
|
|
4159
|
+
project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
4160
|
+
shared: z.ZodArray<z.ZodObject<{
|
|
4161
|
+
status: z.ZodEnum<{
|
|
4162
|
+
pending: "pending";
|
|
4163
|
+
approved: "approved";
|
|
4164
|
+
}>;
|
|
4165
|
+
transcript_id: z.ZodUUID;
|
|
4166
|
+
}, z.core.$strip>>;
|
|
4167
|
+
}, z.core.$strip>;
|
|
4168
|
+
export type VillageBatchShareResponse = z.infer<typeof zVillageBatchShareResponse>;
|
|
4169
|
+
export declare const zVillageErrorResponse: z.ZodObject<{
|
|
4170
|
+
error: z.ZodString;
|
|
4171
|
+
}, z.core.$strip>;
|
|
4172
|
+
export type VillageErrorResponse = z.infer<typeof zVillageErrorResponse>;
|
|
4173
|
+
/**
|
|
4174
|
+
* Village Group Acceptance Mode
|
|
4175
|
+
*
|
|
4176
|
+
* How a collective accepts new members and contributions
|
|
4177
|
+
*/
|
|
4178
|
+
export declare const zVillageGroupAcceptanceMode: z.ZodEnum<{
|
|
4179
|
+
open: "open";
|
|
4180
|
+
verified_only: "verified_only";
|
|
4181
|
+
curated: "curated";
|
|
4182
|
+
}>;
|
|
4183
|
+
export type VillageGroupAcceptanceMode = z.infer<typeof zVillageGroupAcceptanceMode>;
|
|
4184
|
+
/**
|
|
4185
|
+
* Village Group Data Access
|
|
4186
|
+
*
|
|
4187
|
+
* Who may read a collective's pooled transcript data
|
|
4188
|
+
*/
|
|
4189
|
+
export declare const zVillageGroupDataAccess: z.ZodEnum<{
|
|
4190
|
+
public: "public";
|
|
4191
|
+
members_only: "members_only";
|
|
4192
|
+
contributors: "contributors";
|
|
4193
|
+
}>;
|
|
4194
|
+
export type VillageGroupDataAccess = z.infer<typeof zVillageGroupDataAccess>;
|
|
4195
|
+
export declare const zVillageCreateGroupRequest: z.ZodObject<{
|
|
4196
|
+
acceptance_mode: z.ZodOptional<z.ZodEnum<{
|
|
4197
|
+
open: "open";
|
|
4198
|
+
verified_only: "verified_only";
|
|
4199
|
+
curated: "curated";
|
|
4200
|
+
}>>;
|
|
4201
|
+
data_access: z.ZodOptional<z.ZodEnum<{
|
|
4202
|
+
public: "public";
|
|
4203
|
+
members_only: "members_only";
|
|
4204
|
+
contributors: "contributors";
|
|
4205
|
+
}>>;
|
|
4206
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4207
|
+
linked_github_org: z.ZodOptional<z.ZodString>;
|
|
4208
|
+
name: z.ZodString;
|
|
4209
|
+
}, z.core.$strip>;
|
|
4210
|
+
export type VillageCreateGroupRequest = z.infer<typeof zVillageCreateGroupRequest>;
|
|
4211
|
+
export declare const zVillageGroupMemberRoleRequest: z.ZodObject<{
|
|
4212
|
+
role: z.ZodEnum<{
|
|
4213
|
+
contributor: "contributor";
|
|
4214
|
+
member: "member";
|
|
4215
|
+
}>;
|
|
4216
|
+
}, z.core.$strip>;
|
|
4217
|
+
export type VillageGroupMemberRoleRequest = z.infer<typeof zVillageGroupMemberRoleRequest>;
|
|
4218
|
+
export declare const zVillageGroupMemberUsernameRequest: z.ZodObject<{
|
|
4219
|
+
username: z.ZodString;
|
|
4220
|
+
}, z.core.$strip>;
|
|
4221
|
+
export type VillageGroupMemberUsernameRequest = z.infer<typeof zVillageGroupMemberUsernameRequest>;
|
|
4222
|
+
export declare const zVillageGroupModelBreakdown: z.ZodObject<{
|
|
4223
|
+
model_provider: z.ZodString;
|
|
4224
|
+
transcript_count: z.ZodInt;
|
|
4225
|
+
}, z.core.$strip>;
|
|
4226
|
+
export type VillageGroupModelBreakdown = z.infer<typeof zVillageGroupModelBreakdown>;
|
|
4227
|
+
/**
|
|
4228
|
+
* Village Group Role
|
|
4229
|
+
*
|
|
4230
|
+
* A user's role in one collective
|
|
4231
|
+
*/
|
|
4232
|
+
export declare const zVillageGroupRole: z.ZodEnum<{
|
|
4233
|
+
pending: "pending";
|
|
4234
|
+
contributor: "contributor";
|
|
4235
|
+
member: "member";
|
|
4236
|
+
owner: "owner";
|
|
4237
|
+
}>;
|
|
4238
|
+
export type VillageGroupRole = z.infer<typeof zVillageGroupRole>;
|
|
4239
|
+
export declare const zVillageGroupStatusRoleResponse: z.ZodObject<{
|
|
4240
|
+
role: z.ZodEnum<{
|
|
4241
|
+
pending: "pending";
|
|
4242
|
+
contributor: "contributor";
|
|
4243
|
+
member: "member";
|
|
4244
|
+
owner: "owner";
|
|
4245
|
+
}>;
|
|
4246
|
+
status: z.ZodString;
|
|
4247
|
+
}, z.core.$strip>;
|
|
4248
|
+
export type VillageGroupStatusRoleResponse = z.infer<typeof zVillageGroupStatusRoleResponse>;
|
|
4249
|
+
export declare const zVillageGroupTranscriptStats: z.ZodObject<{
|
|
4250
|
+
contributor_count: z.ZodInt;
|
|
4251
|
+
total_duration_ms: z.ZodCoercedBigInt<unknown>;
|
|
4252
|
+
total_tokens: z.ZodCoercedBigInt<unknown>;
|
|
4253
|
+
total_transcripts: z.ZodInt;
|
|
4254
|
+
total_turns: z.ZodCoercedBigInt<unknown>;
|
|
4255
|
+
}, z.core.$strip>;
|
|
4256
|
+
export type VillageGroupTranscriptStats = z.infer<typeof zVillageGroupTranscriptStats>;
|
|
4257
|
+
/**
|
|
4258
|
+
* Village Group Viewer Role
|
|
4259
|
+
*
|
|
4260
|
+
* The caller's role in a collective, or an empty string when the caller has none
|
|
4261
|
+
*/
|
|
4262
|
+
export declare const zVillageGroupViewerRole: z.ZodEnum<{
|
|
4263
|
+
"": "";
|
|
4264
|
+
pending: "pending";
|
|
4265
|
+
contributor: "contributor";
|
|
4266
|
+
member: "member";
|
|
4267
|
+
owner: "owner";
|
|
4268
|
+
}>;
|
|
4269
|
+
export type VillageGroupViewerRole = z.infer<typeof zVillageGroupViewerRole>;
|
|
4270
|
+
export declare const zVillageLinkRepositoryRequest: z.ZodObject<{
|
|
4271
|
+
installation_id: z.ZodCoercedBigInt<unknown>;
|
|
4272
|
+
name: z.ZodString;
|
|
4273
|
+
owner: z.ZodString;
|
|
4274
|
+
}, z.core.$strip>;
|
|
4275
|
+
export type VillageLinkRepositoryRequest = z.infer<typeof zVillageLinkRepositoryRequest>;
|
|
4276
|
+
/**
|
|
4277
|
+
* Village Project Name Source
|
|
4278
|
+
*
|
|
4279
|
+
* Which source tier produced a resolved project display name
|
|
4280
|
+
*/
|
|
4281
|
+
export declare const zVillageProjectNameSource: z.ZodEnum<{
|
|
4282
|
+
path: "path";
|
|
4283
|
+
override: "override";
|
|
4284
|
+
remote: "remote";
|
|
4285
|
+
consented: "consented";
|
|
4286
|
+
privacy: "privacy";
|
|
4287
|
+
}>;
|
|
4288
|
+
export type VillageProjectNameSource = z.infer<typeof zVillageProjectNameSource>;
|
|
4289
|
+
export declare const zVillageRemoveGroupMemberResponse: z.ZodObject<{
|
|
4290
|
+
retracted: z.ZodBoolean;
|
|
4291
|
+
status: z.ZodString;
|
|
4292
|
+
}, z.core.$strip>;
|
|
4293
|
+
export type VillageRemoveGroupMemberResponse = z.infer<typeof zVillageRemoveGroupMemberResponse>;
|
|
4294
|
+
export declare const zVillageRepositoryCommit: z.ZodObject<{
|
|
4295
|
+
author_email: z.ZodNullable<z.ZodString>;
|
|
4296
|
+
author_name: z.ZodNullable<z.ZodString>;
|
|
4297
|
+
authored_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4298
|
+
committed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4299
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4300
|
+
sha: z.ZodString;
|
|
4301
|
+
}, z.core.$strip>;
|
|
4302
|
+
export type VillageRepositoryCommit = z.infer<typeof zVillageRepositoryCommit>;
|
|
4303
|
+
export declare const zVillageRepositoryCommitsResponse: z.ZodObject<{
|
|
4304
|
+
commit_count: z.ZodInt;
|
|
4305
|
+
commits: z.ZodArray<z.ZodObject<{
|
|
4306
|
+
author_email: z.ZodNullable<z.ZodString>;
|
|
4307
|
+
author_name: z.ZodNullable<z.ZodString>;
|
|
4308
|
+
authored_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4309
|
+
committed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4310
|
+
message: z.ZodNullable<z.ZodString>;
|
|
4311
|
+
sha: z.ZodString;
|
|
4312
|
+
}, z.core.$strip>>;
|
|
4313
|
+
last_synced: z.ZodNullable<z.ZodISODateTime>;
|
|
4314
|
+
name: z.ZodString;
|
|
4315
|
+
owner: z.ZodString;
|
|
4316
|
+
refreshed: z.ZodBoolean;
|
|
4317
|
+
}, z.core.$strip>;
|
|
4318
|
+
export type VillageRepositoryCommitsResponse = z.infer<typeof zVillageRepositoryCommitsResponse>;
|
|
4319
|
+
/**
|
|
4320
|
+
* Village Review Decision
|
|
4321
|
+
*
|
|
4322
|
+
* Decision applied by a collective owner to pending submissions
|
|
4323
|
+
*/
|
|
4324
|
+
export declare const zVillageReviewDecision: z.ZodEnum<{
|
|
4325
|
+
rejected: "rejected";
|
|
4326
|
+
approved: "approved";
|
|
4327
|
+
}>;
|
|
4328
|
+
export type VillageReviewDecision = z.infer<typeof zVillageReviewDecision>;
|
|
4329
|
+
export declare const zVillageBatchReviewRequest: z.ZodObject<{
|
|
4330
|
+
status: z.ZodEnum<{
|
|
4331
|
+
rejected: "rejected";
|
|
4332
|
+
approved: "approved";
|
|
4333
|
+
}>;
|
|
4334
|
+
transcript_ids: z.ZodArray<z.ZodUUID>;
|
|
4335
|
+
}, z.core.$strip>;
|
|
4336
|
+
export type VillageBatchReviewRequest = z.infer<typeof zVillageBatchReviewRequest>;
|
|
4337
|
+
export declare const zVillageReviewShareRequest: z.ZodObject<{
|
|
4338
|
+
status: z.ZodEnum<{
|
|
4339
|
+
rejected: "rejected";
|
|
4340
|
+
approved: "approved";
|
|
4341
|
+
}>;
|
|
4342
|
+
}, z.core.$strip>;
|
|
4343
|
+
export type VillageReviewShareRequest = z.infer<typeof zVillageReviewShareRequest>;
|
|
4344
|
+
export declare const zVillageReviewShareResponse: z.ZodObject<{
|
|
4345
|
+
status: z.ZodEnum<{
|
|
4346
|
+
rejected: "rejected";
|
|
4347
|
+
approved: "approved";
|
|
4348
|
+
}>;
|
|
4349
|
+
}, z.core.$strip>;
|
|
4350
|
+
export type VillageReviewShareResponse = z.infer<typeof zVillageReviewShareResponse>;
|
|
4351
|
+
/**
|
|
4352
|
+
* Village Share Event Actor
|
|
4353
|
+
*
|
|
4354
|
+
* Actor class that decided one collective share event
|
|
4355
|
+
*/
|
|
4356
|
+
export declare const zVillageShareEventActor: z.ZodEnum<{
|
|
4357
|
+
"": "";
|
|
4358
|
+
owner: "owner";
|
|
4359
|
+
collective: "collective";
|
|
4360
|
+
moderator: "moderator";
|
|
4361
|
+
}>;
|
|
4362
|
+
export type VillageShareEventActor = z.infer<typeof zVillageShareEventActor>;
|
|
4363
|
+
/**
|
|
4364
|
+
* Village Share Status
|
|
4365
|
+
*
|
|
4366
|
+
* Status of one collective share-attempt event. Pending, approved, and rejected can appear in current projections; retracted and revoked are terminal ledger states.
|
|
4367
|
+
*/
|
|
4368
|
+
export declare const zVillageShareStatus: z.ZodEnum<{
|
|
4369
|
+
pending: "pending";
|
|
4370
|
+
rejected: "rejected";
|
|
4371
|
+
approved: "approved";
|
|
4372
|
+
retracted: "retracted";
|
|
4373
|
+
revoked: "revoked";
|
|
4374
|
+
}>;
|
|
4375
|
+
export type VillageShareStatus = z.infer<typeof zVillageShareStatus>;
|
|
4376
|
+
export declare const zVillageShareEvent: z.ZodObject<{
|
|
4377
|
+
decided_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4378
|
+
decided_by_actor: z.ZodEnum<{
|
|
4379
|
+
"": "";
|
|
4380
|
+
owner: "owner";
|
|
4381
|
+
collective: "collective";
|
|
4382
|
+
moderator: "moderator";
|
|
4383
|
+
}>;
|
|
4384
|
+
event_num: z.ZodInt;
|
|
4385
|
+
recorded_at: z.ZodISODateTime;
|
|
4386
|
+
status: z.ZodEnum<{
|
|
4387
|
+
pending: "pending";
|
|
4388
|
+
rejected: "rejected";
|
|
4389
|
+
approved: "approved";
|
|
4390
|
+
retracted: "retracted";
|
|
4391
|
+
revoked: "revoked";
|
|
4392
|
+
}>;
|
|
4393
|
+
}, z.core.$strip>;
|
|
4394
|
+
export type VillageShareEvent = z.infer<typeof zVillageShareEvent>;
|
|
4395
|
+
export declare const zVillageStatusResponse: z.ZodObject<{
|
|
4396
|
+
status: z.ZodString;
|
|
4397
|
+
}, z.core.$strip>;
|
|
4398
|
+
export type VillageStatusResponse = z.infer<typeof zVillageStatusResponse>;
|
|
4399
|
+
/**
|
|
4400
|
+
* Village Transcript Deletion Policy
|
|
4401
|
+
*
|
|
4402
|
+
* Whether leaving a collective retracts contributed transcripts by default
|
|
4403
|
+
*/
|
|
4404
|
+
export declare const zVillageTranscriptDeletionPolicy: z.ZodEnum<{
|
|
4405
|
+
user_choice: "user_choice";
|
|
4406
|
+
mandatory: "mandatory";
|
|
4407
|
+
}>;
|
|
4408
|
+
export type VillageTranscriptDeletionPolicy = z.infer<typeof zVillageTranscriptDeletionPolicy>;
|
|
4409
|
+
/**
|
|
4410
|
+
* Village Transcript Visibility
|
|
4411
|
+
*
|
|
4412
|
+
* Village transcript visibility as stored and served by web routes
|
|
4413
|
+
*/
|
|
4414
|
+
export declare const zVillageTranscriptVisibility: z.ZodEnum<{
|
|
4415
|
+
shared: "shared";
|
|
4416
|
+
private: "private";
|
|
4417
|
+
public: "public";
|
|
4418
|
+
}>;
|
|
4419
|
+
export type VillageTranscriptVisibility = z.infer<typeof zVillageTranscriptVisibility>;
|
|
4420
|
+
export declare const zVillageContributableTranscript: z.ZodObject<{
|
|
4421
|
+
already_shared: z.ZodBoolean;
|
|
4422
|
+
git_branch: z.ZodNullable<z.ZodString>;
|
|
4423
|
+
id: z.ZodUUID;
|
|
4424
|
+
local_id: z.ZodString;
|
|
4425
|
+
model_provider: z.ZodString;
|
|
4426
|
+
parent_session_id: z.ZodNullable<z.ZodString>;
|
|
4427
|
+
project_display_name: z.ZodString;
|
|
4428
|
+
project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
4429
|
+
project_name_source: z.ZodEnum<{
|
|
4430
|
+
path: "path";
|
|
4431
|
+
override: "override";
|
|
4432
|
+
remote: "remote";
|
|
4433
|
+
consented: "consented";
|
|
4434
|
+
privacy: "privacy";
|
|
4435
|
+
}>;
|
|
4436
|
+
published_at: z.ZodISODateTime;
|
|
4437
|
+
session_origin: z.ZodEnum<{
|
|
4438
|
+
unknown: "unknown";
|
|
4439
|
+
user: "user";
|
|
4440
|
+
agent: "agent";
|
|
4441
|
+
}>;
|
|
4442
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4443
|
+
visibility: z.ZodEnum<{
|
|
4444
|
+
shared: "shared";
|
|
4445
|
+
private: "private";
|
|
4446
|
+
public: "public";
|
|
4447
|
+
}>;
|
|
4448
|
+
}, z.core.$strip>;
|
|
4449
|
+
export type VillageContributableTranscript = z.infer<typeof zVillageContributableTranscript>;
|
|
4450
|
+
/**
|
|
4451
|
+
* Village UUID
|
|
4452
|
+
*
|
|
4453
|
+
* Village-side canonical lowercase UUID identifier
|
|
4454
|
+
*/
|
|
4455
|
+
export declare const zVillageUUID: z.ZodUUID;
|
|
4456
|
+
export type VillageUUID = z.infer<typeof zVillageUUID>;
|
|
4457
|
+
export declare const zVillageCollectiveSearchResult: z.ZodObject<{
|
|
4458
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4459
|
+
id: z.ZodUUID;
|
|
4460
|
+
linked_github_org: z.ZodNullable<z.ZodString>;
|
|
4461
|
+
member_count: z.ZodInt;
|
|
4462
|
+
name: z.ZodString;
|
|
4463
|
+
transcript_count: z.ZodInt;
|
|
4464
|
+
}, z.core.$strip>;
|
|
4465
|
+
export type VillageCollectiveSearchResult = z.infer<typeof zVillageCollectiveSearchResult>;
|
|
4466
|
+
export declare const zVillageCollectiveSearchResponse: z.ZodObject<{
|
|
4467
|
+
collectives: z.ZodArray<z.ZodObject<{
|
|
4468
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4469
|
+
id: z.ZodUUID;
|
|
4470
|
+
linked_github_org: z.ZodNullable<z.ZodString>;
|
|
4471
|
+
member_count: z.ZodInt;
|
|
4472
|
+
name: z.ZodString;
|
|
4473
|
+
transcript_count: z.ZodInt;
|
|
4474
|
+
}, z.core.$strip>>;
|
|
4475
|
+
}, z.core.$strip>;
|
|
4476
|
+
export type VillageCollectiveSearchResponse = z.infer<typeof zVillageCollectiveSearchResponse>;
|
|
4477
|
+
export declare const zVillageCollectiveSubmission: z.ZodObject<{
|
|
4478
|
+
event_num: z.ZodInt;
|
|
4479
|
+
group_id: z.ZodUUID;
|
|
4480
|
+
recorded_at: z.ZodISODateTime;
|
|
4481
|
+
status: z.ZodEnum<{
|
|
4482
|
+
pending: "pending";
|
|
4483
|
+
rejected: "rejected";
|
|
4484
|
+
approved: "approved";
|
|
4485
|
+
retracted: "retracted";
|
|
4486
|
+
revoked: "revoked";
|
|
4487
|
+
}>;
|
|
4488
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4489
|
+
transcript_id: z.ZodUUID;
|
|
4490
|
+
}, z.core.$strip>;
|
|
4491
|
+
export type VillageCollectiveSubmission = z.infer<typeof zVillageCollectiveSubmission>;
|
|
4492
|
+
export declare const zVillageContributableResponse: z.ZodObject<{
|
|
4493
|
+
group_id: z.ZodUUID;
|
|
4494
|
+
transcripts: z.ZodArray<z.ZodObject<{
|
|
4495
|
+
already_shared: z.ZodBoolean;
|
|
4496
|
+
git_branch: z.ZodNullable<z.ZodString>;
|
|
4497
|
+
id: z.ZodUUID;
|
|
4498
|
+
local_id: z.ZodString;
|
|
4499
|
+
model_provider: z.ZodString;
|
|
4500
|
+
parent_session_id: z.ZodNullable<z.ZodString>;
|
|
4501
|
+
project_display_name: z.ZodString;
|
|
4502
|
+
project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
4503
|
+
project_name_source: z.ZodEnum<{
|
|
4504
|
+
path: "path";
|
|
4505
|
+
override: "override";
|
|
4506
|
+
remote: "remote";
|
|
4507
|
+
consented: "consented";
|
|
4508
|
+
privacy: "privacy";
|
|
4509
|
+
}>;
|
|
4510
|
+
published_at: z.ZodISODateTime;
|
|
4511
|
+
session_origin: z.ZodEnum<{
|
|
4512
|
+
unknown: "unknown";
|
|
4513
|
+
user: "user";
|
|
4514
|
+
agent: "agent";
|
|
4515
|
+
}>;
|
|
4516
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4517
|
+
visibility: z.ZodEnum<{
|
|
4518
|
+
shared: "shared";
|
|
4519
|
+
private: "private";
|
|
4520
|
+
public: "public";
|
|
4521
|
+
}>;
|
|
4522
|
+
}, z.core.$strip>>;
|
|
4523
|
+
}, z.core.$strip>;
|
|
4524
|
+
export type VillageContributableResponse = z.infer<typeof zVillageContributableResponse>;
|
|
4525
|
+
export declare const zVillageContributedCollective: z.ZodObject<{
|
|
4526
|
+
approved_count: z.ZodInt;
|
|
4527
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4528
|
+
id: z.ZodUUID;
|
|
4529
|
+
linked_github_org: z.ZodNullable<z.ZodString>;
|
|
4530
|
+
name: z.ZodString;
|
|
4531
|
+
pending_count: z.ZodInt;
|
|
4532
|
+
rejected_attempt_count: z.ZodInt;
|
|
4533
|
+
withdrawn_attempt_count: z.ZodInt;
|
|
4534
|
+
}, z.core.$strip>;
|
|
4535
|
+
export type VillageContributedCollective = z.infer<typeof zVillageContributedCollective>;
|
|
4536
|
+
export declare const zVillageContributedCollectivesResponse: z.ZodObject<{
|
|
4537
|
+
collectives: z.ZodArray<z.ZodObject<{
|
|
4538
|
+
approved_count: z.ZodInt;
|
|
4539
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4540
|
+
id: z.ZodUUID;
|
|
4541
|
+
linked_github_org: z.ZodNullable<z.ZodString>;
|
|
4542
|
+
name: z.ZodString;
|
|
4543
|
+
pending_count: z.ZodInt;
|
|
4544
|
+
rejected_attempt_count: z.ZodInt;
|
|
4545
|
+
withdrawn_attempt_count: z.ZodInt;
|
|
4546
|
+
}, z.core.$strip>>;
|
|
4547
|
+
}, z.core.$strip>;
|
|
4548
|
+
export type VillageContributedCollectivesResponse = z.infer<typeof zVillageContributedCollectivesResponse>;
|
|
4549
|
+
export declare const zVillageGroup: z.ZodObject<{
|
|
4550
|
+
acceptance_mode: z.ZodEnum<{
|
|
4551
|
+
open: "open";
|
|
4552
|
+
verified_only: "verified_only";
|
|
4553
|
+
curated: "curated";
|
|
4554
|
+
}>;
|
|
4555
|
+
created_at: z.ZodISODateTime;
|
|
4556
|
+
created_by: z.ZodUUID;
|
|
4557
|
+
data_access: z.ZodEnum<{
|
|
4558
|
+
public: "public";
|
|
4559
|
+
members_only: "members_only";
|
|
4560
|
+
contributors: "contributors";
|
|
4561
|
+
}>;
|
|
4562
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4563
|
+
display_members: z.ZodBoolean;
|
|
4564
|
+
id: z.ZodUUID;
|
|
4565
|
+
linked_github_org: z.ZodNullable<z.ZodString>;
|
|
4566
|
+
name: z.ZodString;
|
|
4567
|
+
transcript_deletion_policy: z.ZodEnum<{
|
|
4568
|
+
user_choice: "user_choice";
|
|
4569
|
+
mandatory: "mandatory";
|
|
4570
|
+
}>;
|
|
4571
|
+
updated_at: z.ZodISODateTime;
|
|
4572
|
+
}, z.core.$strip>;
|
|
4573
|
+
export type VillageGroup = z.infer<typeof zVillageGroup>;
|
|
4574
|
+
export declare const zVillageGroupContributor: z.ZodObject<{
|
|
4575
|
+
avatar_url: z.ZodNullable<z.ZodString>;
|
|
4576
|
+
github_username: z.ZodString;
|
|
4577
|
+
id: z.ZodUUID;
|
|
4578
|
+
transcript_count: z.ZodInt;
|
|
4579
|
+
}, z.core.$strip>;
|
|
4580
|
+
export type VillageGroupContributor = z.infer<typeof zVillageGroupContributor>;
|
|
4581
|
+
export declare const zVillageGroupMember: z.ZodObject<{
|
|
4582
|
+
avatar_url: z.ZodNullable<z.ZodString>;
|
|
4583
|
+
display_name: z.ZodNullable<z.ZodString>;
|
|
4584
|
+
github_orgs: z.ZodArray<z.ZodString>;
|
|
4585
|
+
github_username: z.ZodString;
|
|
4586
|
+
id: z.ZodUUID;
|
|
4587
|
+
joined_at: z.ZodISODateTime;
|
|
4588
|
+
role: z.ZodEnum<{
|
|
4589
|
+
pending: "pending";
|
|
4590
|
+
contributor: "contributor";
|
|
4591
|
+
member: "member";
|
|
4592
|
+
owner: "owner";
|
|
4593
|
+
}>;
|
|
4594
|
+
}, z.core.$strip>;
|
|
4595
|
+
export type VillageGroupMember = z.infer<typeof zVillageGroupMember>;
|
|
4596
|
+
export declare const zVillageGroupTranscript: z.ZodObject<{
|
|
4597
|
+
blob_size_bytes: z.ZodNullable<z.ZodInt>;
|
|
4598
|
+
compute_version: z.ZodNullable<z.ZodInt>;
|
|
4599
|
+
computed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4600
|
+
content_hash: z.ZodNullable<z.ZodString>;
|
|
4601
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4602
|
+
diagnostics_partial: z.ZodNullable<z.ZodBoolean>;
|
|
4603
|
+
diagnostics_warnings: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
4604
|
+
discovery_turns: z.ZodNullable<z.ZodInt>;
|
|
4605
|
+
duration_ms: z.ZodNullable<z.ZodInt>;
|
|
4606
|
+
exploration_ratio: z.ZodNullable<z.ZodNumber>;
|
|
4607
|
+
files_touched: z.ZodNullable<z.ZodInt>;
|
|
4608
|
+
git_branch: z.ZodNullable<z.ZodString>;
|
|
4609
|
+
git_remote: z.ZodNullable<z.ZodString>;
|
|
4610
|
+
harness_version: z.ZodNullable<z.ZodString>;
|
|
4611
|
+
id: z.ZodUUID;
|
|
4612
|
+
ingested_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4613
|
+
license_id: z.ZodNullable<z.ZodEnum<{
|
|
4614
|
+
"CC0-1.0": "CC0-1.0";
|
|
4615
|
+
"CC-BY-4.0": "CC-BY-4.0";
|
|
4616
|
+
"CC-BY-SA-4.0": "CC-BY-SA-4.0";
|
|
4617
|
+
}>>;
|
|
4618
|
+
lines_changed: z.ZodNullable<z.ZodInt>;
|
|
4619
|
+
local_id: z.ZodString;
|
|
4620
|
+
m2_token_outcome_ratio: z.ZodNullable<z.ZodNumber>;
|
|
4621
|
+
m3_unique_tool_count: z.ZodNullable<z.ZodInt>;
|
|
4622
|
+
m4_consecutive_error_max: z.ZodNullable<z.ZodInt>;
|
|
4623
|
+
m4_error_recovery_count: z.ZodNullable<z.ZodInt>;
|
|
4624
|
+
m5_avg_message_tokens: z.ZodNullable<z.ZodInt>;
|
|
4625
|
+
m5_context_utilization_pct: z.ZodNullable<z.ZodNumber>;
|
|
4626
|
+
m5_peak_context_tokens: z.ZodNullable<z.ZodInt>;
|
|
4627
|
+
m6_lines_survived: z.ZodNullable<z.ZodInt>;
|
|
4628
|
+
m6_lines_total: z.ZodNullable<z.ZodInt>;
|
|
4629
|
+
m6_output_survival_pct: z.ZodNullable<z.ZodNumber>;
|
|
4630
|
+
m7_spec_has_constraints: z.ZodNullable<z.ZodBoolean>;
|
|
4631
|
+
m7_spec_has_examples: z.ZodNullable<z.ZodBoolean>;
|
|
4632
|
+
m7_spec_word_count: z.ZodNullable<z.ZodInt>;
|
|
4633
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
4634
|
+
model_provider: z.ZodString;
|
|
4635
|
+
outcome: z.ZodNullable<z.ZodEnum<{
|
|
4636
|
+
failed: "failed";
|
|
4637
|
+
partial: "partial";
|
|
4638
|
+
resolved: "resolved";
|
|
4639
|
+
}>>;
|
|
4640
|
+
owner_avatar_url: z.ZodNullable<z.ZodString>;
|
|
4641
|
+
owner_id: z.ZodUUID;
|
|
4642
|
+
owner_is_discoverable: z.ZodBoolean;
|
|
4643
|
+
owner_username: z.ZodString;
|
|
4644
|
+
parent_session_id: z.ZodNullable<z.ZodString>;
|
|
4645
|
+
project_display_name: z.ZodString;
|
|
4646
|
+
project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
4647
|
+
project_name: z.ZodNullable<z.ZodString>;
|
|
4648
|
+
project_name_source: z.ZodEnum<{
|
|
4649
|
+
path: "path";
|
|
4650
|
+
override: "override";
|
|
4651
|
+
remote: "remote";
|
|
4652
|
+
consented: "consented";
|
|
4653
|
+
privacy: "privacy";
|
|
4654
|
+
}>;
|
|
4655
|
+
project_remote_label: z.ZodString;
|
|
4656
|
+
published_at: z.ZodISODateTime;
|
|
4657
|
+
retry_loops: z.ZodNullable<z.ZodInt>;
|
|
4658
|
+
retry_tokens_wasted: z.ZodNullable<z.ZodInt>;
|
|
4659
|
+
schema_version: z.ZodString;
|
|
4660
|
+
scope_breadth: z.ZodNullable<z.ZodInt>;
|
|
4661
|
+
session_end: z.ZodNullable<z.ZodISODateTime>;
|
|
4662
|
+
session_origin: z.ZodEnum<{
|
|
4663
|
+
unknown: "unknown";
|
|
4664
|
+
user: "user";
|
|
4665
|
+
agent: "agent";
|
|
4666
|
+
}>;
|
|
4667
|
+
session_start: z.ZodNullable<z.ZodISODateTime>;
|
|
4668
|
+
signal_density: z.ZodNullable<z.ZodNumber>;
|
|
4669
|
+
source_format: z.ZodNullable<z.ZodEnum<{
|
|
4670
|
+
json: "json";
|
|
4671
|
+
jsonl: "jsonl";
|
|
4672
|
+
}>>;
|
|
4673
|
+
spec_quality_score: z.ZodNullable<z.ZodNumber>;
|
|
4674
|
+
subagent_count: z.ZodNullable<z.ZodInt>;
|
|
4675
|
+
subagents: z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4676
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4677
|
+
title_generated: z.ZodNullable<z.ZodString>;
|
|
4678
|
+
token_count: z.ZodNullable<z.ZodInt>;
|
|
4679
|
+
tokens_in: z.ZodNullable<z.ZodInt>;
|
|
4680
|
+
tokens_out: z.ZodNullable<z.ZodInt>;
|
|
4681
|
+
tool_call_count: z.ZodNullable<z.ZodInt>;
|
|
4682
|
+
turn_count: z.ZodNullable<z.ZodInt>;
|
|
4683
|
+
updated_at: z.ZodISODateTime;
|
|
4684
|
+
visibility: z.ZodEnum<{
|
|
4685
|
+
shared: "shared";
|
|
4686
|
+
private: "private";
|
|
4687
|
+
public: "public";
|
|
4688
|
+
}>;
|
|
4689
|
+
within_session_reverts: z.ZodNullable<z.ZodInt>;
|
|
4690
|
+
}, z.core.$strip>;
|
|
4691
|
+
export type VillageGroupTranscript = z.infer<typeof zVillageGroupTranscript>;
|
|
4692
|
+
export declare const zVillageGroupDetailResponse: z.ZodObject<{
|
|
4693
|
+
can_read: z.ZodBoolean;
|
|
4694
|
+
contributors: z.ZodArray<z.ZodObject<{
|
|
4695
|
+
avatar_url: z.ZodNullable<z.ZodString>;
|
|
4696
|
+
github_username: z.ZodString;
|
|
4697
|
+
id: z.ZodUUID;
|
|
4698
|
+
transcript_count: z.ZodInt;
|
|
4699
|
+
}, z.core.$strip>>;
|
|
4700
|
+
group: z.ZodObject<{
|
|
4701
|
+
acceptance_mode: z.ZodEnum<{
|
|
4702
|
+
open: "open";
|
|
4703
|
+
verified_only: "verified_only";
|
|
4704
|
+
curated: "curated";
|
|
4705
|
+
}>;
|
|
4706
|
+
created_at: z.ZodISODateTime;
|
|
4707
|
+
created_by: z.ZodUUID;
|
|
4708
|
+
data_access: z.ZodEnum<{
|
|
4709
|
+
public: "public";
|
|
4710
|
+
members_only: "members_only";
|
|
4711
|
+
contributors: "contributors";
|
|
4712
|
+
}>;
|
|
4713
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4714
|
+
display_members: z.ZodBoolean;
|
|
4715
|
+
id: z.ZodUUID;
|
|
4716
|
+
linked_github_org: z.ZodNullable<z.ZodString>;
|
|
4717
|
+
name: z.ZodString;
|
|
4718
|
+
transcript_deletion_policy: z.ZodEnum<{
|
|
4719
|
+
user_choice: "user_choice";
|
|
4720
|
+
mandatory: "mandatory";
|
|
4721
|
+
}>;
|
|
4722
|
+
updated_at: z.ZodISODateTime;
|
|
4723
|
+
}, z.core.$strip>;
|
|
4724
|
+
members: z.ZodArray<z.ZodObject<{
|
|
4725
|
+
avatar_url: z.ZodNullable<z.ZodString>;
|
|
4726
|
+
display_name: z.ZodNullable<z.ZodString>;
|
|
4727
|
+
github_orgs: z.ZodArray<z.ZodString>;
|
|
4728
|
+
github_username: z.ZodString;
|
|
4729
|
+
id: z.ZodUUID;
|
|
4730
|
+
joined_at: z.ZodISODateTime;
|
|
4731
|
+
role: z.ZodEnum<{
|
|
4732
|
+
pending: "pending";
|
|
4733
|
+
contributor: "contributor";
|
|
4734
|
+
member: "member";
|
|
4735
|
+
owner: "owner";
|
|
4736
|
+
}>;
|
|
4737
|
+
}, z.core.$strip>>;
|
|
4738
|
+
models: z.ZodArray<z.ZodObject<{
|
|
4739
|
+
model_provider: z.ZodString;
|
|
4740
|
+
transcript_count: z.ZodInt;
|
|
4741
|
+
}, z.core.$strip>>;
|
|
4742
|
+
pending_members: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4743
|
+
avatar_url: z.ZodNullable<z.ZodString>;
|
|
4744
|
+
display_name: z.ZodNullable<z.ZodString>;
|
|
4745
|
+
github_orgs: z.ZodArray<z.ZodString>;
|
|
4746
|
+
github_username: z.ZodString;
|
|
4747
|
+
id: z.ZodUUID;
|
|
4748
|
+
joined_at: z.ZodISODateTime;
|
|
4749
|
+
role: z.ZodEnum<{
|
|
4750
|
+
pending: "pending";
|
|
4751
|
+
contributor: "contributor";
|
|
4752
|
+
member: "member";
|
|
4753
|
+
owner: "owner";
|
|
4754
|
+
}>;
|
|
4755
|
+
}, z.core.$strip>>>;
|
|
4756
|
+
stats: z.ZodObject<{
|
|
4757
|
+
contributor_count: z.ZodInt;
|
|
4758
|
+
total_duration_ms: z.ZodCoercedBigInt<unknown>;
|
|
4759
|
+
total_tokens: z.ZodCoercedBigInt<unknown>;
|
|
4760
|
+
total_transcripts: z.ZodInt;
|
|
4761
|
+
total_turns: z.ZodCoercedBigInt<unknown>;
|
|
4762
|
+
}, z.core.$strip>;
|
|
4763
|
+
transcripts: z.ZodArray<z.ZodObject<{
|
|
4764
|
+
blob_size_bytes: z.ZodNullable<z.ZodInt>;
|
|
4765
|
+
compute_version: z.ZodNullable<z.ZodInt>;
|
|
4766
|
+
computed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4767
|
+
content_hash: z.ZodNullable<z.ZodString>;
|
|
4768
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4769
|
+
diagnostics_partial: z.ZodNullable<z.ZodBoolean>;
|
|
4770
|
+
diagnostics_warnings: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
4771
|
+
discovery_turns: z.ZodNullable<z.ZodInt>;
|
|
4772
|
+
duration_ms: z.ZodNullable<z.ZodInt>;
|
|
4773
|
+
exploration_ratio: z.ZodNullable<z.ZodNumber>;
|
|
4774
|
+
files_touched: z.ZodNullable<z.ZodInt>;
|
|
4775
|
+
git_branch: z.ZodNullable<z.ZodString>;
|
|
4776
|
+
git_remote: z.ZodNullable<z.ZodString>;
|
|
4777
|
+
harness_version: z.ZodNullable<z.ZodString>;
|
|
4778
|
+
id: z.ZodUUID;
|
|
4779
|
+
ingested_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4780
|
+
license_id: z.ZodNullable<z.ZodEnum<{
|
|
4781
|
+
"CC0-1.0": "CC0-1.0";
|
|
4782
|
+
"CC-BY-4.0": "CC-BY-4.0";
|
|
4783
|
+
"CC-BY-SA-4.0": "CC-BY-SA-4.0";
|
|
4784
|
+
}>>;
|
|
4785
|
+
lines_changed: z.ZodNullable<z.ZodInt>;
|
|
4786
|
+
local_id: z.ZodString;
|
|
4787
|
+
m2_token_outcome_ratio: z.ZodNullable<z.ZodNumber>;
|
|
4788
|
+
m3_unique_tool_count: z.ZodNullable<z.ZodInt>;
|
|
4789
|
+
m4_consecutive_error_max: z.ZodNullable<z.ZodInt>;
|
|
4790
|
+
m4_error_recovery_count: z.ZodNullable<z.ZodInt>;
|
|
4791
|
+
m5_avg_message_tokens: z.ZodNullable<z.ZodInt>;
|
|
4792
|
+
m5_context_utilization_pct: z.ZodNullable<z.ZodNumber>;
|
|
4793
|
+
m5_peak_context_tokens: z.ZodNullable<z.ZodInt>;
|
|
4794
|
+
m6_lines_survived: z.ZodNullable<z.ZodInt>;
|
|
4795
|
+
m6_lines_total: z.ZodNullable<z.ZodInt>;
|
|
4796
|
+
m6_output_survival_pct: z.ZodNullable<z.ZodNumber>;
|
|
4797
|
+
m7_spec_has_constraints: z.ZodNullable<z.ZodBoolean>;
|
|
4798
|
+
m7_spec_has_examples: z.ZodNullable<z.ZodBoolean>;
|
|
4799
|
+
m7_spec_word_count: z.ZodNullable<z.ZodInt>;
|
|
4800
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
4801
|
+
model_provider: z.ZodString;
|
|
4802
|
+
outcome: z.ZodNullable<z.ZodEnum<{
|
|
4803
|
+
failed: "failed";
|
|
4804
|
+
partial: "partial";
|
|
4805
|
+
resolved: "resolved";
|
|
4806
|
+
}>>;
|
|
4807
|
+
owner_avatar_url: z.ZodNullable<z.ZodString>;
|
|
4808
|
+
owner_id: z.ZodUUID;
|
|
4809
|
+
owner_is_discoverable: z.ZodBoolean;
|
|
4810
|
+
owner_username: z.ZodString;
|
|
4811
|
+
parent_session_id: z.ZodNullable<z.ZodString>;
|
|
4812
|
+
project_display_name: z.ZodString;
|
|
4813
|
+
project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
4814
|
+
project_name: z.ZodNullable<z.ZodString>;
|
|
4815
|
+
project_name_source: z.ZodEnum<{
|
|
4816
|
+
path: "path";
|
|
4817
|
+
override: "override";
|
|
4818
|
+
remote: "remote";
|
|
4819
|
+
consented: "consented";
|
|
4820
|
+
privacy: "privacy";
|
|
4821
|
+
}>;
|
|
4822
|
+
project_remote_label: z.ZodString;
|
|
4823
|
+
published_at: z.ZodISODateTime;
|
|
4824
|
+
retry_loops: z.ZodNullable<z.ZodInt>;
|
|
4825
|
+
retry_tokens_wasted: z.ZodNullable<z.ZodInt>;
|
|
4826
|
+
schema_version: z.ZodString;
|
|
4827
|
+
scope_breadth: z.ZodNullable<z.ZodInt>;
|
|
4828
|
+
session_end: z.ZodNullable<z.ZodISODateTime>;
|
|
4829
|
+
session_origin: z.ZodEnum<{
|
|
4830
|
+
unknown: "unknown";
|
|
4831
|
+
user: "user";
|
|
4832
|
+
agent: "agent";
|
|
4833
|
+
}>;
|
|
4834
|
+
session_start: z.ZodNullable<z.ZodISODateTime>;
|
|
4835
|
+
signal_density: z.ZodNullable<z.ZodNumber>;
|
|
4836
|
+
source_format: z.ZodNullable<z.ZodEnum<{
|
|
4837
|
+
json: "json";
|
|
4838
|
+
jsonl: "jsonl";
|
|
4839
|
+
}>>;
|
|
4840
|
+
spec_quality_score: z.ZodNullable<z.ZodNumber>;
|
|
4841
|
+
subagent_count: z.ZodNullable<z.ZodInt>;
|
|
4842
|
+
subagents: z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4843
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4844
|
+
title_generated: z.ZodNullable<z.ZodString>;
|
|
4845
|
+
token_count: z.ZodNullable<z.ZodInt>;
|
|
4846
|
+
tokens_in: z.ZodNullable<z.ZodInt>;
|
|
4847
|
+
tokens_out: z.ZodNullable<z.ZodInt>;
|
|
4848
|
+
tool_call_count: z.ZodNullable<z.ZodInt>;
|
|
4849
|
+
turn_count: z.ZodNullable<z.ZodInt>;
|
|
4850
|
+
updated_at: z.ZodISODateTime;
|
|
4851
|
+
visibility: z.ZodEnum<{
|
|
4852
|
+
shared: "shared";
|
|
4853
|
+
private: "private";
|
|
4854
|
+
public: "public";
|
|
4855
|
+
}>;
|
|
4856
|
+
within_session_reverts: z.ZodNullable<z.ZodInt>;
|
|
4857
|
+
}, z.core.$strip>>;
|
|
4858
|
+
your_role: z.ZodEnum<{
|
|
4859
|
+
"": "";
|
|
4860
|
+
pending: "pending";
|
|
4861
|
+
contributor: "contributor";
|
|
4862
|
+
member: "member";
|
|
4863
|
+
owner: "owner";
|
|
4864
|
+
}>;
|
|
4865
|
+
}, z.core.$strip>;
|
|
4866
|
+
export type VillageGroupDetailResponse = z.infer<typeof zVillageGroupDetailResponse>;
|
|
4867
|
+
export declare const zVillageLinkedRepository: z.ZodObject<{
|
|
4868
|
+
created_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4869
|
+
group_id: z.ZodUUID;
|
|
4870
|
+
id: z.ZodUUID;
|
|
4871
|
+
installation_id: z.ZodCoercedBigInt<unknown>;
|
|
4872
|
+
is_private: z.ZodBoolean;
|
|
4873
|
+
last_synced_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4874
|
+
linked_by: z.ZodUUID;
|
|
4875
|
+
name: z.ZodString;
|
|
4876
|
+
owner: z.ZodString;
|
|
4877
|
+
}, z.core.$strip>;
|
|
4878
|
+
export type VillageLinkedRepository = z.infer<typeof zVillageLinkedRepository>;
|
|
4879
|
+
export declare const zVillageLinkedRepositoriesResponse: z.ZodObject<{
|
|
4880
|
+
repositories: z.ZodArray<z.ZodObject<{
|
|
4881
|
+
created_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4882
|
+
group_id: z.ZodUUID;
|
|
4883
|
+
id: z.ZodUUID;
|
|
4884
|
+
installation_id: z.ZodCoercedBigInt<unknown>;
|
|
4885
|
+
is_private: z.ZodBoolean;
|
|
4886
|
+
last_synced_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4887
|
+
linked_by: z.ZodUUID;
|
|
4888
|
+
name: z.ZodString;
|
|
4889
|
+
owner: z.ZodString;
|
|
4890
|
+
}, z.core.$strip>>;
|
|
4891
|
+
}, z.core.$strip>;
|
|
4892
|
+
export type VillageLinkedRepositoriesResponse = z.infer<typeof zVillageLinkedRepositoriesResponse>;
|
|
4893
|
+
export declare const zVillagePendingShare: z.ZodObject<{
|
|
4894
|
+
branch: z.ZodNullable<z.ZodString>;
|
|
4895
|
+
local_id: z.ZodString;
|
|
4896
|
+
model_provider: z.ZodString;
|
|
4897
|
+
owner_id: z.ZodUUID;
|
|
4898
|
+
owner_is_discoverable: z.ZodBoolean;
|
|
4899
|
+
owner_username: z.ZodString;
|
|
4900
|
+
parent_session_id: z.ZodNullable<z.ZodString>;
|
|
4901
|
+
project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
4902
|
+
project_name: z.ZodNullable<z.ZodString>;
|
|
4903
|
+
shared_at: z.ZodISODateTime;
|
|
4904
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4905
|
+
transcript_id: z.ZodUUID;
|
|
4906
|
+
}, z.core.$strip>;
|
|
4907
|
+
export type VillagePendingShare = z.infer<typeof zVillagePendingShare>;
|
|
4908
|
+
export declare const zVillagePublicGroup: z.ZodObject<{
|
|
4909
|
+
acceptance_mode: z.ZodEnum<{
|
|
4910
|
+
open: "open";
|
|
4911
|
+
verified_only: "verified_only";
|
|
4912
|
+
curated: "curated";
|
|
4913
|
+
}>;
|
|
4914
|
+
created_at: z.ZodISODateTime;
|
|
4915
|
+
data_access: z.ZodEnum<{
|
|
4916
|
+
public: "public";
|
|
4917
|
+
members_only: "members_only";
|
|
4918
|
+
contributors: "contributors";
|
|
4919
|
+
}>;
|
|
4920
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4921
|
+
id: z.ZodUUID;
|
|
4922
|
+
linked_github_org: z.ZodNullable<z.ZodString>;
|
|
4923
|
+
member_count: z.ZodInt;
|
|
4924
|
+
name: z.ZodString;
|
|
4925
|
+
transcript_count: z.ZodInt;
|
|
4926
|
+
}, z.core.$strip>;
|
|
4927
|
+
export type VillagePublicGroup = z.infer<typeof zVillagePublicGroup>;
|
|
4928
|
+
export declare const zVillageShareTranscriptRequest: z.ZodObject<{
|
|
4929
|
+
group_ids: z.ZodArray<z.ZodUUID>;
|
|
4930
|
+
}, z.core.$strip>;
|
|
4931
|
+
export type VillageShareTranscriptRequest = z.infer<typeof zVillageShareTranscriptRequest>;
|
|
4932
|
+
export declare const zVillageTranscript: z.ZodObject<{
|
|
4933
|
+
blob_size_bytes: z.ZodNullable<z.ZodInt>;
|
|
4934
|
+
compute_version: z.ZodNullable<z.ZodInt>;
|
|
4935
|
+
computed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4936
|
+
content_hash: z.ZodNullable<z.ZodString>;
|
|
4937
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4938
|
+
diagnostics_partial: z.ZodNullable<z.ZodBoolean>;
|
|
4939
|
+
diagnostics_warnings: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
4940
|
+
discovery_turns: z.ZodNullable<z.ZodInt>;
|
|
4941
|
+
duration_ms: z.ZodNullable<z.ZodInt>;
|
|
4942
|
+
exploration_ratio: z.ZodNullable<z.ZodNumber>;
|
|
4943
|
+
files_touched: z.ZodNullable<z.ZodInt>;
|
|
4944
|
+
git_branch: z.ZodNullable<z.ZodString>;
|
|
4945
|
+
git_remote: z.ZodNullable<z.ZodString>;
|
|
4946
|
+
harness_version: z.ZodNullable<z.ZodString>;
|
|
4947
|
+
id: z.ZodUUID;
|
|
4948
|
+
ingested_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4949
|
+
license_id: z.ZodNullable<z.ZodEnum<{
|
|
4950
|
+
"CC0-1.0": "CC0-1.0";
|
|
4951
|
+
"CC-BY-4.0": "CC-BY-4.0";
|
|
4952
|
+
"CC-BY-SA-4.0": "CC-BY-SA-4.0";
|
|
4953
|
+
}>>;
|
|
4954
|
+
lines_changed: z.ZodNullable<z.ZodInt>;
|
|
4955
|
+
local_id: z.ZodString;
|
|
4956
|
+
m2_token_outcome_ratio: z.ZodNullable<z.ZodNumber>;
|
|
4957
|
+
m3_unique_tool_count: z.ZodNullable<z.ZodInt>;
|
|
4958
|
+
m4_consecutive_error_max: z.ZodNullable<z.ZodInt>;
|
|
4959
|
+
m4_error_recovery_count: z.ZodNullable<z.ZodInt>;
|
|
4960
|
+
m5_avg_message_tokens: z.ZodNullable<z.ZodInt>;
|
|
4961
|
+
m5_context_utilization_pct: z.ZodNullable<z.ZodNumber>;
|
|
4962
|
+
m5_peak_context_tokens: z.ZodNullable<z.ZodInt>;
|
|
4963
|
+
m6_lines_survived: z.ZodNullable<z.ZodInt>;
|
|
4964
|
+
m6_lines_total: z.ZodNullable<z.ZodInt>;
|
|
4965
|
+
m6_output_survival_pct: z.ZodNullable<z.ZodNumber>;
|
|
4966
|
+
m7_spec_has_constraints: z.ZodNullable<z.ZodBoolean>;
|
|
4967
|
+
m7_spec_has_examples: z.ZodNullable<z.ZodBoolean>;
|
|
4968
|
+
m7_spec_word_count: z.ZodNullable<z.ZodInt>;
|
|
4969
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
4970
|
+
model_provider: z.ZodString;
|
|
4971
|
+
outcome: z.ZodNullable<z.ZodEnum<{
|
|
4972
|
+
failed: "failed";
|
|
4973
|
+
partial: "partial";
|
|
4974
|
+
resolved: "resolved";
|
|
4975
|
+
}>>;
|
|
4976
|
+
owner_id: z.ZodUUID;
|
|
4977
|
+
parent_session_id: z.ZodNullable<z.ZodString>;
|
|
4978
|
+
project_display_name: z.ZodString;
|
|
4979
|
+
project_hash: z.core.$ZodBranded<z.ZodString, "ProjectHash", "out">;
|
|
4980
|
+
project_name: z.ZodNullable<z.ZodString>;
|
|
4981
|
+
project_name_source: z.ZodEnum<{
|
|
4982
|
+
path: "path";
|
|
4983
|
+
override: "override";
|
|
4984
|
+
remote: "remote";
|
|
4985
|
+
consented: "consented";
|
|
4986
|
+
privacy: "privacy";
|
|
4987
|
+
}>;
|
|
4988
|
+
project_remote_label: z.ZodString;
|
|
4989
|
+
published_at: z.ZodISODateTime;
|
|
4990
|
+
retry_loops: z.ZodNullable<z.ZodInt>;
|
|
4991
|
+
retry_tokens_wasted: z.ZodNullable<z.ZodInt>;
|
|
4992
|
+
schema_version: z.ZodString;
|
|
4993
|
+
scope_breadth: z.ZodNullable<z.ZodInt>;
|
|
4994
|
+
session_end: z.ZodNullable<z.ZodISODateTime>;
|
|
4995
|
+
session_origin: z.ZodEnum<{
|
|
4996
|
+
unknown: "unknown";
|
|
4997
|
+
user: "user";
|
|
4998
|
+
agent: "agent";
|
|
4999
|
+
}>;
|
|
5000
|
+
session_start: z.ZodNullable<z.ZodISODateTime>;
|
|
5001
|
+
signal_density: z.ZodNullable<z.ZodNumber>;
|
|
5002
|
+
source_format: z.ZodNullable<z.ZodEnum<{
|
|
5003
|
+
json: "json";
|
|
5004
|
+
jsonl: "jsonl";
|
|
5005
|
+
}>>;
|
|
5006
|
+
spec_quality_score: z.ZodNullable<z.ZodNumber>;
|
|
5007
|
+
subagent_count: z.ZodNullable<z.ZodInt>;
|
|
5008
|
+
subagents: z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5009
|
+
title: z.ZodNullable<z.ZodString>;
|
|
5010
|
+
title_generated: z.ZodNullable<z.ZodString>;
|
|
5011
|
+
token_count: z.ZodNullable<z.ZodInt>;
|
|
5012
|
+
tokens_in: z.ZodNullable<z.ZodInt>;
|
|
5013
|
+
tokens_out: z.ZodNullable<z.ZodInt>;
|
|
5014
|
+
tool_call_count: z.ZodNullable<z.ZodInt>;
|
|
5015
|
+
turn_count: z.ZodNullable<z.ZodInt>;
|
|
5016
|
+
updated_at: z.ZodISODateTime;
|
|
5017
|
+
visibility: z.ZodEnum<{
|
|
5018
|
+
shared: "shared";
|
|
5019
|
+
private: "private";
|
|
5020
|
+
public: "public";
|
|
5021
|
+
}>;
|
|
5022
|
+
within_session_reverts: z.ZodNullable<z.ZodInt>;
|
|
5023
|
+
}, z.core.$strip>;
|
|
5024
|
+
export type VillageTranscript = z.infer<typeof zVillageTranscript>;
|
|
5025
|
+
export declare const zVillageTranscriptCollective: z.ZodObject<{
|
|
5026
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5027
|
+
id: z.ZodUUID;
|
|
5028
|
+
linked_github_org: z.ZodNullable<z.ZodString>;
|
|
5029
|
+
name: z.ZodString;
|
|
5030
|
+
shared_at: z.ZodISODateTime;
|
|
5031
|
+
}, z.core.$strip>;
|
|
5032
|
+
export type VillageTranscriptCollective = z.infer<typeof zVillageTranscriptCollective>;
|
|
5033
|
+
export declare const zVillageTranscriptCollectivesResponse: z.ZodObject<{
|
|
5034
|
+
collectives: z.ZodArray<z.ZodObject<{
|
|
5035
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5036
|
+
id: z.ZodUUID;
|
|
5037
|
+
linked_github_org: z.ZodNullable<z.ZodString>;
|
|
5038
|
+
name: z.ZodString;
|
|
5039
|
+
shared_at: z.ZodISODateTime;
|
|
5040
|
+
}, z.core.$strip>>;
|
|
5041
|
+
}, z.core.$strip>;
|
|
5042
|
+
export type VillageTranscriptCollectivesResponse = z.infer<typeof zVillageTranscriptCollectivesResponse>;
|
|
5043
|
+
export declare const zVillageTranscriptShare: z.ZodObject<{
|
|
5044
|
+
group_id: z.ZodUUID;
|
|
5045
|
+
group_name: z.ZodString;
|
|
5046
|
+
shared_at: z.ZodISODateTime;
|
|
5047
|
+
}, z.core.$strip>;
|
|
5048
|
+
export type VillageTranscriptShare = z.infer<typeof zVillageTranscriptShare>;
|
|
5049
|
+
export declare const zVillageUpdateGroupRequest: z.ZodObject<{
|
|
5050
|
+
acceptance_mode: z.ZodOptional<z.ZodEnum<{
|
|
5051
|
+
open: "open";
|
|
5052
|
+
verified_only: "verified_only";
|
|
5053
|
+
curated: "curated";
|
|
5054
|
+
}>>;
|
|
5055
|
+
data_access: z.ZodOptional<z.ZodEnum<{
|
|
5056
|
+
public: "public";
|
|
5057
|
+
members_only: "members_only";
|
|
5058
|
+
contributors: "contributors";
|
|
5059
|
+
}>>;
|
|
5060
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5061
|
+
display_members: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5062
|
+
linked_github_org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5063
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5064
|
+
transcript_deletion_policy: z.ZodOptional<z.ZodEnum<{
|
|
5065
|
+
user_choice: "user_choice";
|
|
5066
|
+
mandatory: "mandatory";
|
|
5067
|
+
}>>;
|
|
5068
|
+
}, z.core.$strip>;
|
|
5069
|
+
export type VillageUpdateGroupRequest = z.infer<typeof zVillageUpdateGroupRequest>;
|
|
5070
|
+
export declare const zVillageUserGroup: z.ZodObject<{
|
|
5071
|
+
acceptance_mode: z.ZodEnum<{
|
|
5072
|
+
open: "open";
|
|
5073
|
+
verified_only: "verified_only";
|
|
5074
|
+
curated: "curated";
|
|
5075
|
+
}>;
|
|
5076
|
+
created_at: z.ZodISODateTime;
|
|
5077
|
+
created_by: z.ZodUUID;
|
|
5078
|
+
data_access: z.ZodEnum<{
|
|
5079
|
+
public: "public";
|
|
5080
|
+
members_only: "members_only";
|
|
5081
|
+
contributors: "contributors";
|
|
5082
|
+
}>;
|
|
5083
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5084
|
+
display_members: z.ZodBoolean;
|
|
5085
|
+
id: z.ZodUUID;
|
|
5086
|
+
linked_github_org: z.ZodNullable<z.ZodString>;
|
|
5087
|
+
member_count: z.ZodInt;
|
|
5088
|
+
member_since: z.ZodISODateTime;
|
|
5089
|
+
name: z.ZodString;
|
|
5090
|
+
role: z.ZodEnum<{
|
|
5091
|
+
pending: "pending";
|
|
5092
|
+
contributor: "contributor";
|
|
5093
|
+
member: "member";
|
|
5094
|
+
owner: "owner";
|
|
5095
|
+
}>;
|
|
5096
|
+
transcript_count: z.ZodInt;
|
|
5097
|
+
transcript_deletion_policy: z.ZodEnum<{
|
|
5098
|
+
user_choice: "user_choice";
|
|
5099
|
+
mandatory: "mandatory";
|
|
5100
|
+
}>;
|
|
5101
|
+
updated_at: z.ZodISODateTime;
|
|
5102
|
+
}, z.core.$strip>;
|
|
5103
|
+
export type VillageUserGroup = z.infer<typeof zVillageUserGroup>;
|
|
5104
|
+
export declare const zVillageUserGroupShare: z.ZodObject<{
|
|
5105
|
+
id: z.ZodUUID;
|
|
5106
|
+
local_id: z.ZodString;
|
|
5107
|
+
model_name: z.ZodNullable<z.ZodString>;
|
|
5108
|
+
model_provider: z.ZodString;
|
|
5109
|
+
owner_id: z.ZodUUID;
|
|
5110
|
+
parent_session_id: z.ZodNullable<z.ZodString>;
|
|
5111
|
+
published_at: z.ZodISODateTime;
|
|
5112
|
+
shared_at: z.ZodISODateTime;
|
|
5113
|
+
status: z.ZodEnum<{
|
|
5114
|
+
pending: "pending";
|
|
5115
|
+
rejected: "rejected";
|
|
5116
|
+
approved: "approved";
|
|
5117
|
+
retracted: "retracted";
|
|
5118
|
+
revoked: "revoked";
|
|
5119
|
+
}>;
|
|
5120
|
+
title: z.ZodNullable<z.ZodString>;
|
|
5121
|
+
tokens_in: z.ZodNullable<z.ZodInt>;
|
|
5122
|
+
tokens_out: z.ZodNullable<z.ZodInt>;
|
|
5123
|
+
turn_count: z.ZodNullable<z.ZodInt>;
|
|
5124
|
+
visibility: z.ZodEnum<{
|
|
5125
|
+
shared: "shared";
|
|
5126
|
+
private: "private";
|
|
5127
|
+
public: "public";
|
|
5128
|
+
}>;
|
|
5129
|
+
}, z.core.$strip>;
|
|
5130
|
+
export type VillageUserGroupShare = z.infer<typeof zVillageUserGroupShare>;
|
|
5131
|
+
export declare const zVillageVisibleGroup: z.ZodObject<{
|
|
5132
|
+
acceptance_mode: z.ZodEnum<{
|
|
5133
|
+
open: "open";
|
|
5134
|
+
verified_only: "verified_only";
|
|
5135
|
+
curated: "curated";
|
|
5136
|
+
}>;
|
|
5137
|
+
created_at: z.ZodISODateTime;
|
|
5138
|
+
created_by: z.ZodUUID;
|
|
5139
|
+
data_access: z.ZodEnum<{
|
|
5140
|
+
public: "public";
|
|
5141
|
+
members_only: "members_only";
|
|
5142
|
+
contributors: "contributors";
|
|
5143
|
+
}>;
|
|
5144
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5145
|
+
display_members: z.ZodBoolean;
|
|
5146
|
+
id: z.ZodUUID;
|
|
5147
|
+
linked_github_org: z.ZodNullable<z.ZodString>;
|
|
5148
|
+
member_count: z.ZodInt;
|
|
5149
|
+
member_since: z.ZodNullable<z.ZodISODateTime>;
|
|
5150
|
+
name: z.ZodString;
|
|
5151
|
+
role: z.ZodNullable<z.ZodEnum<{
|
|
5152
|
+
pending: "pending";
|
|
5153
|
+
contributor: "contributor";
|
|
5154
|
+
member: "member";
|
|
5155
|
+
owner: "owner";
|
|
5156
|
+
}>>;
|
|
5157
|
+
transcript_count: z.ZodInt;
|
|
5158
|
+
transcript_deletion_policy: z.ZodEnum<{
|
|
5159
|
+
user_choice: "user_choice";
|
|
5160
|
+
mandatory: "mandatory";
|
|
5161
|
+
}>;
|
|
5162
|
+
updated_at: z.ZodISODateTime;
|
|
5163
|
+
}, z.core.$strip>;
|
|
5164
|
+
export type VillageVisibleGroup = z.infer<typeof zVillageVisibleGroup>;
|
|
4118
5165
|
/**
|
|
4119
5166
|
* Visibility
|
|
4120
5167
|
*
|