@peasant-labs/schema 0.33.1 → 0.34.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.
- package/dist/fixtures/session-graph.d.ts +139 -1
- package/dist/index.js +10 -3
- package/dist/internal/generated/contract/zod.gen.d.ts +309 -0
- package/dist/internal/generated/contract/zod.gen.js +83 -0
- package/dist/internal/generated/enums.gen.d.ts +7 -0
- package/dist/internal/generated/enums.gen.js +8 -0
- package/dist/internal/generated/local-api.d.ts +90 -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/session-graph-fixtures.gen.d.ts +139 -1
- package/dist/internal/generated/session-graph-fixtures.gen.js +150 -0
- package/dist/internal/generated/versions.gen.d.ts +3 -3
- package/dist/internal/generated/versions.gen.js +3 -3
- package/dist/internal/generated/village-api.d.ts +910 -126
- package/package.json +1 -1
|
@@ -3126,6 +3126,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
3126
3126
|
"village-null-nested-group-count",
|
|
3127
3127
|
"local-sync-member-mirrors",
|
|
3128
3128
|
"local-sync-member-count-mismatch",
|
|
3129
|
+
"local-teammate-mirrors",
|
|
3130
|
+
"local-teammate-mirror-mismatch",
|
|
3129
3131
|
"local-search-member-mirrors",
|
|
3130
3132
|
"local-search-member-identity-mismatch",
|
|
3131
3133
|
"village-collective-member-mirrors",
|
|
@@ -7308,6 +7310,154 @@ export const canonicalSessionGraphFixtures = {
|
|
|
7308
7310
|
"valid": false
|
|
7309
7311
|
}
|
|
7310
7312
|
},
|
|
7313
|
+
{
|
|
7314
|
+
"name": "local-teammate-mirrors",
|
|
7315
|
+
"classification": "must-pass",
|
|
7316
|
+
"provenance": {
|
|
7317
|
+
"source": "requirement",
|
|
7318
|
+
"ref": "immediate-owner grouped read contract"
|
|
7319
|
+
},
|
|
7320
|
+
"mutation": {
|
|
7321
|
+
"description": "both grouped summaries carry the same recorded teammate identity"
|
|
7322
|
+
},
|
|
7323
|
+
"input": {
|
|
7324
|
+
"schema": "LocalHelperMembersPayload",
|
|
7325
|
+
"payload": {
|
|
7326
|
+
"members": [
|
|
7327
|
+
{
|
|
7328
|
+
"kind": "transcript",
|
|
7329
|
+
"transcript": {
|
|
7330
|
+
"session": {
|
|
7331
|
+
"id": "g1",
|
|
7332
|
+
"harness": "codex",
|
|
7333
|
+
"startTime": "2026-09-08T00:00:00Z",
|
|
7334
|
+
"durationMins": 1,
|
|
7335
|
+
"totalTokens": 13,
|
|
7336
|
+
"turnCount": 5,
|
|
7337
|
+
"toolCallCount": 0,
|
|
7338
|
+
"inputSubmissionCount": 1,
|
|
7339
|
+
"project": "example",
|
|
7340
|
+
"projectHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
7341
|
+
"teammate": {
|
|
7342
|
+
"team": "review-crew",
|
|
7343
|
+
"name": "parser-reviewer",
|
|
7344
|
+
"evidence": "native_dynamic_workflow"
|
|
7345
|
+
}
|
|
7346
|
+
},
|
|
7347
|
+
"sync": {
|
|
7348
|
+
"id": "g1",
|
|
7349
|
+
"harness": "codex",
|
|
7350
|
+
"projectName": "example",
|
|
7351
|
+
"projectHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
7352
|
+
"hostSlug": "host",
|
|
7353
|
+
"startTime": "2026-09-08T00:00:00Z",
|
|
7354
|
+
"durationMs": 60000,
|
|
7355
|
+
"totalTokens": 13,
|
|
7356
|
+
"turnCount": 5,
|
|
7357
|
+
"inputSubmissionCount": 1,
|
|
7358
|
+
"model": "codex",
|
|
7359
|
+
"syncStatus": "synced",
|
|
7360
|
+
"previouslyPushed": true,
|
|
7361
|
+
"teammate": {
|
|
7362
|
+
"team": "review-crew",
|
|
7363
|
+
"name": "parser-reviewer",
|
|
7364
|
+
"evidence": "native_dynamic_workflow"
|
|
7365
|
+
}
|
|
7366
|
+
}
|
|
7367
|
+
},
|
|
7368
|
+
"helperGroups": [
|
|
7369
|
+
{
|
|
7370
|
+
"groupId": "hg_g1",
|
|
7371
|
+
"purpose": "helper_review",
|
|
7372
|
+
"helperThreadCount": 1,
|
|
7373
|
+
"memberScope": "scope_g1"
|
|
7374
|
+
}
|
|
7375
|
+
]
|
|
7376
|
+
}
|
|
7377
|
+
],
|
|
7378
|
+
"page": 1,
|
|
7379
|
+
"limit": 1,
|
|
7380
|
+
"total": 1
|
|
7381
|
+
}
|
|
7382
|
+
},
|
|
7383
|
+
"expected": {
|
|
7384
|
+
"valid": true
|
|
7385
|
+
}
|
|
7386
|
+
},
|
|
7387
|
+
{
|
|
7388
|
+
"name": "local-teammate-mirror-mismatch",
|
|
7389
|
+
"classification": "must-fail",
|
|
7390
|
+
"provenance": {
|
|
7391
|
+
"source": "requirement",
|
|
7392
|
+
"ref": "immediate-owner grouped read contract"
|
|
7393
|
+
},
|
|
7394
|
+
"mutation": {
|
|
7395
|
+
"description": "sync member teammate cannot disagree with its saved session teammate"
|
|
7396
|
+
},
|
|
7397
|
+
"input": {
|
|
7398
|
+
"schema": "LocalHelperMembersPayload",
|
|
7399
|
+
"payload": {
|
|
7400
|
+
"members": [
|
|
7401
|
+
{
|
|
7402
|
+
"kind": "transcript",
|
|
7403
|
+
"transcript": {
|
|
7404
|
+
"session": {
|
|
7405
|
+
"id": "g1",
|
|
7406
|
+
"harness": "codex",
|
|
7407
|
+
"startTime": "2026-09-08T00:00:00Z",
|
|
7408
|
+
"durationMins": 1,
|
|
7409
|
+
"totalTokens": 13,
|
|
7410
|
+
"turnCount": 5,
|
|
7411
|
+
"toolCallCount": 0,
|
|
7412
|
+
"inputSubmissionCount": 1,
|
|
7413
|
+
"project": "example",
|
|
7414
|
+
"projectHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
7415
|
+
"teammate": {
|
|
7416
|
+
"team": "review-crew",
|
|
7417
|
+
"name": "parser-reviewer",
|
|
7418
|
+
"evidence": "native_dynamic_workflow"
|
|
7419
|
+
}
|
|
7420
|
+
},
|
|
7421
|
+
"sync": {
|
|
7422
|
+
"id": "g1",
|
|
7423
|
+
"harness": "codex",
|
|
7424
|
+
"projectName": "example",
|
|
7425
|
+
"projectHash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
7426
|
+
"hostSlug": "host",
|
|
7427
|
+
"startTime": "2026-09-08T00:00:00Z",
|
|
7428
|
+
"durationMs": 60000,
|
|
7429
|
+
"totalTokens": 13,
|
|
7430
|
+
"turnCount": 5,
|
|
7431
|
+
"inputSubmissionCount": 1,
|
|
7432
|
+
"model": "codex",
|
|
7433
|
+
"syncStatus": "synced",
|
|
7434
|
+
"previouslyPushed": true,
|
|
7435
|
+
"teammate": {
|
|
7436
|
+
"team": "review-crew",
|
|
7437
|
+
"name": "other-reviewer",
|
|
7438
|
+
"evidence": "native_dynamic_workflow"
|
|
7439
|
+
}
|
|
7440
|
+
}
|
|
7441
|
+
},
|
|
7442
|
+
"helperGroups": [
|
|
7443
|
+
{
|
|
7444
|
+
"groupId": "hg_g1",
|
|
7445
|
+
"purpose": "helper_review",
|
|
7446
|
+
"helperThreadCount": 1,
|
|
7447
|
+
"memberScope": "scope_g1"
|
|
7448
|
+
}
|
|
7449
|
+
]
|
|
7450
|
+
}
|
|
7451
|
+
],
|
|
7452
|
+
"page": 1,
|
|
7453
|
+
"limit": 1,
|
|
7454
|
+
"total": 1
|
|
7455
|
+
}
|
|
7456
|
+
},
|
|
7457
|
+
"expected": {
|
|
7458
|
+
"valid": false
|
|
7459
|
+
}
|
|
7460
|
+
},
|
|
7311
7461
|
{
|
|
7312
7462
|
"name": "local-search-member-mirrors",
|
|
7313
7463
|
"classification": "must-pass",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VillageAPIVersion: "0.
|
|
2
|
-
export declare const PeasantLocalAPIVersion: "0.
|
|
3
|
-
export declare const TypesVersion: "0.
|
|
1
|
+
export declare const VillageAPIVersion: "0.30.0";
|
|
2
|
+
export declare const PeasantLocalAPIVersion: "0.24.0";
|
|
3
|
+
export declare const TypesVersion: "0.37.0";
|
|
4
4
|
export declare const MetadataSchemaVersion: 12;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
|
|
2
|
-
export const VillageAPIVersion = "0.
|
|
3
|
-
export const PeasantLocalAPIVersion = "0.
|
|
4
|
-
export const TypesVersion = "0.
|
|
2
|
+
export const VillageAPIVersion = "0.30.0";
|
|
3
|
+
export const PeasantLocalAPIVersion = "0.24.0";
|
|
4
|
+
export const TypesVersion = "0.37.0";
|
|
5
5
|
export const MetadataSchemaVersion = 12;
|