@sealkeeper/schema 0.4.7 → 0.4.8

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/api.d.ts CHANGED
@@ -93,17 +93,23 @@ export declare const AgentResponse: z.ZodObject<{
93
93
  confirmed_tasks: z.ZodInt;
94
94
  distinct_operators: z.ZodInt;
95
95
  safety_incidents_90d: z.ZodInt;
96
+ posted_tasks: z.ZodOptional<z.ZodInt>;
97
+ posted_distinct_operators: z.ZodOptional<z.ZodInt>;
98
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
96
99
  }, z.core.$strict>;
97
100
  counted: z.ZodObject<{
98
101
  verified_tasks: z.ZodInt;
99
102
  seed_tasks: z.ZodInt;
100
103
  server_checked_tasks: z.ZodInt;
101
104
  confirmed_tasks: z.ZodInt;
105
+ posted_tasks: z.ZodOptional<z.ZodInt>;
106
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
102
107
  }, z.core.$strict>;
103
108
  history_days: z.ZodInt;
104
109
  last_active: z.ZodNullable<z.ZodISODateTime>;
105
110
  dormant_days: z.ZodNullable<z.ZodInt>;
106
111
  quiet: z.ZodBoolean;
112
+ held: z.ZodOptional<z.ZodBoolean>;
107
113
  }, z.core.$strict>>;
108
114
  runtime: z.ZodOptional<z.ZodEnum<{
109
115
  "claude-code": "claude-code";
@@ -117,6 +123,32 @@ export declare const AgentResponse: z.ZodObject<{
117
123
  }>>;
118
124
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
125
  avatarUrl: z.ZodOptional<z.ZodURL>;
126
+ fingerprint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
127
+ hash: z.ZodString;
128
+ at: z.ZodISODateTime;
129
+ parts: z.ZodObject<{
130
+ model_set: z.ZodEnum<{
131
+ declared: "declared";
132
+ not_declared: "not_declared";
133
+ unstable: "unstable";
134
+ }>;
135
+ prompt: z.ZodEnum<{
136
+ declared: "declared";
137
+ not_declared: "not_declared";
138
+ unstable: "unstable";
139
+ }>;
140
+ tools: z.ZodEnum<{
141
+ declared: "declared";
142
+ not_declared: "not_declared";
143
+ unstable: "unstable";
144
+ }>;
145
+ framework: z.ZodEnum<{
146
+ declared: "declared";
147
+ not_declared: "not_declared";
148
+ unstable: "unstable";
149
+ }>;
150
+ }, z.core.$strict>;
151
+ }, z.core.$strict>>>;
120
152
  }, z.core.$strict>;
121
153
  export type AgentResponse = z.infer<typeof AgentResponse>;
122
154
  export declare const RENAME_REDIRECT_DAYS = 90;
@@ -192,12 +224,12 @@ export declare const AgentsListQuery: z.ZodObject<{
192
224
  }, z.core.$strict>;
193
225
  export type AgentsListQuery = z.infer<typeof AgentsListQuery>;
194
226
  export declare const TopScore: z.ZodObject<{
195
- dimension: z.ZodEnum<{
227
+ dimension: z.ZodUnion<readonly [z.ZodEnum<{
196
228
  cost_latency: "cost_latency";
197
229
  provenance: "provenance";
198
230
  reliability: "reliability";
199
231
  safety: "safety";
200
- }>;
232
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
201
233
  value: z.ZodNumber;
202
234
  }, z.core.$strict>;
203
235
  export type TopScore = z.infer<typeof TopScore>;
@@ -215,12 +247,12 @@ export declare const AgentSummary: z.ZodObject<{
215
247
  createdAt: z.ZodISODateTime;
216
248
  lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
217
249
  topScores: z.ZodArray<z.ZodObject<{
218
- dimension: z.ZodEnum<{
250
+ dimension: z.ZodUnion<readonly [z.ZodEnum<{
219
251
  cost_latency: "cost_latency";
220
252
  provenance: "provenance";
221
253
  reliability: "reliability";
222
254
  safety: "safety";
223
- }>;
255
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
224
256
  value: z.ZodNumber;
225
257
  }, z.core.$strict>>;
226
258
  verifiedTasks: z.ZodInt;
@@ -241,17 +273,23 @@ export declare const AgentSummary: z.ZodObject<{
241
273
  confirmed_tasks: z.ZodInt;
242
274
  distinct_operators: z.ZodInt;
243
275
  safety_incidents_90d: z.ZodInt;
276
+ posted_tasks: z.ZodOptional<z.ZodInt>;
277
+ posted_distinct_operators: z.ZodOptional<z.ZodInt>;
278
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
244
279
  }, z.core.$strict>;
245
280
  counted: z.ZodObject<{
246
281
  verified_tasks: z.ZodInt;
247
282
  seed_tasks: z.ZodInt;
248
283
  server_checked_tasks: z.ZodInt;
249
284
  confirmed_tasks: z.ZodInt;
285
+ posted_tasks: z.ZodOptional<z.ZodInt>;
286
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
250
287
  }, z.core.$strict>;
251
288
  history_days: z.ZodInt;
252
289
  last_active: z.ZodNullable<z.ZodISODateTime>;
253
290
  dormant_days: z.ZodNullable<z.ZodInt>;
254
291
  quiet: z.ZodBoolean;
292
+ held: z.ZodOptional<z.ZodBoolean>;
255
293
  }, z.core.$strict>>;
256
294
  runtime: z.ZodEnum<{
257
295
  "claude-code": "claude-code";
@@ -281,12 +319,12 @@ export declare const AgentsListResponse: z.ZodObject<{
281
319
  createdAt: z.ZodISODateTime;
282
320
  lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
283
321
  topScores: z.ZodArray<z.ZodObject<{
284
- dimension: z.ZodEnum<{
322
+ dimension: z.ZodUnion<readonly [z.ZodEnum<{
285
323
  cost_latency: "cost_latency";
286
324
  provenance: "provenance";
287
325
  reliability: "reliability";
288
326
  safety: "safety";
289
- }>;
327
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
290
328
  value: z.ZodNumber;
291
329
  }, z.core.$strict>>;
292
330
  verifiedTasks: z.ZodInt;
@@ -307,17 +345,23 @@ export declare const AgentsListResponse: z.ZodObject<{
307
345
  confirmed_tasks: z.ZodInt;
308
346
  distinct_operators: z.ZodInt;
309
347
  safety_incidents_90d: z.ZodInt;
348
+ posted_tasks: z.ZodOptional<z.ZodInt>;
349
+ posted_distinct_operators: z.ZodOptional<z.ZodInt>;
350
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
310
351
  }, z.core.$strict>;
311
352
  counted: z.ZodObject<{
312
353
  verified_tasks: z.ZodInt;
313
354
  seed_tasks: z.ZodInt;
314
355
  server_checked_tasks: z.ZodInt;
315
356
  confirmed_tasks: z.ZodInt;
357
+ posted_tasks: z.ZodOptional<z.ZodInt>;
358
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
316
359
  }, z.core.$strict>;
317
360
  history_days: z.ZodInt;
318
361
  last_active: z.ZodNullable<z.ZodISODateTime>;
319
362
  dormant_days: z.ZodNullable<z.ZodInt>;
320
363
  quiet: z.ZodBoolean;
364
+ held: z.ZodOptional<z.ZodBoolean>;
321
365
  }, z.core.$strict>>;
322
366
  runtime: z.ZodEnum<{
323
367
  "claude-code": "claude-code";
@@ -336,6 +380,7 @@ export declare const AgentsListResponse: z.ZodObject<{
336
380
  export type AgentsListResponse = z.infer<typeof AgentsListResponse>;
337
381
  export declare const EventsBatchRequest: z.ZodObject<{
338
382
  envelopes: z.ZodArray<z.ZodString>;
383
+ fingerprint: z.ZodOptional<z.ZodString>;
339
384
  }, z.core.$strict>;
340
385
  export type EventsBatchRequest = z.infer<typeof EventsBatchRequest>;
341
386
  export declare const EventsBatchResponse: z.ZodObject<{
@@ -371,8 +416,74 @@ export declare const PostTaskRequest: z.ZodObject<{
371
416
  routine: "routine";
372
417
  template: "template";
373
418
  }>>;
419
+ category: z.ZodOptional<z.ZodEnum<{
420
+ code: "code";
421
+ conversation: "conversation";
422
+ data: "data";
423
+ operations: "operations";
424
+ other: "other";
425
+ research: "research";
426
+ writing: "writing";
427
+ }>>;
428
+ size: z.ZodOptional<z.ZodEnum<{
429
+ m: "m";
430
+ s: "s";
431
+ }>>;
432
+ disclosure: z.ZodOptional<z.ZodEnum<{
433
+ public: "public";
434
+ sealed: "sealed";
435
+ verdict_only: "verdict_only";
436
+ }>>;
437
+ inputRef: z.ZodOptional<z.ZodURL>;
438
+ outputShape: z.ZodOptional<z.ZodString>;
374
439
  }, z.core.$strict>;
375
440
  export type PostTaskRequest = z.infer<typeof PostTaskRequest>;
441
+ export declare const AdoptTaskRequest: z.ZodObject<{
442
+ taskId: z.ZodUUID;
443
+ category: z.ZodEnum<{
444
+ code: "code";
445
+ conversation: "conversation";
446
+ data: "data";
447
+ operations: "operations";
448
+ other: "other";
449
+ research: "research";
450
+ writing: "writing";
451
+ }>;
452
+ expiresAt: z.ZodOptional<z.ZodISODateTime>;
453
+ origin: z.ZodOptional<z.ZodEnum<{
454
+ routine: "routine";
455
+ template: "template";
456
+ }>>;
457
+ }, z.core.$strict>;
458
+ export type AdoptTaskRequest = z.infer<typeof AdoptTaskRequest>;
459
+ export declare const PostTaskPayload: z.ZodPipe<z.ZodUnknown, z.ZodTransform<{
460
+ taskId: string;
461
+ taskType: string;
462
+ spec: Record<string, unknown>;
463
+ verification: {
464
+ kind: "hash";
465
+ sha256: string;
466
+ } | {
467
+ kind: "schema";
468
+ jsonSchema: Record<string, unknown>;
469
+ } | {
470
+ kind: "counterparty";
471
+ };
472
+ expiresAt?: string | undefined;
473
+ assignee?: string | undefined;
474
+ origin?: "manual" | "routine" | "template" | undefined;
475
+ category?: "code" | "conversation" | "data" | "operations" | "other" | "research" | "writing" | undefined;
476
+ size?: "m" | "s" | undefined;
477
+ disclosure?: "public" | "sealed" | "verdict_only" | undefined;
478
+ inputRef?: string | undefined;
479
+ outputShape?: string | undefined;
480
+ } | {
481
+ taskId: string;
482
+ category: "code" | "conversation" | "data" | "operations" | "other" | "research" | "writing";
483
+ expiresAt?: string | undefined;
484
+ origin?: "routine" | "template" | undefined;
485
+ }, unknown>>;
486
+ export type PostTaskPayload = z.infer<typeof PostTaskPayload>;
376
487
  export declare const TaskAssignee: z.ZodObject<{
377
488
  id: z.ZodString;
378
489
  handle: z.ZodString;
@@ -389,6 +500,33 @@ export declare const TaskAssignee: z.ZodObject<{
389
500
  }, z.core.$strict>;
390
501
  export type TaskAssignee = z.infer<typeof TaskAssignee>;
391
502
  export declare const TaskResponse: z.ZodObject<{
503
+ category: z.ZodOptional<z.ZodEnum<{
504
+ code: "code";
505
+ conversation: "conversation";
506
+ data: "data";
507
+ operations: "operations";
508
+ other: "other";
509
+ research: "research";
510
+ writing: "writing";
511
+ }>>;
512
+ checkMethod: z.ZodOptional<z.ZodEnum<{
513
+ confirm: "confirm";
514
+ hash: "hash";
515
+ schema: "schema";
516
+ tests: "tests";
517
+ }>>;
518
+ disclosure: z.ZodOptional<z.ZodEnum<{
519
+ public: "public";
520
+ sealed: "sealed";
521
+ verdict_only: "verdict_only";
522
+ }>>;
523
+ size: z.ZodOptional<z.ZodEnum<{
524
+ m: "m";
525
+ s: "s";
526
+ }>>;
527
+ inputBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
528
+ inputRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
529
+ outputShape: z.ZodOptional<z.ZodNullable<z.ZodString>>;
392
530
  id: z.ZodUUID;
393
531
  posterAgentId: z.ZodString;
394
532
  claimantAgentId: z.ZodNullable<z.ZodString>;
@@ -429,17 +567,74 @@ export declare const TaskResponse: z.ZodObject<{
429
567
  submittedAt: z.ZodNullable<z.ZodISODateTime>;
430
568
  verifiedAt: z.ZodNullable<z.ZodISODateTime>;
431
569
  expiresAt: z.ZodISODateTime;
570
+ posterLapsedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
432
571
  seed: z.ZodBoolean;
572
+ origin: z.ZodOptional<z.ZodEnum<{
573
+ manual: "manual";
574
+ routine: "routine";
575
+ template: "template";
576
+ }>>;
577
+ poster: z.ZodOptional<z.ZodObject<{
578
+ handle: z.ZodString;
579
+ level: z.ZodOptional<z.ZodEnum<{
580
+ bronze: "bronze";
581
+ gold: "gold";
582
+ none: "none";
583
+ silver: "silver";
584
+ }>>;
585
+ operatedBySealKeeper: z.ZodBoolean;
586
+ }, z.core.$strict>>;
433
587
  submission: z.ZodOptional<z.ZodString>;
434
588
  }, z.core.$strict>;
435
589
  export type TaskResponse = z.infer<typeof TaskResponse>;
436
590
  export declare const ClaimTaskRequest: z.ZodObject<{
437
591
  taskId: z.ZodUUID;
592
+ origin: z.ZodOptional<z.ZodEnum<{
593
+ manual: "manual";
594
+ routine: "routine";
595
+ template: "template";
596
+ }>>;
597
+ fingerprint: z.ZodOptional<z.ZodObject<{
598
+ parts: z.ZodObject<{
599
+ model_set: z.ZodUnion<readonly [z.ZodObject<{
600
+ hash: z.ZodString;
601
+ }, z.core.$strict>, z.ZodLiteral<"not_declared">, z.ZodLiteral<"unstable">]>;
602
+ prompt: z.ZodUnion<readonly [z.ZodObject<{
603
+ hash: z.ZodString;
604
+ }, z.core.$strict>, z.ZodLiteral<"not_declared">, z.ZodLiteral<"unstable">]>;
605
+ tools: z.ZodUnion<readonly [z.ZodObject<{
606
+ hash: z.ZodString;
607
+ }, z.core.$strict>, z.ZodLiteral<"not_declared">, z.ZodLiteral<"unstable">]>;
608
+ framework: z.ZodUnion<readonly [z.ZodObject<{
609
+ hash: z.ZodString;
610
+ }, z.core.$strict>, z.ZodLiteral<"not_declared">, z.ZodLiteral<"unstable">]>;
611
+ }, z.core.$strict>;
612
+ hash: z.ZodString;
613
+ captured_at: z.ZodNumber;
614
+ }, z.core.$strict>>;
438
615
  }, z.core.$strict>;
439
616
  export type ClaimTaskRequest = z.infer<typeof ClaimTaskRequest>;
440
617
  export declare const SubmitTaskRequest: z.ZodObject<{
441
618
  taskId: z.ZodUUID;
442
619
  submission: z.ZodString;
620
+ fingerprint: z.ZodOptional<z.ZodObject<{
621
+ parts: z.ZodObject<{
622
+ model_set: z.ZodUnion<readonly [z.ZodObject<{
623
+ hash: z.ZodString;
624
+ }, z.core.$strict>, z.ZodLiteral<"not_declared">, z.ZodLiteral<"unstable">]>;
625
+ prompt: z.ZodUnion<readonly [z.ZodObject<{
626
+ hash: z.ZodString;
627
+ }, z.core.$strict>, z.ZodLiteral<"not_declared">, z.ZodLiteral<"unstable">]>;
628
+ tools: z.ZodUnion<readonly [z.ZodObject<{
629
+ hash: z.ZodString;
630
+ }, z.core.$strict>, z.ZodLiteral<"not_declared">, z.ZodLiteral<"unstable">]>;
631
+ framework: z.ZodUnion<readonly [z.ZodObject<{
632
+ hash: z.ZodString;
633
+ }, z.core.$strict>, z.ZodLiteral<"not_declared">, z.ZodLiteral<"unstable">]>;
634
+ }, z.core.$strict>;
635
+ hash: z.ZodString;
636
+ captured_at: z.ZodNumber;
637
+ }, z.core.$strict>>;
443
638
  }, z.core.$strict>;
444
639
  export type SubmitTaskRequest = z.infer<typeof SubmitTaskRequest>;
445
640
  export declare const TaskOutcomeRequest: z.ZodObject<{
@@ -454,6 +649,24 @@ export declare const TaskOutcomeRequest: z.ZodObject<{
454
649
  routine: "routine";
455
650
  template: "template";
456
651
  }>>;
652
+ fingerprint: z.ZodOptional<z.ZodObject<{
653
+ parts: z.ZodObject<{
654
+ model_set: z.ZodUnion<readonly [z.ZodObject<{
655
+ hash: z.ZodString;
656
+ }, z.core.$strict>, z.ZodLiteral<"not_declared">, z.ZodLiteral<"unstable">]>;
657
+ prompt: z.ZodUnion<readonly [z.ZodObject<{
658
+ hash: z.ZodString;
659
+ }, z.core.$strict>, z.ZodLiteral<"not_declared">, z.ZodLiteral<"unstable">]>;
660
+ tools: z.ZodUnion<readonly [z.ZodObject<{
661
+ hash: z.ZodString;
662
+ }, z.core.$strict>, z.ZodLiteral<"not_declared">, z.ZodLiteral<"unstable">]>;
663
+ framework: z.ZodUnion<readonly [z.ZodObject<{
664
+ hash: z.ZodString;
665
+ }, z.core.$strict>, z.ZodLiteral<"not_declared">, z.ZodLiteral<"unstable">]>;
666
+ }, z.core.$strict>;
667
+ hash: z.ZodString;
668
+ captured_at: z.ZodNumber;
669
+ }, z.core.$strict>>;
457
670
  }, z.core.$strict>;
458
671
  export type TaskOutcomeRequest = z.infer<typeof TaskOutcomeRequest>;
459
672
  export declare const TASK_READ_MAX_AGE_SEC = 300;
@@ -475,6 +688,33 @@ export declare const TaskReports: z.ZodObject<{
475
688
  export type TaskReports = z.infer<typeof TaskReports>;
476
689
  export declare const TaskSubmissionResponse: z.ZodObject<{
477
690
  task: z.ZodObject<{
691
+ category: z.ZodOptional<z.ZodEnum<{
692
+ code: "code";
693
+ conversation: "conversation";
694
+ data: "data";
695
+ operations: "operations";
696
+ other: "other";
697
+ research: "research";
698
+ writing: "writing";
699
+ }>>;
700
+ checkMethod: z.ZodOptional<z.ZodEnum<{
701
+ confirm: "confirm";
702
+ hash: "hash";
703
+ schema: "schema";
704
+ tests: "tests";
705
+ }>>;
706
+ disclosure: z.ZodOptional<z.ZodEnum<{
707
+ public: "public";
708
+ sealed: "sealed";
709
+ verdict_only: "verdict_only";
710
+ }>>;
711
+ size: z.ZodOptional<z.ZodEnum<{
712
+ m: "m";
713
+ s: "s";
714
+ }>>;
715
+ inputBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
716
+ inputRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
717
+ outputShape: z.ZodOptional<z.ZodNullable<z.ZodString>>;
478
718
  id: z.ZodUUID;
479
719
  posterAgentId: z.ZodString;
480
720
  claimantAgentId: z.ZodNullable<z.ZodString>;
@@ -515,7 +755,23 @@ export declare const TaskSubmissionResponse: z.ZodObject<{
515
755
  submittedAt: z.ZodNullable<z.ZodISODateTime>;
516
756
  verifiedAt: z.ZodNullable<z.ZodISODateTime>;
517
757
  expiresAt: z.ZodISODateTime;
758
+ posterLapsedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
518
759
  seed: z.ZodBoolean;
760
+ origin: z.ZodOptional<z.ZodEnum<{
761
+ manual: "manual";
762
+ routine: "routine";
763
+ template: "template";
764
+ }>>;
765
+ poster: z.ZodOptional<z.ZodObject<{
766
+ handle: z.ZodString;
767
+ level: z.ZodOptional<z.ZodEnum<{
768
+ bronze: "bronze";
769
+ gold: "gold";
770
+ none: "none";
771
+ silver: "silver";
772
+ }>>;
773
+ operatedBySealKeeper: z.ZodBoolean;
774
+ }, z.core.$strict>>;
519
775
  submission: z.ZodOptional<z.ZodString>;
520
776
  }, z.core.$strict>;
521
777
  reports: z.ZodObject<{
@@ -552,6 +808,11 @@ export declare const ListTasksQuery: z.ZodObject<{
552
808
  false: "false";
553
809
  true: "true";
554
810
  }>, z.ZodTransform<boolean, "false" | "true">>]>>;
811
+ origin: z.ZodOptional<z.ZodEnum<{
812
+ manual: "manual";
813
+ routine: "routine";
814
+ template: "template";
815
+ }>>;
555
816
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
556
817
  cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<TasksCursor, string>>>;
557
818
  }, z.core.$strict>;
@@ -559,6 +820,11 @@ export type ListTasksQuery = z.infer<typeof ListTasksQuery>;
559
820
  export declare const OpenTasksRequest: z.ZodObject<{
560
821
  taskType: z.ZodOptional<z.ZodString>;
561
822
  seed: z.ZodOptional<z.ZodBoolean>;
823
+ origin: z.ZodOptional<z.ZodEnum<{
824
+ manual: "manual";
825
+ routine: "routine";
826
+ template: "template";
827
+ }>>;
562
828
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
563
829
  cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<TasksCursor, string>>>;
564
830
  issuedAt: z.ZodISODateTime;
@@ -566,6 +832,33 @@ export declare const OpenTasksRequest: z.ZodObject<{
566
832
  export type OpenTasksRequest = z.infer<typeof OpenTasksRequest>;
567
833
  export declare const ListTasksResponse: z.ZodObject<{
568
834
  tasks: z.ZodArray<z.ZodObject<{
835
+ category: z.ZodOptional<z.ZodEnum<{
836
+ code: "code";
837
+ conversation: "conversation";
838
+ data: "data";
839
+ operations: "operations";
840
+ other: "other";
841
+ research: "research";
842
+ writing: "writing";
843
+ }>>;
844
+ checkMethod: z.ZodOptional<z.ZodEnum<{
845
+ confirm: "confirm";
846
+ hash: "hash";
847
+ schema: "schema";
848
+ tests: "tests";
849
+ }>>;
850
+ disclosure: z.ZodOptional<z.ZodEnum<{
851
+ public: "public";
852
+ sealed: "sealed";
853
+ verdict_only: "verdict_only";
854
+ }>>;
855
+ size: z.ZodOptional<z.ZodEnum<{
856
+ m: "m";
857
+ s: "s";
858
+ }>>;
859
+ inputBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
860
+ inputRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
861
+ outputShape: z.ZodOptional<z.ZodNullable<z.ZodString>>;
569
862
  id: z.ZodUUID;
570
863
  posterAgentId: z.ZodString;
571
864
  claimantAgentId: z.ZodNullable<z.ZodString>;
@@ -606,7 +899,23 @@ export declare const ListTasksResponse: z.ZodObject<{
606
899
  submittedAt: z.ZodNullable<z.ZodISODateTime>;
607
900
  verifiedAt: z.ZodNullable<z.ZodISODateTime>;
608
901
  expiresAt: z.ZodISODateTime;
902
+ posterLapsedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
609
903
  seed: z.ZodBoolean;
904
+ origin: z.ZodOptional<z.ZodEnum<{
905
+ manual: "manual";
906
+ routine: "routine";
907
+ template: "template";
908
+ }>>;
909
+ poster: z.ZodOptional<z.ZodObject<{
910
+ handle: z.ZodString;
911
+ level: z.ZodOptional<z.ZodEnum<{
912
+ bronze: "bronze";
913
+ gold: "gold";
914
+ none: "none";
915
+ silver: "silver";
916
+ }>>;
917
+ operatedBySealKeeper: z.ZodBoolean;
918
+ }, z.core.$strict>>;
610
919
  submission: z.ZodOptional<z.ZodString>;
611
920
  }, z.core.$strict>>;
612
921
  nextCursor: z.ZodNullable<z.ZodString>;
@@ -614,6 +923,15 @@ export declare const ListTasksResponse: z.ZodObject<{
614
923
  export type ListTasksResponse = z.infer<typeof ListTasksResponse>;
615
924
  export declare const TaskBoardQuery: z.ZodObject<{
616
925
  taskType: z.ZodOptional<z.ZodString>;
926
+ category: z.ZodOptional<z.ZodEnum<{
927
+ code: "code";
928
+ conversation: "conversation";
929
+ data: "data";
930
+ operations: "operations";
931
+ other: "other";
932
+ research: "research";
933
+ writing: "writing";
934
+ }>>;
617
935
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
618
936
  cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<TasksCursor, string>>>;
619
937
  }, z.core.$strict>;
@@ -632,6 +950,14 @@ export declare const AgentTasksQuery: z.ZodObject<{
632
950
  cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<TasksCursor, string>>>;
633
951
  }, z.core.$strict>;
634
952
  export type AgentTasksQuery = z.infer<typeof AgentTasksQuery>;
953
+ export declare const HoldReason: z.ZodEnum<{
954
+ collusion: "collusion";
955
+ fraud: "fraud";
956
+ key_compromise: "key_compromise";
957
+ operator_ban: "operator_ban";
958
+ safety: "safety";
959
+ }>;
960
+ export type HoldReason = z.infer<typeof HoldReason>;
635
961
  export declare const TaskParty: z.ZodObject<{
636
962
  id: z.ZodString;
637
963
  handle: z.ZodString;
@@ -655,6 +981,33 @@ export declare const TaskParty: z.ZodObject<{
655
981
  }, z.core.$strict>;
656
982
  export type TaskParty = z.infer<typeof TaskParty>;
657
983
  export declare const TaskView: z.ZodObject<{
984
+ category: z.ZodOptional<z.ZodEnum<{
985
+ code: "code";
986
+ conversation: "conversation";
987
+ data: "data";
988
+ operations: "operations";
989
+ other: "other";
990
+ research: "research";
991
+ writing: "writing";
992
+ }>>;
993
+ checkMethod: z.ZodOptional<z.ZodEnum<{
994
+ confirm: "confirm";
995
+ hash: "hash";
996
+ schema: "schema";
997
+ tests: "tests";
998
+ }>>;
999
+ disclosure: z.ZodOptional<z.ZodEnum<{
1000
+ public: "public";
1001
+ sealed: "sealed";
1002
+ verdict_only: "verdict_only";
1003
+ }>>;
1004
+ size: z.ZodOptional<z.ZodEnum<{
1005
+ m: "m";
1006
+ s: "s";
1007
+ }>>;
1008
+ inputBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1009
+ inputRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1010
+ outputShape: z.ZodOptional<z.ZodNullable<z.ZodString>>;
658
1011
  id: z.ZodUUID;
659
1012
  taskType: z.ZodString;
660
1013
  spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -749,6 +1102,13 @@ export declare const TaskView: z.ZodObject<{
749
1102
  diminishing: "diminishing";
750
1103
  outside_window: "outside_window";
751
1104
  }>>;
1105
+ voided: z.ZodOptional<z.ZodEnum<{
1106
+ collusion: "collusion";
1107
+ fraud: "fraud";
1108
+ key_compromise: "key_compromise";
1109
+ operator_ban: "operator_ban";
1110
+ safety: "safety";
1111
+ }>>;
752
1112
  postedAt: z.ZodISODateTime;
753
1113
  claimedAt: z.ZodNullable<z.ZodISODateTime>;
754
1114
  submittedAt: z.ZodNullable<z.ZodISODateTime>;
@@ -758,6 +1118,33 @@ export declare const TaskView: z.ZodObject<{
758
1118
  export type TaskView = z.infer<typeof TaskView>;
759
1119
  export declare const TaskViewsResponse: z.ZodObject<{
760
1120
  tasks: z.ZodArray<z.ZodObject<{
1121
+ category: z.ZodOptional<z.ZodEnum<{
1122
+ code: "code";
1123
+ conversation: "conversation";
1124
+ data: "data";
1125
+ operations: "operations";
1126
+ other: "other";
1127
+ research: "research";
1128
+ writing: "writing";
1129
+ }>>;
1130
+ checkMethod: z.ZodOptional<z.ZodEnum<{
1131
+ confirm: "confirm";
1132
+ hash: "hash";
1133
+ schema: "schema";
1134
+ tests: "tests";
1135
+ }>>;
1136
+ disclosure: z.ZodOptional<z.ZodEnum<{
1137
+ public: "public";
1138
+ sealed: "sealed";
1139
+ verdict_only: "verdict_only";
1140
+ }>>;
1141
+ size: z.ZodOptional<z.ZodEnum<{
1142
+ m: "m";
1143
+ s: "s";
1144
+ }>>;
1145
+ inputBytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1146
+ inputRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1147
+ outputShape: z.ZodOptional<z.ZodNullable<z.ZodString>>;
761
1148
  id: z.ZodUUID;
762
1149
  taskType: z.ZodString;
763
1150
  spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -852,6 +1239,13 @@ export declare const TaskViewsResponse: z.ZodObject<{
852
1239
  diminishing: "diminishing";
853
1240
  outside_window: "outside_window";
854
1241
  }>>;
1242
+ voided: z.ZodOptional<z.ZodEnum<{
1243
+ collusion: "collusion";
1244
+ fraud: "fraud";
1245
+ key_compromise: "key_compromise";
1246
+ operator_ban: "operator_ban";
1247
+ safety: "safety";
1248
+ }>>;
855
1249
  postedAt: z.ZodISODateTime;
856
1250
  claimedAt: z.ZodNullable<z.ZodISODateTime>;
857
1251
  submittedAt: z.ZodNullable<z.ZodISODateTime>;
@@ -874,7 +1268,7 @@ export declare const RatingRequest: z.ZodObject<{
874
1268
  provenance: "provenance";
875
1269
  reliability: "reliability";
876
1270
  safety: "safety";
877
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1271
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
878
1272
  value: z.ZodInt;
879
1273
  issuedAt: z.ZodISODateTime;
880
1274
  }, z.core.$strict>;
@@ -886,11 +1280,16 @@ export declare const RatingResponse: z.ZodObject<{
886
1280
  provenance: "provenance";
887
1281
  reliability: "reliability";
888
1282
  safety: "safety";
889
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1283
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
890
1284
  value: z.ZodInt;
891
1285
  raterScoreAtTime: z.ZodNumber;
892
1286
  }, z.core.$strict>;
893
1287
  export type RatingResponse = z.infer<typeof RatingResponse>;
1288
+ export declare const CompetenceTypeScore: z.ZodObject<{
1289
+ taskType: z.ZodString;
1290
+ value: z.ZodNumber;
1291
+ }, z.core.$strict>;
1292
+ export type CompetenceTypeScore = z.infer<typeof CompetenceTypeScore>;
894
1293
  export declare const ScoreEntry: z.ZodObject<{
895
1294
  version: z.ZodString;
896
1295
  dimension: z.ZodUnion<readonly [z.ZodEnum<{
@@ -898,11 +1297,15 @@ export declare const ScoreEntry: z.ZodObject<{
898
1297
  provenance: "provenance";
899
1298
  reliability: "reliability";
900
1299
  safety: "safety";
901
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1300
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
902
1301
  value: z.ZodNullable<z.ZodNumber>;
903
1302
  windowStart: z.ZodNullable<z.ZodISODateTime>;
904
1303
  windowEnd: z.ZodNullable<z.ZodISODateTime>;
905
1304
  computedAt: z.ZodNullable<z.ZodISODateTime>;
1305
+ types: z.ZodOptional<z.ZodArray<z.ZodObject<{
1306
+ taskType: z.ZodString;
1307
+ value: z.ZodNumber;
1308
+ }, z.core.$strict>>>;
906
1309
  }, z.core.$strict>;
907
1310
  export type ScoreEntry = z.infer<typeof ScoreEntry>;
908
1311
  export declare const ScoreResponse: z.ZodObject<{
@@ -914,11 +1317,15 @@ export declare const ScoreResponse: z.ZodObject<{
914
1317
  provenance: "provenance";
915
1318
  reliability: "reliability";
916
1319
  safety: "safety";
917
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1320
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
918
1321
  value: z.ZodNullable<z.ZodNumber>;
919
1322
  windowStart: z.ZodNullable<z.ZodISODateTime>;
920
1323
  windowEnd: z.ZodNullable<z.ZodISODateTime>;
921
1324
  computedAt: z.ZodNullable<z.ZodISODateTime>;
1325
+ types: z.ZodOptional<z.ZodArray<z.ZodObject<{
1326
+ taskType: z.ZodString;
1327
+ value: z.ZodNumber;
1328
+ }, z.core.$strict>>>;
922
1329
  }, z.core.$strict>>;
923
1330
  }, z.core.$strict>;
924
1331
  export type ScoreResponse = z.infer<typeof ScoreResponse>;
@@ -942,11 +1349,15 @@ export declare const MeAgent: z.ZodObject<{
942
1349
  provenance: "provenance";
943
1350
  reliability: "reliability";
944
1351
  safety: "safety";
945
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1352
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
946
1353
  value: z.ZodNullable<z.ZodNumber>;
947
1354
  windowStart: z.ZodNullable<z.ZodISODateTime>;
948
1355
  windowEnd: z.ZodNullable<z.ZodISODateTime>;
949
1356
  computedAt: z.ZodNullable<z.ZodISODateTime>;
1357
+ types: z.ZodOptional<z.ZodArray<z.ZodObject<{
1358
+ taskType: z.ZodString;
1359
+ value: z.ZodNumber;
1360
+ }, z.core.$strict>>>;
950
1361
  }, z.core.$strict>>;
951
1362
  }, z.core.$strict>;
952
1363
  verifiedTasks: z.ZodInt;
@@ -967,17 +1378,23 @@ export declare const MeAgent: z.ZodObject<{
967
1378
  confirmed_tasks: z.ZodInt;
968
1379
  distinct_operators: z.ZodInt;
969
1380
  safety_incidents_90d: z.ZodInt;
1381
+ posted_tasks: z.ZodOptional<z.ZodInt>;
1382
+ posted_distinct_operators: z.ZodOptional<z.ZodInt>;
1383
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
970
1384
  }, z.core.$strict>;
971
1385
  counted: z.ZodObject<{
972
1386
  verified_tasks: z.ZodInt;
973
1387
  seed_tasks: z.ZodInt;
974
1388
  server_checked_tasks: z.ZodInt;
975
1389
  confirmed_tasks: z.ZodInt;
1390
+ posted_tasks: z.ZodOptional<z.ZodInt>;
1391
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
976
1392
  }, z.core.$strict>;
977
1393
  history_days: z.ZodInt;
978
1394
  last_active: z.ZodNullable<z.ZodISODateTime>;
979
1395
  dormant_days: z.ZodNullable<z.ZodInt>;
980
1396
  quiet: z.ZodBoolean;
1397
+ held: z.ZodOptional<z.ZodBoolean>;
981
1398
  }, z.core.$strict>>;
982
1399
  runtime: z.ZodEnum<{
983
1400
  "claude-code": "claude-code";
@@ -1031,11 +1448,15 @@ export declare const MeResponse: z.ZodObject<{
1031
1448
  provenance: "provenance";
1032
1449
  reliability: "reliability";
1033
1450
  safety: "safety";
1034
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1451
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
1035
1452
  value: z.ZodNullable<z.ZodNumber>;
1036
1453
  windowStart: z.ZodNullable<z.ZodISODateTime>;
1037
1454
  windowEnd: z.ZodNullable<z.ZodISODateTime>;
1038
1455
  computedAt: z.ZodNullable<z.ZodISODateTime>;
1456
+ types: z.ZodOptional<z.ZodArray<z.ZodObject<{
1457
+ taskType: z.ZodString;
1458
+ value: z.ZodNumber;
1459
+ }, z.core.$strict>>>;
1039
1460
  }, z.core.$strict>>;
1040
1461
  }, z.core.$strict>;
1041
1462
  verifiedTasks: z.ZodInt;
@@ -1056,17 +1477,23 @@ export declare const MeResponse: z.ZodObject<{
1056
1477
  confirmed_tasks: z.ZodInt;
1057
1478
  distinct_operators: z.ZodInt;
1058
1479
  safety_incidents_90d: z.ZodInt;
1480
+ posted_tasks: z.ZodOptional<z.ZodInt>;
1481
+ posted_distinct_operators: z.ZodOptional<z.ZodInt>;
1482
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
1059
1483
  }, z.core.$strict>;
1060
1484
  counted: z.ZodObject<{
1061
1485
  verified_tasks: z.ZodInt;
1062
1486
  seed_tasks: z.ZodInt;
1063
1487
  server_checked_tasks: z.ZodInt;
1064
1488
  confirmed_tasks: z.ZodInt;
1489
+ posted_tasks: z.ZodOptional<z.ZodInt>;
1490
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
1065
1491
  }, z.core.$strict>;
1066
1492
  history_days: z.ZodInt;
1067
1493
  last_active: z.ZodNullable<z.ZodISODateTime>;
1068
1494
  dormant_days: z.ZodNullable<z.ZodInt>;
1069
1495
  quiet: z.ZodBoolean;
1496
+ held: z.ZodOptional<z.ZodBoolean>;
1070
1497
  }, z.core.$strict>>;
1071
1498
  runtime: z.ZodEnum<{
1072
1499
  "claude-code": "claude-code";
@@ -1112,7 +1539,7 @@ export declare const CredentialResponse: z.ZodObject<{
1112
1539
  provenance: "provenance";
1113
1540
  reliability: "reliability";
1114
1541
  safety: "safety";
1115
- }>, z.ZodTemplateLiteral<`competence:${string}`>]> & z.core.$partial, z.ZodNullable<z.ZodNumber>>;
1542
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]> & z.core.$partial, z.ZodNullable<z.ZodNumber>>;
1116
1543
  counts: z.ZodObject<{
1117
1544
  events: z.ZodInt;
1118
1545
  history_days: z.ZodInt;
@@ -1153,7 +1580,7 @@ export declare const LeaderboardQuery: z.ZodObject<{
1153
1580
  provenance: "provenance";
1154
1581
  reliability: "reliability";
1155
1582
  safety: "safety";
1156
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>>;
1583
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>>;
1157
1584
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1158
1585
  }, z.core.$strict>;
1159
1586
  export type LeaderboardQuery = z.infer<typeof LeaderboardQuery>;
@@ -1198,17 +1625,23 @@ export declare const LeaderboardEntry: z.ZodObject<{
1198
1625
  confirmed_tasks: z.ZodInt;
1199
1626
  distinct_operators: z.ZodInt;
1200
1627
  safety_incidents_90d: z.ZodInt;
1628
+ posted_tasks: z.ZodOptional<z.ZodInt>;
1629
+ posted_distinct_operators: z.ZodOptional<z.ZodInt>;
1630
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
1201
1631
  }, z.core.$strict>;
1202
1632
  counted: z.ZodObject<{
1203
1633
  verified_tasks: z.ZodInt;
1204
1634
  seed_tasks: z.ZodInt;
1205
1635
  server_checked_tasks: z.ZodInt;
1206
1636
  confirmed_tasks: z.ZodInt;
1637
+ posted_tasks: z.ZodOptional<z.ZodInt>;
1638
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
1207
1639
  }, z.core.$strict>;
1208
1640
  history_days: z.ZodInt;
1209
1641
  last_active: z.ZodNullable<z.ZodISODateTime>;
1210
1642
  dormant_days: z.ZodNullable<z.ZodInt>;
1211
1643
  quiet: z.ZodBoolean;
1644
+ held: z.ZodOptional<z.ZodBoolean>;
1212
1645
  }, z.core.$strict>>;
1213
1646
  }, z.core.$strict>;
1214
1647
  export type LeaderboardEntry = z.infer<typeof LeaderboardEntry>;
@@ -1218,7 +1651,7 @@ export declare const LeaderboardResponse: z.ZodObject<{
1218
1651
  provenance: "provenance";
1219
1652
  reliability: "reliability";
1220
1653
  safety: "safety";
1221
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1654
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
1222
1655
  entries: z.ZodArray<z.ZodObject<{
1223
1656
  rank: z.ZodInt;
1224
1657
  agentId: z.ZodString;
@@ -1260,17 +1693,23 @@ export declare const LeaderboardResponse: z.ZodObject<{
1260
1693
  confirmed_tasks: z.ZodInt;
1261
1694
  distinct_operators: z.ZodInt;
1262
1695
  safety_incidents_90d: z.ZodInt;
1696
+ posted_tasks: z.ZodOptional<z.ZodInt>;
1697
+ posted_distinct_operators: z.ZodOptional<z.ZodInt>;
1698
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
1263
1699
  }, z.core.$strict>;
1264
1700
  counted: z.ZodObject<{
1265
1701
  verified_tasks: z.ZodInt;
1266
1702
  seed_tasks: z.ZodInt;
1267
1703
  server_checked_tasks: z.ZodInt;
1268
1704
  confirmed_tasks: z.ZodInt;
1705
+ posted_tasks: z.ZodOptional<z.ZodInt>;
1706
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
1269
1707
  }, z.core.$strict>;
1270
1708
  history_days: z.ZodInt;
1271
1709
  last_active: z.ZodNullable<z.ZodISODateTime>;
1272
1710
  dormant_days: z.ZodNullable<z.ZodInt>;
1273
1711
  quiet: z.ZodBoolean;
1712
+ held: z.ZodOptional<z.ZodBoolean>;
1274
1713
  }, z.core.$strict>>;
1275
1714
  }, z.core.$strict>>;
1276
1715
  }, z.core.$strict>;
@@ -1279,6 +1718,7 @@ export declare const FeedKind: z.ZodEnum<{
1279
1718
  flag: "flag";
1280
1719
  level_change: "level_change";
1281
1720
  milestone: "milestone";
1721
+ refusal: "refusal";
1282
1722
  registration: "registration";
1283
1723
  score_change: "score_change";
1284
1724
  task_verified: "task_verified";
@@ -1287,6 +1727,7 @@ export declare const FeedKind: z.ZodEnum<{
1287
1727
  export type FeedKind = z.infer<typeof FeedKind>;
1288
1728
  export declare const FeedFlagCode: z.ZodEnum<{
1289
1729
  outcome_disagreement: "outcome_disagreement";
1730
+ taker_failures: "taker_failures";
1290
1731
  }>;
1291
1732
  export type FeedFlagCode = z.infer<typeof FeedFlagCode>;
1292
1733
  export declare const FeedMilestone: z.ZodEnum<{
@@ -1317,7 +1758,7 @@ export declare const FeedPayloads: {
1317
1758
  provenance: "provenance";
1318
1759
  reliability: "reliability";
1319
1760
  safety: "safety";
1320
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1761
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">, z.ZodTemplateLiteral<`competence:${string}`>]>;
1321
1762
  old: z.ZodNullable<z.ZodNumber>;
1322
1763
  new: z.ZodNumber;
1323
1764
  }, z.core.$strict>;
@@ -1326,6 +1767,7 @@ export declare const FeedPayloads: {
1326
1767
  name: z.ZodString;
1327
1768
  code: z.ZodEnum<{
1328
1769
  outcome_disagreement: "outcome_disagreement";
1770
+ taker_failures: "taker_failures";
1329
1771
  }>;
1330
1772
  taskId: z.ZodUUID;
1331
1773
  }, z.core.$strict>;
@@ -1368,6 +1810,17 @@ export declare const FeedPayloads: {
1368
1810
  silver: "silver";
1369
1811
  }>;
1370
1812
  }, z.core.$strict>;
1813
+ refusal: z.ZodObject<{
1814
+ agentId: z.ZodString;
1815
+ name: z.ZodString;
1816
+ reason: z.ZodEnum<{
1817
+ collusion: "collusion";
1818
+ fraud: "fraud";
1819
+ key_compromise: "key_compromise";
1820
+ operator_ban: "operator_ban";
1821
+ safety: "safety";
1822
+ }>;
1823
+ }, z.core.$strict>;
1371
1824
  };
1372
1825
  export type FeedPayload<K extends FeedKind> = z.infer<(typeof FeedPayloads)[K]>;
1373
1826
  export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1395,6 +1848,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1395
1848
  none: "none";
1396
1849
  silver: "silver";
1397
1850
  }>>;
1851
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1398
1852
  payload: z.ZodObject<{
1399
1853
  agentId: z.ZodString;
1400
1854
  name: z.ZodString;
@@ -1426,6 +1880,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1426
1880
  none: "none";
1427
1881
  silver: "silver";
1428
1882
  }>>;
1883
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1429
1884
  payload: z.ZodObject<{
1430
1885
  agentId: z.ZodString;
1431
1886
  name: z.ZodString;
@@ -1459,6 +1914,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1459
1914
  none: "none";
1460
1915
  silver: "silver";
1461
1916
  }>>;
1917
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1462
1918
  payload: z.ZodObject<{
1463
1919
  agentId: z.ZodString;
1464
1920
  name: z.ZodString;
@@ -1468,7 +1924,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1468
1924
  provenance: "provenance";
1469
1925
  reliability: "reliability";
1470
1926
  safety: "safety";
1471
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1927
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">, z.ZodTemplateLiteral<`competence:${string}`>]>;
1472
1928
  old: z.ZodNullable<z.ZodNumber>;
1473
1929
  new: z.ZodNumber;
1474
1930
  }, z.core.$strict>;
@@ -1498,11 +1954,13 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1498
1954
  none: "none";
1499
1955
  silver: "silver";
1500
1956
  }>>;
1957
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1501
1958
  payload: z.ZodObject<{
1502
1959
  agentId: z.ZodString;
1503
1960
  name: z.ZodString;
1504
1961
  code: z.ZodEnum<{
1505
1962
  outcome_disagreement: "outcome_disagreement";
1963
+ taker_failures: "taker_failures";
1506
1964
  }>;
1507
1965
  taskId: z.ZodUUID;
1508
1966
  }, z.core.$strict>;
@@ -1532,6 +1990,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1532
1990
  none: "none";
1533
1991
  silver: "silver";
1534
1992
  }>>;
1993
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1535
1994
  payload: z.ZodObject<{
1536
1995
  agentId: z.ZodString;
1537
1996
  name: z.ZodString;
@@ -1564,6 +2023,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1564
2023
  none: "none";
1565
2024
  silver: "silver";
1566
2025
  }>>;
2026
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1567
2027
  payload: z.ZodObject<{
1568
2028
  agentId: z.ZodString;
1569
2029
  name: z.ZodString;
@@ -1607,6 +2067,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1607
2067
  none: "none";
1608
2068
  silver: "silver";
1609
2069
  }>>;
2070
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1610
2071
  payload: z.ZodObject<{
1611
2072
  agentId: z.ZodString;
1612
2073
  name: z.ZodString;
@@ -1624,6 +2085,44 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1624
2085
  }>;
1625
2086
  }, z.core.$strict>;
1626
2087
  createdAt: z.ZodISODateTime;
2088
+ }, z.core.$strict>, z.ZodObject<{
2089
+ id: z.ZodInt;
2090
+ kind: z.ZodLiteral<"refusal">;
2091
+ agentId: z.ZodNullable<z.ZodString>;
2092
+ operator: z.ZodObject<{
2093
+ slug: z.ZodString;
2094
+ displayName: z.ZodString;
2095
+ }, z.core.$strict>;
2096
+ handle: z.ZodString;
2097
+ runtime: z.ZodOptional<z.ZodEnum<{
2098
+ "claude-code": "claude-code";
2099
+ codex: "codex";
2100
+ cursor: "cursor";
2101
+ "gemini-cli": "gemini-cli";
2102
+ mastra: "mastra";
2103
+ openclaw: "openclaw";
2104
+ other: "other";
2105
+ unknown: "unknown";
2106
+ }>>;
2107
+ level: z.ZodOptional<z.ZodEnum<{
2108
+ bronze: "bronze";
2109
+ gold: "gold";
2110
+ none: "none";
2111
+ silver: "silver";
2112
+ }>>;
2113
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
2114
+ payload: z.ZodObject<{
2115
+ agentId: z.ZodString;
2116
+ name: z.ZodString;
2117
+ reason: z.ZodEnum<{
2118
+ collusion: "collusion";
2119
+ fraud: "fraud";
2120
+ key_compromise: "key_compromise";
2121
+ operator_ban: "operator_ban";
2122
+ safety: "safety";
2123
+ }>;
2124
+ }, z.core.$strict>;
2125
+ createdAt: z.ZodISODateTime;
1627
2126
  }, z.core.$strict>], "kind">;
1628
2127
  export type FeedItem = z.infer<typeof FeedItem>;
1629
2128
  export declare const FEED_RECENT_MAX = 200;
@@ -1657,6 +2156,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1657
2156
  none: "none";
1658
2157
  silver: "silver";
1659
2158
  }>>;
2159
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1660
2160
  payload: z.ZodObject<{
1661
2161
  agentId: z.ZodString;
1662
2162
  name: z.ZodString;
@@ -1688,6 +2188,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1688
2188
  none: "none";
1689
2189
  silver: "silver";
1690
2190
  }>>;
2191
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1691
2192
  payload: z.ZodObject<{
1692
2193
  agentId: z.ZodString;
1693
2194
  name: z.ZodString;
@@ -1721,6 +2222,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1721
2222
  none: "none";
1722
2223
  silver: "silver";
1723
2224
  }>>;
2225
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1724
2226
  payload: z.ZodObject<{
1725
2227
  agentId: z.ZodString;
1726
2228
  name: z.ZodString;
@@ -1730,7 +2232,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1730
2232
  provenance: "provenance";
1731
2233
  reliability: "reliability";
1732
2234
  safety: "safety";
1733
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
2235
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">, z.ZodTemplateLiteral<`competence:${string}`>]>;
1734
2236
  old: z.ZodNullable<z.ZodNumber>;
1735
2237
  new: z.ZodNumber;
1736
2238
  }, z.core.$strict>;
@@ -1760,11 +2262,13 @@ export declare const FeedRecentResponse: z.ZodObject<{
1760
2262
  none: "none";
1761
2263
  silver: "silver";
1762
2264
  }>>;
2265
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1763
2266
  payload: z.ZodObject<{
1764
2267
  agentId: z.ZodString;
1765
2268
  name: z.ZodString;
1766
2269
  code: z.ZodEnum<{
1767
2270
  outcome_disagreement: "outcome_disagreement";
2271
+ taker_failures: "taker_failures";
1768
2272
  }>;
1769
2273
  taskId: z.ZodUUID;
1770
2274
  }, z.core.$strict>;
@@ -1794,6 +2298,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1794
2298
  none: "none";
1795
2299
  silver: "silver";
1796
2300
  }>>;
2301
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1797
2302
  payload: z.ZodObject<{
1798
2303
  agentId: z.ZodString;
1799
2304
  name: z.ZodString;
@@ -1826,6 +2331,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1826
2331
  none: "none";
1827
2332
  silver: "silver";
1828
2333
  }>>;
2334
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1829
2335
  payload: z.ZodObject<{
1830
2336
  agentId: z.ZodString;
1831
2337
  name: z.ZodString;
@@ -1869,6 +2375,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1869
2375
  none: "none";
1870
2376
  silver: "silver";
1871
2377
  }>>;
2378
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1872
2379
  payload: z.ZodObject<{
1873
2380
  agentId: z.ZodString;
1874
2381
  name: z.ZodString;
@@ -1886,6 +2393,44 @@ export declare const FeedRecentResponse: z.ZodObject<{
1886
2393
  }>;
1887
2394
  }, z.core.$strict>;
1888
2395
  createdAt: z.ZodISODateTime;
2396
+ }, z.core.$strict>, z.ZodObject<{
2397
+ id: z.ZodInt;
2398
+ kind: z.ZodLiteral<"refusal">;
2399
+ agentId: z.ZodNullable<z.ZodString>;
2400
+ operator: z.ZodObject<{
2401
+ slug: z.ZodString;
2402
+ displayName: z.ZodString;
2403
+ }, z.core.$strict>;
2404
+ handle: z.ZodString;
2405
+ runtime: z.ZodOptional<z.ZodEnum<{
2406
+ "claude-code": "claude-code";
2407
+ codex: "codex";
2408
+ cursor: "cursor";
2409
+ "gemini-cli": "gemini-cli";
2410
+ mastra: "mastra";
2411
+ openclaw: "openclaw";
2412
+ other: "other";
2413
+ unknown: "unknown";
2414
+ }>>;
2415
+ level: z.ZodOptional<z.ZodEnum<{
2416
+ bronze: "bronze";
2417
+ gold: "gold";
2418
+ none: "none";
2419
+ silver: "silver";
2420
+ }>>;
2421
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
2422
+ payload: z.ZodObject<{
2423
+ agentId: z.ZodString;
2424
+ name: z.ZodString;
2425
+ reason: z.ZodEnum<{
2426
+ collusion: "collusion";
2427
+ fraud: "fraud";
2428
+ key_compromise: "key_compromise";
2429
+ operator_ban: "operator_ban";
2430
+ safety: "safety";
2431
+ }>;
2432
+ }, z.core.$strict>;
2433
+ createdAt: z.ZodISODateTime;
1889
2434
  }, z.core.$strict>], "kind">>;
1890
2435
  }, z.core.$strict>;
1891
2436
  export type FeedRecentResponse = z.infer<typeof FeedRecentResponse>;
@@ -1893,6 +2438,7 @@ export declare const StatsResponse: z.ZodObject<{
1893
2438
  agents: z.ZodInt;
1894
2439
  verifiedTasks: z.ZodInt;
1895
2440
  eventsLast24h: z.ZodInt;
2441
+ takerCompletions24h: z.ZodOptional<z.ZodInt>;
1896
2442
  }, z.core.$strict>;
1897
2443
  export type StatsResponse = z.infer<typeof StatsResponse>;
1898
2444
  export declare const CHECK_DEFAULT_MIN_VERIFIED = 1;
@@ -2037,8 +2583,25 @@ export declare const SealWithheldResponse: z.ZodObject<{
2037
2583
  dormant_days: z.ZodNullable<z.ZodInt>;
2038
2584
  }, z.core.$strict>;
2039
2585
  export type SealWithheldResponse = z.infer<typeof SealWithheldResponse>;
2586
+ export declare const SealHeldResponse: z.ZodObject<{
2587
+ error: z.ZodObject<{
2588
+ code: z.ZodLiteral<"withheld">;
2589
+ message: z.ZodString;
2590
+ }, z.core.$strict>;
2591
+ id: z.ZodString;
2592
+ reason: z.ZodEnum<{
2593
+ collusion: "collusion";
2594
+ fraud: "fraud";
2595
+ key_compromise: "key_compromise";
2596
+ operator_ban: "operator_ban";
2597
+ safety: "safety";
2598
+ }>;
2599
+ }, z.core.$strict>;
2600
+ export type SealHeldResponse = z.infer<typeof SealHeldResponse>;
2040
2601
  export declare const SealVerifyRequest: z.ZodObject<{
2041
2602
  seal: z.ZodString;
2603
+ handshake: z.ZodOptional<z.ZodString>;
2604
+ nonce: z.ZodOptional<z.ZodString>;
2042
2605
  }, z.core.$strict>;
2043
2606
  export type SealVerifyRequest = z.infer<typeof SealVerifyRequest>;
2044
2607
  export declare const SealBrokenReason: z.ZodEnum<{
@@ -2051,6 +2614,28 @@ export declare const SealBrokenReason: z.ZodEnum<{
2051
2614
  wrong_issuer: "wrong_issuer";
2052
2615
  }>;
2053
2616
  export type SealBrokenReason = z.infer<typeof SealBrokenReason>;
2617
+ export declare const HandshakeAnswer: z.ZodDiscriminatedUnion<[z.ZodObject<{
2618
+ valid: z.ZodLiteral<true>;
2619
+ result: z.ZodEnum<{
2620
+ changed: "changed";
2621
+ matches: "matches";
2622
+ no_fingerprint: "no_fingerprint";
2623
+ }>;
2624
+ against: z.ZodEnum<{
2625
+ record: "record";
2626
+ seal: "seal";
2627
+ }>;
2628
+ }, z.core.$strict>, z.ZodObject<{
2629
+ valid: z.ZodLiteral<false>;
2630
+ reason: z.ZodEnum<{
2631
+ bad_signature: "bad_signature";
2632
+ malformed: "malformed";
2633
+ nonce_mismatch: "nonce_mismatch";
2634
+ stale: "stale";
2635
+ wrong_agent: "wrong_agent";
2636
+ }>;
2637
+ }, z.core.$strict>], "valid">;
2638
+ export type HandshakeAnswer = z.infer<typeof HandshakeAnswer>;
2054
2639
  export declare const SealVerifyResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
2055
2640
  valid: z.ZodLiteral<true>;
2056
2641
  payload: z.ZodUnion<readonly [z.ZodObject<{
@@ -2075,7 +2660,7 @@ export declare const SealVerifyResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
2075
2660
  provenance: "provenance";
2076
2661
  reliability: "reliability";
2077
2662
  safety: "safety";
2078
- }>, z.ZodTemplateLiteral<`competence:${string}`>]> & z.core.$partial, z.ZodNullable<z.ZodNumber>>;
2663
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">, z.ZodTemplateLiteral<`competence:${string}`>]> & z.core.$partial, z.ZodNullable<z.ZodNumber>>;
2079
2664
  counts: z.ZodObject<{
2080
2665
  events: z.ZodInt;
2081
2666
  history_days: z.ZodInt;
@@ -2129,7 +2714,66 @@ export declare const SealVerifyResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
2129
2714
  provenance: "provenance";
2130
2715
  reliability: "reliability";
2131
2716
  safety: "safety";
2132
- }>, z.ZodTemplateLiteral<`competence:${string}`>]> & z.core.$partial, z.ZodNullable<z.ZodNumber>>;
2717
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">, z.ZodTemplateLiteral<`competence:${string}`>]> & z.core.$partial, z.ZodNullable<z.ZodNumber>>;
2718
+ counts: z.ZodObject<{
2719
+ events: z.ZodInt;
2720
+ history_days: z.ZodInt;
2721
+ verified_tasks: z.ZodInt;
2722
+ seed_tasks: z.ZodInt;
2723
+ server_checked_tasks: z.ZodInt;
2724
+ confirmed_tasks: z.ZodInt;
2725
+ distinct_operators: z.ZodInt;
2726
+ safety_incidents_90d: z.ZodInt;
2727
+ }, z.core.$strict>;
2728
+ counted: z.ZodObject<{
2729
+ verified_tasks: z.ZodInt;
2730
+ seed_tasks: z.ZodInt;
2731
+ server_checked_tasks: z.ZodInt;
2732
+ confirmed_tasks: z.ZodInt;
2733
+ }, z.core.$strict>;
2734
+ operator: z.ZodObject<{
2735
+ verified: z.ZodBoolean;
2736
+ }, z.core.$strict>;
2737
+ identity: z.ZodArray<z.ZodObject<{
2738
+ provider: z.ZodURL;
2739
+ kind: z.ZodUnion<readonly [z.ZodEnum<{
2740
+ kya: "kya";
2741
+ oidc: "oidc";
2742
+ saml: "saml";
2743
+ verifiable_credential: "verifiable_credential";
2744
+ }>, z.ZodURL]>;
2745
+ ref: z.ZodString;
2746
+ subject_hash: z.ZodString;
2747
+ attested_at: z.ZodInt;
2748
+ scope: z.ZodEnum<{
2749
+ agent: "agent";
2750
+ operator: "operator";
2751
+ }>;
2752
+ }, z.core.$strict>>;
2753
+ last_active: z.ZodNullable<z.ZodInt>;
2754
+ dormant_days: z.ZodNullable<z.ZodInt>;
2755
+ }, z.core.$strict>, z.ZodObject<{
2756
+ iss: z.ZodEnum<{
2757
+ "sealkeeper.run": "sealkeeper.run";
2758
+ "vouched.run": "vouched.run";
2759
+ }>;
2760
+ sub: z.ZodString;
2761
+ ver: z.ZodLiteral<3>;
2762
+ iat: z.ZodInt;
2763
+ exp: z.ZodInt;
2764
+ agent_version: z.ZodString;
2765
+ level: z.ZodEnum<{
2766
+ bronze: "bronze";
2767
+ gold: "gold";
2768
+ none: "none";
2769
+ silver: "silver";
2770
+ }>;
2771
+ scores: z.ZodRecord<z.ZodUnion<readonly [z.ZodEnum<{
2772
+ cost_latency: "cost_latency";
2773
+ provenance: "provenance";
2774
+ reliability: "reliability";
2775
+ safety: "safety";
2776
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">, z.ZodTemplateLiteral<`competence:${string}`>]> & z.core.$partial, z.ZodNullable<z.ZodNumber>>;
2133
2777
  counts: z.ZodObject<{
2134
2778
  events: z.ZodInt;
2135
2779
  history_days: z.ZodInt;
@@ -2139,13 +2783,27 @@ export declare const SealVerifyResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
2139
2783
  confirmed_tasks: z.ZodInt;
2140
2784
  distinct_operators: z.ZodInt;
2141
2785
  safety_incidents_90d: z.ZodInt;
2786
+ posted_tasks: z.ZodInt;
2787
+ posted_distinct_operators: z.ZodInt;
2788
+ posted_confirmed_tasks: z.ZodInt;
2142
2789
  }, z.core.$strict>;
2143
2790
  counted: z.ZodObject<{
2144
2791
  verified_tasks: z.ZodInt;
2145
2792
  seed_tasks: z.ZodInt;
2146
2793
  server_checked_tasks: z.ZodInt;
2147
2794
  confirmed_tasks: z.ZodInt;
2795
+ posted_tasks: z.ZodInt;
2796
+ posted_confirmed_tasks: z.ZodInt;
2148
2797
  }, z.core.$strict>;
2798
+ fingerprint: z.ZodNullable<z.ZodObject<{
2799
+ hash: z.ZodString;
2800
+ at: z.ZodInt;
2801
+ }, z.core.$strict>>;
2802
+ state: z.ZodEnum<{
2803
+ changed: "changed";
2804
+ matches: "matches";
2805
+ provisional: "provisional";
2806
+ }>;
2149
2807
  operator: z.ZodObject<{
2150
2808
  verified: z.ZodBoolean;
2151
2809
  }, z.core.$strict>;
@@ -2169,6 +2827,27 @@ export declare const SealVerifyResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
2169
2827
  dormant_days: z.ZodNullable<z.ZodInt>;
2170
2828
  }, z.core.$strict>]>;
2171
2829
  expiresIn: z.ZodInt;
2830
+ handshake: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2831
+ valid: z.ZodLiteral<true>;
2832
+ result: z.ZodEnum<{
2833
+ changed: "changed";
2834
+ matches: "matches";
2835
+ no_fingerprint: "no_fingerprint";
2836
+ }>;
2837
+ against: z.ZodEnum<{
2838
+ record: "record";
2839
+ seal: "seal";
2840
+ }>;
2841
+ }, z.core.$strict>, z.ZodObject<{
2842
+ valid: z.ZodLiteral<false>;
2843
+ reason: z.ZodEnum<{
2844
+ bad_signature: "bad_signature";
2845
+ malformed: "malformed";
2846
+ nonce_mismatch: "nonce_mismatch";
2847
+ stale: "stale";
2848
+ wrong_agent: "wrong_agent";
2849
+ }>;
2850
+ }, z.core.$strict>], "valid">>;
2172
2851
  }, z.core.$strict>, z.ZodObject<{
2173
2852
  valid: z.ZodLiteral<false>;
2174
2853
  reason: z.ZodEnum<{
@@ -2192,11 +2871,102 @@ export declare const SeedRunResponse: z.ZodObject<{
2192
2871
  added: z.ZodInt;
2193
2872
  }, z.core.$strict>;
2194
2873
  export type SeedRunResponse = z.infer<typeof SeedRunResponse>;
2874
+ export declare const CandidateRunResponse: z.ZodObject<{
2875
+ open: z.ZodInt;
2876
+ added: z.ZodInt;
2877
+ }, z.core.$strict>;
2878
+ export type CandidateRunResponse = z.infer<typeof CandidateRunResponse>;
2879
+ export declare const TakerRunResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
2880
+ ran: z.ZodLiteral<true>;
2881
+ gate: z.ZodEnum<{
2882
+ median: "median";
2883
+ no_claims: "no_claims";
2884
+ waiting: "waiting";
2885
+ }>;
2886
+ medianMinutes: z.ZodNullable<z.ZodNumber>;
2887
+ completed: z.ZodInt;
2888
+ skipped: z.ZodInt;
2889
+ failed: z.ZodInt;
2890
+ flagged: z.ZodInt;
2891
+ }, z.core.$strict>, z.ZodObject<{
2892
+ ran: z.ZodLiteral<false>;
2893
+ reason: z.ZodEnum<{
2894
+ daily_cap: "daily_cap";
2895
+ keeping_up: "keeping_up";
2896
+ locked: "locked";
2897
+ }>;
2898
+ medianMinutes: z.ZodNullable<z.ZodNumber>;
2899
+ }, z.core.$strict>], "ran">;
2900
+ export type TakerRunResponse = z.infer<typeof TakerRunResponse>;
2195
2901
  export declare const INTERNAL_METRICS_MAX_DAYS = 90;
2196
2902
  export declare const InternalMetricsQuery: z.ZodObject<{
2197
2903
  days: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
2198
2904
  }, z.core.$strict>;
2199
2905
  export type InternalMetricsQuery = z.infer<typeof InternalMetricsQuery>;
2906
+ export declare const HOLD_NOTE_MAX = 2000;
2907
+ export declare const HoldPlaceRequest: z.ZodObject<{
2908
+ agentId: z.ZodOptional<z.ZodString>;
2909
+ operatorId: z.ZodOptional<z.ZodUUID>;
2910
+ reason: z.ZodEnum<{
2911
+ collusion: "collusion";
2912
+ fraud: "fraud";
2913
+ key_compromise: "key_compromise";
2914
+ operator_ban: "operator_ban";
2915
+ safety: "safety";
2916
+ }>;
2917
+ note: z.ZodOptional<z.ZodString>;
2918
+ }, z.core.$strict>;
2919
+ export type HoldPlaceRequest = z.infer<typeof HoldPlaceRequest>;
2920
+ export declare const HoldParams: z.ZodObject<{
2921
+ id: z.ZodUUID;
2922
+ }, z.core.$strict>;
2923
+ export type HoldParams = z.infer<typeof HoldParams>;
2924
+ export declare const HoldResponse: z.ZodObject<{
2925
+ id: z.ZodUUID;
2926
+ agentId: z.ZodNullable<z.ZodString>;
2927
+ operatorId: z.ZodNullable<z.ZodUUID>;
2928
+ reason: z.ZodEnum<{
2929
+ collusion: "collusion";
2930
+ fraud: "fraud";
2931
+ key_compromise: "key_compromise";
2932
+ operator_ban: "operator_ban";
2933
+ safety: "safety";
2934
+ }>;
2935
+ placedAt: z.ZodISODateTime;
2936
+ liftedAt: z.ZodNullable<z.ZodISODateTime>;
2937
+ agents: z.ZodInt;
2938
+ }, z.core.$strict>;
2939
+ export type HoldResponse = z.infer<typeof HoldResponse>;
2940
+ export declare const VoidPlaceRequest: z.ZodObject<{
2941
+ taskId: z.ZodUUID;
2942
+ reason: z.ZodEnum<{
2943
+ collusion: "collusion";
2944
+ fraud: "fraud";
2945
+ key_compromise: "key_compromise";
2946
+ operator_ban: "operator_ban";
2947
+ safety: "safety";
2948
+ }>;
2949
+ note: z.ZodOptional<z.ZodString>;
2950
+ }, z.core.$strict>;
2951
+ export type VoidPlaceRequest = z.infer<typeof VoidPlaceRequest>;
2952
+ export declare const VoidParams: z.ZodObject<{
2953
+ id: z.ZodUUID;
2954
+ }, z.core.$strict>;
2955
+ export type VoidParams = z.infer<typeof VoidParams>;
2956
+ export declare const VoidResponse: z.ZodObject<{
2957
+ id: z.ZodUUID;
2958
+ taskId: z.ZodUUID;
2959
+ reason: z.ZodEnum<{
2960
+ collusion: "collusion";
2961
+ fraud: "fraud";
2962
+ key_compromise: "key_compromise";
2963
+ operator_ban: "operator_ban";
2964
+ safety: "safety";
2965
+ }>;
2966
+ voidedAt: z.ZodISODateTime;
2967
+ liftedAt: z.ZodNullable<z.ZodISODateTime>;
2968
+ }, z.core.$strict>;
2969
+ export type VoidResponse = z.infer<typeof VoidResponse>;
2200
2970
  export declare const InternalMetricsResponse: z.ZodObject<{
2201
2971
  days: z.ZodInt;
2202
2972
  seedOperatorKnown: z.ZodBoolean;
@@ -2244,6 +3014,11 @@ export declare const InternalMetricsResponse: z.ZodObject<{
2244
3014
  tasksPosted: z.ZodInt;
2245
3015
  outcomes: z.ZodInt;
2246
3016
  }, z.core.$strict>;
3017
+ claimLatencyMedianMinutes: z.ZodNullable<z.ZodNumber>;
3018
+ taker: z.ZodObject<{
3019
+ completions: z.ZodInt;
3020
+ flags: z.ZodInt;
3021
+ }, z.core.$strict>;
2247
3022
  }, z.core.$strict>>;
2248
3023
  notMeasured: z.ZodArray<z.ZodObject<{
2249
3024
  metric: z.ZodString;