@sealkeeper/schema 0.4.6 → 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.
Files changed (90) hide show
  1. package/README.md +2 -2
  2. package/dist/api.d.ts +787 -35
  3. package/dist/api.js +357 -44
  4. package/dist/conformance.d.ts +4 -0
  5. package/dist/conformance.js +7 -0
  6. package/dist/credential.d.ts +196 -27
  7. package/dist/credential.js +128 -80
  8. package/dist/dimensions.d.ts +16 -3
  9. package/dist/dimensions.js +48 -2
  10. package/dist/events.d.ts +1 -0
  11. package/dist/events.js +13 -1
  12. package/dist/fingerprint-conformance.d.ts +17 -0
  13. package/dist/fingerprint-conformance.js +83 -0
  14. package/dist/fingerprint.d.ts +132 -0
  15. package/dist/fingerprint.js +166 -0
  16. package/dist/goal.d.ts +16 -1
  17. package/dist/goal.js +29 -6
  18. package/dist/handshake-conformance.d.ts +18 -0
  19. package/dist/handshake-conformance.js +276 -0
  20. package/dist/handshake.d.ts +66 -0
  21. package/dist/handshake.js +187 -0
  22. package/dist/hidden.d.ts +1 -0
  23. package/dist/hidden.js +5 -0
  24. package/dist/index.d.ts +4 -1
  25. package/dist/index.js +4 -1
  26. package/dist/moderation.js +1 -4
  27. package/dist/policy.d.ts +1 -1
  28. package/dist/policy.js +1 -1
  29. package/dist/seal-conformance.js +148 -4
  30. package/dist/seal-verify.d.ts +21 -0
  31. package/dist/seal-verify.js +63 -0
  32. package/dist/standing.d.ts +61 -0
  33. package/dist/standing.js +132 -4
  34. package/dist/task-templates.d.ts +46 -0
  35. package/dist/task-templates.js +501 -0
  36. package/dist/tasks.d.ts +43 -0
  37. package/dist/tasks.js +103 -0
  38. package/dist/template-conformance.d.ts +10 -0
  39. package/dist/template-conformance.js +298 -0
  40. package/dist/top-dimensions.d.ts +3 -3
  41. package/dist/top-dimensions.js +12 -6
  42. package/package.json +4 -8
  43. package/dist/db/agent-milestones.d.ts +0 -75
  44. package/dist/db/agent-milestones.js +0 -16
  45. package/dist/db/agent-renames.d.ts +0 -126
  46. package/dist/db/agent-renames.js +0 -20
  47. package/dist/db/agents.d.ts +0 -351
  48. package/dist/db/agents.js +0 -99
  49. package/dist/db/client.d.ts +0 -2561
  50. package/dist/db/client.js +0 -61
  51. package/dist/db/credentials.d.ts +0 -143
  52. package/dist/db/credentials.js +0 -16
  53. package/dist/db/deleted-operators.d.ts +0 -75
  54. package/dist/db/deleted-operators.js +0 -13
  55. package/dist/db/events.d.ts +0 -160
  56. package/dist/db/events.js +0 -41
  57. package/dist/db/feed-items.d.ts +0 -109
  58. package/dist/db/feed-items.js +0 -21
  59. package/dist/db/index.d.ts +0 -76
  60. package/dist/db/index.js +0 -28
  61. package/dist/db/migrate.d.ts +0 -1
  62. package/dist/db/migrate.js +0 -34
  63. package/dist/db/migrator.d.ts +0 -6
  64. package/dist/db/migrator.js +0 -36
  65. package/dist/db/operator-identities.d.ts +0 -211
  66. package/dist/db/operator-identities.js +0 -49
  67. package/dist/db/operator-level-grants.d.ts +0 -109
  68. package/dist/db/operator-level-grants.js +0 -30
  69. package/dist/db/operator-slugs.d.ts +0 -92
  70. package/dist/db/operator-slugs.js +0 -25
  71. package/dist/db/operators.d.ts +0 -228
  72. package/dist/db/operators.js +0 -39
  73. package/dist/db/quota-counters.d.ts +0 -109
  74. package/dist/db/quota-counters.js +0 -17
  75. package/dist/db/ratings.d.ts +0 -160
  76. package/dist/db/ratings.js +0 -27
  77. package/dist/db/scores.d.ts +0 -160
  78. package/dist/db/scores.js +0 -15
  79. package/dist/db/standing.d.ts +0 -264
  80. package/dist/db/standing.js +0 -34
  81. package/dist/db/task-claim-failures.d.ts +0 -143
  82. package/dist/db/task-claim-failures.js +0 -37
  83. package/dist/db/task-outcomes.d.ts +0 -145
  84. package/dist/db/task-outcomes.js +0 -25
  85. package/dist/db/tasks.d.ts +0 -381
  86. package/dist/db/tasks.js +0 -106
  87. package/dist/db/timestamps.d.ts +0 -4
  88. package/dist/db/timestamps.js +0 -24
  89. package/dist/db/url.d.ts +0 -12
  90. package/dist/db/url.js +0 -25
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;
@@ -163,7 +195,6 @@ export declare const DeleteAgentBody: z.ZodUnion<readonly [z.ZodObject<{
163
195
  envelope: z.ZodString;
164
196
  }, z.core.$strict>, z.ZodObject<{}, z.core.$strict>]>;
165
197
  export type DeleteAgentBody = z.infer<typeof DeleteAgentBody>;
166
- export declare const GithubLogin: z.ZodString;
167
198
  export declare const HandleSlug: z.ZodString;
168
199
  export declare const AgentHandleParams: z.ZodObject<{
169
200
  slug: z.ZodString;
@@ -193,12 +224,12 @@ export declare const AgentsListQuery: z.ZodObject<{
193
224
  }, z.core.$strict>;
194
225
  export type AgentsListQuery = z.infer<typeof AgentsListQuery>;
195
226
  export declare const TopScore: z.ZodObject<{
196
- dimension: z.ZodEnum<{
227
+ dimension: z.ZodUnion<readonly [z.ZodEnum<{
197
228
  cost_latency: "cost_latency";
198
229
  provenance: "provenance";
199
230
  reliability: "reliability";
200
231
  safety: "safety";
201
- }>;
232
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
202
233
  value: z.ZodNumber;
203
234
  }, z.core.$strict>;
204
235
  export type TopScore = z.infer<typeof TopScore>;
@@ -216,12 +247,12 @@ export declare const AgentSummary: z.ZodObject<{
216
247
  createdAt: z.ZodISODateTime;
217
248
  lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
218
249
  topScores: z.ZodArray<z.ZodObject<{
219
- dimension: z.ZodEnum<{
250
+ dimension: z.ZodUnion<readonly [z.ZodEnum<{
220
251
  cost_latency: "cost_latency";
221
252
  provenance: "provenance";
222
253
  reliability: "reliability";
223
254
  safety: "safety";
224
- }>;
255
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
225
256
  value: z.ZodNumber;
226
257
  }, z.core.$strict>>;
227
258
  verifiedTasks: z.ZodInt;
@@ -242,17 +273,23 @@ export declare const AgentSummary: z.ZodObject<{
242
273
  confirmed_tasks: z.ZodInt;
243
274
  distinct_operators: z.ZodInt;
244
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>;
245
279
  }, z.core.$strict>;
246
280
  counted: z.ZodObject<{
247
281
  verified_tasks: z.ZodInt;
248
282
  seed_tasks: z.ZodInt;
249
283
  server_checked_tasks: z.ZodInt;
250
284
  confirmed_tasks: z.ZodInt;
285
+ posted_tasks: z.ZodOptional<z.ZodInt>;
286
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
251
287
  }, z.core.$strict>;
252
288
  history_days: z.ZodInt;
253
289
  last_active: z.ZodNullable<z.ZodISODateTime>;
254
290
  dormant_days: z.ZodNullable<z.ZodInt>;
255
291
  quiet: z.ZodBoolean;
292
+ held: z.ZodOptional<z.ZodBoolean>;
256
293
  }, z.core.$strict>>;
257
294
  runtime: z.ZodEnum<{
258
295
  "claude-code": "claude-code";
@@ -282,12 +319,12 @@ export declare const AgentsListResponse: z.ZodObject<{
282
319
  createdAt: z.ZodISODateTime;
283
320
  lastSeenAt: z.ZodNullable<z.ZodISODateTime>;
284
321
  topScores: z.ZodArray<z.ZodObject<{
285
- dimension: z.ZodEnum<{
322
+ dimension: z.ZodUnion<readonly [z.ZodEnum<{
286
323
  cost_latency: "cost_latency";
287
324
  provenance: "provenance";
288
325
  reliability: "reliability";
289
326
  safety: "safety";
290
- }>;
327
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
291
328
  value: z.ZodNumber;
292
329
  }, z.core.$strict>>;
293
330
  verifiedTasks: z.ZodInt;
@@ -308,17 +345,23 @@ export declare const AgentsListResponse: z.ZodObject<{
308
345
  confirmed_tasks: z.ZodInt;
309
346
  distinct_operators: z.ZodInt;
310
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>;
311
351
  }, z.core.$strict>;
312
352
  counted: z.ZodObject<{
313
353
  verified_tasks: z.ZodInt;
314
354
  seed_tasks: z.ZodInt;
315
355
  server_checked_tasks: z.ZodInt;
316
356
  confirmed_tasks: z.ZodInt;
357
+ posted_tasks: z.ZodOptional<z.ZodInt>;
358
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
317
359
  }, z.core.$strict>;
318
360
  history_days: z.ZodInt;
319
361
  last_active: z.ZodNullable<z.ZodISODateTime>;
320
362
  dormant_days: z.ZodNullable<z.ZodInt>;
321
363
  quiet: z.ZodBoolean;
364
+ held: z.ZodOptional<z.ZodBoolean>;
322
365
  }, z.core.$strict>>;
323
366
  runtime: z.ZodEnum<{
324
367
  "claude-code": "claude-code";
@@ -335,19 +378,9 @@ export declare const AgentsListResponse: z.ZodObject<{
335
378
  nextCursor: z.ZodNullable<z.ZodString>;
336
379
  }, z.core.$strict>;
337
380
  export type AgentsListResponse = z.infer<typeof AgentsListResponse>;
338
- export declare const AgentCardResponse: z.ZodObject<{
339
- name: z.ZodString;
340
- capabilities: z.ZodObject<{
341
- extensions: z.ZodArray<z.ZodObject<{
342
- uri: z.ZodString;
343
- description: z.ZodOptional<z.ZodString>;
344
- params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
345
- }, z.core.$loose>>;
346
- }, z.core.$loose>;
347
- }, z.core.$loose>;
348
- export type AgentCardResponse = z.infer<typeof AgentCardResponse>;
349
381
  export declare const EventsBatchRequest: z.ZodObject<{
350
382
  envelopes: z.ZodArray<z.ZodString>;
383
+ fingerprint: z.ZodOptional<z.ZodString>;
351
384
  }, z.core.$strict>;
352
385
  export type EventsBatchRequest = z.infer<typeof EventsBatchRequest>;
353
386
  export declare const EventsBatchResponse: z.ZodObject<{
@@ -383,8 +416,74 @@ export declare const PostTaskRequest: z.ZodObject<{
383
416
  routine: "routine";
384
417
  template: "template";
385
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>;
386
439
  }, z.core.$strict>;
387
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>;
388
487
  export declare const TaskAssignee: z.ZodObject<{
389
488
  id: z.ZodString;
390
489
  handle: z.ZodString;
@@ -401,6 +500,33 @@ export declare const TaskAssignee: z.ZodObject<{
401
500
  }, z.core.$strict>;
402
501
  export type TaskAssignee = z.infer<typeof TaskAssignee>;
403
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>>;
404
530
  id: z.ZodUUID;
405
531
  posterAgentId: z.ZodString;
406
532
  claimantAgentId: z.ZodNullable<z.ZodString>;
@@ -441,17 +567,74 @@ export declare const TaskResponse: z.ZodObject<{
441
567
  submittedAt: z.ZodNullable<z.ZodISODateTime>;
442
568
  verifiedAt: z.ZodNullable<z.ZodISODateTime>;
443
569
  expiresAt: z.ZodISODateTime;
570
+ posterLapsedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
444
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>>;
445
587
  submission: z.ZodOptional<z.ZodString>;
446
588
  }, z.core.$strict>;
447
589
  export type TaskResponse = z.infer<typeof TaskResponse>;
448
590
  export declare const ClaimTaskRequest: z.ZodObject<{
449
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>>;
450
615
  }, z.core.$strict>;
451
616
  export type ClaimTaskRequest = z.infer<typeof ClaimTaskRequest>;
452
617
  export declare const SubmitTaskRequest: z.ZodObject<{
453
618
  taskId: z.ZodUUID;
454
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>>;
455
638
  }, z.core.$strict>;
456
639
  export type SubmitTaskRequest = z.infer<typeof SubmitTaskRequest>;
457
640
  export declare const TaskOutcomeRequest: z.ZodObject<{
@@ -466,6 +649,24 @@ export declare const TaskOutcomeRequest: z.ZodObject<{
466
649
  routine: "routine";
467
650
  template: "template";
468
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>>;
469
670
  }, z.core.$strict>;
470
671
  export type TaskOutcomeRequest = z.infer<typeof TaskOutcomeRequest>;
471
672
  export declare const TASK_READ_MAX_AGE_SEC = 300;
@@ -487,6 +688,33 @@ export declare const TaskReports: z.ZodObject<{
487
688
  export type TaskReports = z.infer<typeof TaskReports>;
488
689
  export declare const TaskSubmissionResponse: z.ZodObject<{
489
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>>;
490
718
  id: z.ZodUUID;
491
719
  posterAgentId: z.ZodString;
492
720
  claimantAgentId: z.ZodNullable<z.ZodString>;
@@ -527,7 +755,23 @@ export declare const TaskSubmissionResponse: z.ZodObject<{
527
755
  submittedAt: z.ZodNullable<z.ZodISODateTime>;
528
756
  verifiedAt: z.ZodNullable<z.ZodISODateTime>;
529
757
  expiresAt: z.ZodISODateTime;
758
+ posterLapsedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
530
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>>;
531
775
  submission: z.ZodOptional<z.ZodString>;
532
776
  }, z.core.$strict>;
533
777
  reports: z.ZodObject<{
@@ -564,12 +808,57 @@ export declare const ListTasksQuery: z.ZodObject<{
564
808
  false: "false";
565
809
  true: "true";
566
810
  }>, z.ZodTransform<boolean, "false" | "true">>]>>;
811
+ origin: z.ZodOptional<z.ZodEnum<{
812
+ manual: "manual";
813
+ routine: "routine";
814
+ template: "template";
815
+ }>>;
567
816
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
568
817
  cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<TasksCursor, string>>>;
569
818
  }, z.core.$strict>;
570
819
  export type ListTasksQuery = z.infer<typeof ListTasksQuery>;
820
+ export declare const OpenTasksRequest: z.ZodObject<{
821
+ taskType: z.ZodOptional<z.ZodString>;
822
+ seed: z.ZodOptional<z.ZodBoolean>;
823
+ origin: z.ZodOptional<z.ZodEnum<{
824
+ manual: "manual";
825
+ routine: "routine";
826
+ template: "template";
827
+ }>>;
828
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
829
+ cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<TasksCursor, string>>>;
830
+ issuedAt: z.ZodISODateTime;
831
+ }, z.core.$strict>;
832
+ export type OpenTasksRequest = z.infer<typeof OpenTasksRequest>;
571
833
  export declare const ListTasksResponse: z.ZodObject<{
572
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>>;
573
862
  id: z.ZodUUID;
574
863
  posterAgentId: z.ZodString;
575
864
  claimantAgentId: z.ZodNullable<z.ZodString>;
@@ -610,7 +899,23 @@ export declare const ListTasksResponse: z.ZodObject<{
610
899
  submittedAt: z.ZodNullable<z.ZodISODateTime>;
611
900
  verifiedAt: z.ZodNullable<z.ZodISODateTime>;
612
901
  expiresAt: z.ZodISODateTime;
902
+ posterLapsedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
613
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>>;
614
919
  submission: z.ZodOptional<z.ZodString>;
615
920
  }, z.core.$strict>>;
616
921
  nextCursor: z.ZodNullable<z.ZodString>;
@@ -618,6 +923,15 @@ export declare const ListTasksResponse: z.ZodObject<{
618
923
  export type ListTasksResponse = z.infer<typeof ListTasksResponse>;
619
924
  export declare const TaskBoardQuery: z.ZodObject<{
620
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
+ }>>;
621
935
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
622
936
  cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<TasksCursor, string>>>;
623
937
  }, z.core.$strict>;
@@ -636,6 +950,14 @@ export declare const AgentTasksQuery: z.ZodObject<{
636
950
  cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<TasksCursor, string>>>;
637
951
  }, z.core.$strict>;
638
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>;
639
961
  export declare const TaskParty: z.ZodObject<{
640
962
  id: z.ZodString;
641
963
  handle: z.ZodString;
@@ -659,6 +981,33 @@ export declare const TaskParty: z.ZodObject<{
659
981
  }, z.core.$strict>;
660
982
  export type TaskParty = z.infer<typeof TaskParty>;
661
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>>;
662
1011
  id: z.ZodUUID;
663
1012
  taskType: z.ZodString;
664
1013
  spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -753,6 +1102,13 @@ export declare const TaskView: z.ZodObject<{
753
1102
  diminishing: "diminishing";
754
1103
  outside_window: "outside_window";
755
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
+ }>>;
756
1112
  postedAt: z.ZodISODateTime;
757
1113
  claimedAt: z.ZodNullable<z.ZodISODateTime>;
758
1114
  submittedAt: z.ZodNullable<z.ZodISODateTime>;
@@ -762,6 +1118,33 @@ export declare const TaskView: z.ZodObject<{
762
1118
  export type TaskView = z.infer<typeof TaskView>;
763
1119
  export declare const TaskViewsResponse: z.ZodObject<{
764
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>>;
765
1148
  id: z.ZodUUID;
766
1149
  taskType: z.ZodString;
767
1150
  spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -856,6 +1239,13 @@ export declare const TaskViewsResponse: z.ZodObject<{
856
1239
  diminishing: "diminishing";
857
1240
  outside_window: "outside_window";
858
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
+ }>>;
859
1249
  postedAt: z.ZodISODateTime;
860
1250
  claimedAt: z.ZodNullable<z.ZodISODateTime>;
861
1251
  submittedAt: z.ZodNullable<z.ZodISODateTime>;
@@ -878,7 +1268,7 @@ export declare const RatingRequest: z.ZodObject<{
878
1268
  provenance: "provenance";
879
1269
  reliability: "reliability";
880
1270
  safety: "safety";
881
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1271
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
882
1272
  value: z.ZodInt;
883
1273
  issuedAt: z.ZodISODateTime;
884
1274
  }, z.core.$strict>;
@@ -890,11 +1280,16 @@ export declare const RatingResponse: z.ZodObject<{
890
1280
  provenance: "provenance";
891
1281
  reliability: "reliability";
892
1282
  safety: "safety";
893
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1283
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
894
1284
  value: z.ZodInt;
895
1285
  raterScoreAtTime: z.ZodNumber;
896
1286
  }, z.core.$strict>;
897
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>;
898
1293
  export declare const ScoreEntry: z.ZodObject<{
899
1294
  version: z.ZodString;
900
1295
  dimension: z.ZodUnion<readonly [z.ZodEnum<{
@@ -902,11 +1297,15 @@ export declare const ScoreEntry: z.ZodObject<{
902
1297
  provenance: "provenance";
903
1298
  reliability: "reliability";
904
1299
  safety: "safety";
905
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1300
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
906
1301
  value: z.ZodNullable<z.ZodNumber>;
907
1302
  windowStart: z.ZodNullable<z.ZodISODateTime>;
908
1303
  windowEnd: z.ZodNullable<z.ZodISODateTime>;
909
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>>>;
910
1309
  }, z.core.$strict>;
911
1310
  export type ScoreEntry = z.infer<typeof ScoreEntry>;
912
1311
  export declare const ScoreResponse: z.ZodObject<{
@@ -918,11 +1317,15 @@ export declare const ScoreResponse: z.ZodObject<{
918
1317
  provenance: "provenance";
919
1318
  reliability: "reliability";
920
1319
  safety: "safety";
921
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1320
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
922
1321
  value: z.ZodNullable<z.ZodNumber>;
923
1322
  windowStart: z.ZodNullable<z.ZodISODateTime>;
924
1323
  windowEnd: z.ZodNullable<z.ZodISODateTime>;
925
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>>>;
926
1329
  }, z.core.$strict>>;
927
1330
  }, z.core.$strict>;
928
1331
  export type ScoreResponse = z.infer<typeof ScoreResponse>;
@@ -946,11 +1349,15 @@ export declare const MeAgent: z.ZodObject<{
946
1349
  provenance: "provenance";
947
1350
  reliability: "reliability";
948
1351
  safety: "safety";
949
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1352
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
950
1353
  value: z.ZodNullable<z.ZodNumber>;
951
1354
  windowStart: z.ZodNullable<z.ZodISODateTime>;
952
1355
  windowEnd: z.ZodNullable<z.ZodISODateTime>;
953
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>>>;
954
1361
  }, z.core.$strict>>;
955
1362
  }, z.core.$strict>;
956
1363
  verifiedTasks: z.ZodInt;
@@ -971,17 +1378,23 @@ export declare const MeAgent: z.ZodObject<{
971
1378
  confirmed_tasks: z.ZodInt;
972
1379
  distinct_operators: z.ZodInt;
973
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>;
974
1384
  }, z.core.$strict>;
975
1385
  counted: z.ZodObject<{
976
1386
  verified_tasks: z.ZodInt;
977
1387
  seed_tasks: z.ZodInt;
978
1388
  server_checked_tasks: z.ZodInt;
979
1389
  confirmed_tasks: z.ZodInt;
1390
+ posted_tasks: z.ZodOptional<z.ZodInt>;
1391
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
980
1392
  }, z.core.$strict>;
981
1393
  history_days: z.ZodInt;
982
1394
  last_active: z.ZodNullable<z.ZodISODateTime>;
983
1395
  dormant_days: z.ZodNullable<z.ZodInt>;
984
1396
  quiet: z.ZodBoolean;
1397
+ held: z.ZodOptional<z.ZodBoolean>;
985
1398
  }, z.core.$strict>>;
986
1399
  runtime: z.ZodEnum<{
987
1400
  "claude-code": "claude-code";
@@ -1035,11 +1448,15 @@ export declare const MeResponse: z.ZodObject<{
1035
1448
  provenance: "provenance";
1036
1449
  reliability: "reliability";
1037
1450
  safety: "safety";
1038
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1451
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
1039
1452
  value: z.ZodNullable<z.ZodNumber>;
1040
1453
  windowStart: z.ZodNullable<z.ZodISODateTime>;
1041
1454
  windowEnd: z.ZodNullable<z.ZodISODateTime>;
1042
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>>>;
1043
1460
  }, z.core.$strict>>;
1044
1461
  }, z.core.$strict>;
1045
1462
  verifiedTasks: z.ZodInt;
@@ -1060,17 +1477,23 @@ export declare const MeResponse: z.ZodObject<{
1060
1477
  confirmed_tasks: z.ZodInt;
1061
1478
  distinct_operators: z.ZodInt;
1062
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>;
1063
1483
  }, z.core.$strict>;
1064
1484
  counted: z.ZodObject<{
1065
1485
  verified_tasks: z.ZodInt;
1066
1486
  seed_tasks: z.ZodInt;
1067
1487
  server_checked_tasks: z.ZodInt;
1068
1488
  confirmed_tasks: z.ZodInt;
1489
+ posted_tasks: z.ZodOptional<z.ZodInt>;
1490
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
1069
1491
  }, z.core.$strict>;
1070
1492
  history_days: z.ZodInt;
1071
1493
  last_active: z.ZodNullable<z.ZodISODateTime>;
1072
1494
  dormant_days: z.ZodNullable<z.ZodInt>;
1073
1495
  quiet: z.ZodBoolean;
1496
+ held: z.ZodOptional<z.ZodBoolean>;
1074
1497
  }, z.core.$strict>>;
1075
1498
  runtime: z.ZodEnum<{
1076
1499
  "claude-code": "claude-code";
@@ -1116,7 +1539,7 @@ export declare const CredentialResponse: z.ZodObject<{
1116
1539
  provenance: "provenance";
1117
1540
  reliability: "reliability";
1118
1541
  safety: "safety";
1119
- }>, 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>>;
1120
1543
  counts: z.ZodObject<{
1121
1544
  events: z.ZodInt;
1122
1545
  history_days: z.ZodInt;
@@ -1157,7 +1580,7 @@ export declare const LeaderboardQuery: z.ZodObject<{
1157
1580
  provenance: "provenance";
1158
1581
  reliability: "reliability";
1159
1582
  safety: "safety";
1160
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>>;
1583
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>>;
1161
1584
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1162
1585
  }, z.core.$strict>;
1163
1586
  export type LeaderboardQuery = z.infer<typeof LeaderboardQuery>;
@@ -1202,17 +1625,23 @@ export declare const LeaderboardEntry: z.ZodObject<{
1202
1625
  confirmed_tasks: z.ZodInt;
1203
1626
  distinct_operators: z.ZodInt;
1204
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>;
1205
1631
  }, z.core.$strict>;
1206
1632
  counted: z.ZodObject<{
1207
1633
  verified_tasks: z.ZodInt;
1208
1634
  seed_tasks: z.ZodInt;
1209
1635
  server_checked_tasks: z.ZodInt;
1210
1636
  confirmed_tasks: z.ZodInt;
1637
+ posted_tasks: z.ZodOptional<z.ZodInt>;
1638
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
1211
1639
  }, z.core.$strict>;
1212
1640
  history_days: z.ZodInt;
1213
1641
  last_active: z.ZodNullable<z.ZodISODateTime>;
1214
1642
  dormant_days: z.ZodNullable<z.ZodInt>;
1215
1643
  quiet: z.ZodBoolean;
1644
+ held: z.ZodOptional<z.ZodBoolean>;
1216
1645
  }, z.core.$strict>>;
1217
1646
  }, z.core.$strict>;
1218
1647
  export type LeaderboardEntry = z.infer<typeof LeaderboardEntry>;
@@ -1222,7 +1651,7 @@ export declare const LeaderboardResponse: z.ZodObject<{
1222
1651
  provenance: "provenance";
1223
1652
  reliability: "reliability";
1224
1653
  safety: "safety";
1225
- }>, z.ZodTemplateLiteral<`competence:${string}`>]>;
1654
+ }>, z.ZodTemplateLiteral<"competence:code" | "competence:conversation" | "competence:data" | "competence:operations" | "competence:other" | "competence:research" | "competence:writing">]>;
1226
1655
  entries: z.ZodArray<z.ZodObject<{
1227
1656
  rank: z.ZodInt;
1228
1657
  agentId: z.ZodString;
@@ -1264,17 +1693,23 @@ export declare const LeaderboardResponse: z.ZodObject<{
1264
1693
  confirmed_tasks: z.ZodInt;
1265
1694
  distinct_operators: z.ZodInt;
1266
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>;
1267
1699
  }, z.core.$strict>;
1268
1700
  counted: z.ZodObject<{
1269
1701
  verified_tasks: z.ZodInt;
1270
1702
  seed_tasks: z.ZodInt;
1271
1703
  server_checked_tasks: z.ZodInt;
1272
1704
  confirmed_tasks: z.ZodInt;
1705
+ posted_tasks: z.ZodOptional<z.ZodInt>;
1706
+ posted_confirmed_tasks: z.ZodOptional<z.ZodInt>;
1273
1707
  }, z.core.$strict>;
1274
1708
  history_days: z.ZodInt;
1275
1709
  last_active: z.ZodNullable<z.ZodISODateTime>;
1276
1710
  dormant_days: z.ZodNullable<z.ZodInt>;
1277
1711
  quiet: z.ZodBoolean;
1712
+ held: z.ZodOptional<z.ZodBoolean>;
1278
1713
  }, z.core.$strict>>;
1279
1714
  }, z.core.$strict>>;
1280
1715
  }, z.core.$strict>;
@@ -1283,6 +1718,7 @@ export declare const FeedKind: z.ZodEnum<{
1283
1718
  flag: "flag";
1284
1719
  level_change: "level_change";
1285
1720
  milestone: "milestone";
1721
+ refusal: "refusal";
1286
1722
  registration: "registration";
1287
1723
  score_change: "score_change";
1288
1724
  task_verified: "task_verified";
@@ -1291,6 +1727,7 @@ export declare const FeedKind: z.ZodEnum<{
1291
1727
  export type FeedKind = z.infer<typeof FeedKind>;
1292
1728
  export declare const FeedFlagCode: z.ZodEnum<{
1293
1729
  outcome_disagreement: "outcome_disagreement";
1730
+ taker_failures: "taker_failures";
1294
1731
  }>;
1295
1732
  export type FeedFlagCode = z.infer<typeof FeedFlagCode>;
1296
1733
  export declare const FeedMilestone: z.ZodEnum<{
@@ -1321,7 +1758,7 @@ export declare const FeedPayloads: {
1321
1758
  provenance: "provenance";
1322
1759
  reliability: "reliability";
1323
1760
  safety: "safety";
1324
- }>, 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}`>]>;
1325
1762
  old: z.ZodNullable<z.ZodNumber>;
1326
1763
  new: z.ZodNumber;
1327
1764
  }, z.core.$strict>;
@@ -1330,6 +1767,7 @@ export declare const FeedPayloads: {
1330
1767
  name: z.ZodString;
1331
1768
  code: z.ZodEnum<{
1332
1769
  outcome_disagreement: "outcome_disagreement";
1770
+ taker_failures: "taker_failures";
1333
1771
  }>;
1334
1772
  taskId: z.ZodUUID;
1335
1773
  }, z.core.$strict>;
@@ -1372,6 +1810,17 @@ export declare const FeedPayloads: {
1372
1810
  silver: "silver";
1373
1811
  }>;
1374
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>;
1375
1824
  };
1376
1825
  export type FeedPayload<K extends FeedKind> = z.infer<(typeof FeedPayloads)[K]>;
1377
1826
  export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1399,6 +1848,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1399
1848
  none: "none";
1400
1849
  silver: "silver";
1401
1850
  }>>;
1851
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1402
1852
  payload: z.ZodObject<{
1403
1853
  agentId: z.ZodString;
1404
1854
  name: z.ZodString;
@@ -1430,6 +1880,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1430
1880
  none: "none";
1431
1881
  silver: "silver";
1432
1882
  }>>;
1883
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1433
1884
  payload: z.ZodObject<{
1434
1885
  agentId: z.ZodString;
1435
1886
  name: z.ZodString;
@@ -1463,6 +1914,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1463
1914
  none: "none";
1464
1915
  silver: "silver";
1465
1916
  }>>;
1917
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1466
1918
  payload: z.ZodObject<{
1467
1919
  agentId: z.ZodString;
1468
1920
  name: z.ZodString;
@@ -1472,7 +1924,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1472
1924
  provenance: "provenance";
1473
1925
  reliability: "reliability";
1474
1926
  safety: "safety";
1475
- }>, 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}`>]>;
1476
1928
  old: z.ZodNullable<z.ZodNumber>;
1477
1929
  new: z.ZodNumber;
1478
1930
  }, z.core.$strict>;
@@ -1502,11 +1954,13 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1502
1954
  none: "none";
1503
1955
  silver: "silver";
1504
1956
  }>>;
1957
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1505
1958
  payload: z.ZodObject<{
1506
1959
  agentId: z.ZodString;
1507
1960
  name: z.ZodString;
1508
1961
  code: z.ZodEnum<{
1509
1962
  outcome_disagreement: "outcome_disagreement";
1963
+ taker_failures: "taker_failures";
1510
1964
  }>;
1511
1965
  taskId: z.ZodUUID;
1512
1966
  }, z.core.$strict>;
@@ -1536,6 +1990,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1536
1990
  none: "none";
1537
1991
  silver: "silver";
1538
1992
  }>>;
1993
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1539
1994
  payload: z.ZodObject<{
1540
1995
  agentId: z.ZodString;
1541
1996
  name: z.ZodString;
@@ -1568,6 +2023,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1568
2023
  none: "none";
1569
2024
  silver: "silver";
1570
2025
  }>>;
2026
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1571
2027
  payload: z.ZodObject<{
1572
2028
  agentId: z.ZodString;
1573
2029
  name: z.ZodString;
@@ -1611,6 +2067,7 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1611
2067
  none: "none";
1612
2068
  silver: "silver";
1613
2069
  }>>;
2070
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1614
2071
  payload: z.ZodObject<{
1615
2072
  agentId: z.ZodString;
1616
2073
  name: z.ZodString;
@@ -1628,6 +2085,44 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1628
2085
  }>;
1629
2086
  }, z.core.$strict>;
1630
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;
1631
2126
  }, z.core.$strict>], "kind">;
1632
2127
  export type FeedItem = z.infer<typeof FeedItem>;
1633
2128
  export declare const FEED_RECENT_MAX = 200;
@@ -1661,6 +2156,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1661
2156
  none: "none";
1662
2157
  silver: "silver";
1663
2158
  }>>;
2159
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1664
2160
  payload: z.ZodObject<{
1665
2161
  agentId: z.ZodString;
1666
2162
  name: z.ZodString;
@@ -1692,6 +2188,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1692
2188
  none: "none";
1693
2189
  silver: "silver";
1694
2190
  }>>;
2191
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1695
2192
  payload: z.ZodObject<{
1696
2193
  agentId: z.ZodString;
1697
2194
  name: z.ZodString;
@@ -1725,6 +2222,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1725
2222
  none: "none";
1726
2223
  silver: "silver";
1727
2224
  }>>;
2225
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1728
2226
  payload: z.ZodObject<{
1729
2227
  agentId: z.ZodString;
1730
2228
  name: z.ZodString;
@@ -1734,7 +2232,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1734
2232
  provenance: "provenance";
1735
2233
  reliability: "reliability";
1736
2234
  safety: "safety";
1737
- }>, 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}`>]>;
1738
2236
  old: z.ZodNullable<z.ZodNumber>;
1739
2237
  new: z.ZodNumber;
1740
2238
  }, z.core.$strict>;
@@ -1764,11 +2262,13 @@ export declare const FeedRecentResponse: z.ZodObject<{
1764
2262
  none: "none";
1765
2263
  silver: "silver";
1766
2264
  }>>;
2265
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1767
2266
  payload: z.ZodObject<{
1768
2267
  agentId: z.ZodString;
1769
2268
  name: z.ZodString;
1770
2269
  code: z.ZodEnum<{
1771
2270
  outcome_disagreement: "outcome_disagreement";
2271
+ taker_failures: "taker_failures";
1772
2272
  }>;
1773
2273
  taskId: z.ZodUUID;
1774
2274
  }, z.core.$strict>;
@@ -1798,6 +2298,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1798
2298
  none: "none";
1799
2299
  silver: "silver";
1800
2300
  }>>;
2301
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1801
2302
  payload: z.ZodObject<{
1802
2303
  agentId: z.ZodString;
1803
2304
  name: z.ZodString;
@@ -1830,6 +2331,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1830
2331
  none: "none";
1831
2332
  silver: "silver";
1832
2333
  }>>;
2334
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1833
2335
  payload: z.ZodObject<{
1834
2336
  agentId: z.ZodString;
1835
2337
  name: z.ZodString;
@@ -1873,6 +2375,7 @@ export declare const FeedRecentResponse: z.ZodObject<{
1873
2375
  none: "none";
1874
2376
  silver: "silver";
1875
2377
  }>>;
2378
+ operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
1876
2379
  payload: z.ZodObject<{
1877
2380
  agentId: z.ZodString;
1878
2381
  name: z.ZodString;
@@ -1890,6 +2393,44 @@ export declare const FeedRecentResponse: z.ZodObject<{
1890
2393
  }>;
1891
2394
  }, z.core.$strict>;
1892
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;
1893
2434
  }, z.core.$strict>], "kind">>;
1894
2435
  }, z.core.$strict>;
1895
2436
  export type FeedRecentResponse = z.infer<typeof FeedRecentResponse>;
@@ -1897,6 +2438,7 @@ export declare const StatsResponse: z.ZodObject<{
1897
2438
  agents: z.ZodInt;
1898
2439
  verifiedTasks: z.ZodInt;
1899
2440
  eventsLast24h: z.ZodInt;
2441
+ takerCompletions24h: z.ZodOptional<z.ZodInt>;
1900
2442
  }, z.core.$strict>;
1901
2443
  export type StatsResponse = z.infer<typeof StatsResponse>;
1902
2444
  export declare const CHECK_DEFAULT_MIN_VERIFIED = 1;
@@ -2041,8 +2583,25 @@ export declare const SealWithheldResponse: z.ZodObject<{
2041
2583
  dormant_days: z.ZodNullable<z.ZodInt>;
2042
2584
  }, z.core.$strict>;
2043
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>;
2044
2601
  export declare const SealVerifyRequest: z.ZodObject<{
2045
2602
  seal: z.ZodString;
2603
+ handshake: z.ZodOptional<z.ZodString>;
2604
+ nonce: z.ZodOptional<z.ZodString>;
2046
2605
  }, z.core.$strict>;
2047
2606
  export type SealVerifyRequest = z.infer<typeof SealVerifyRequest>;
2048
2607
  export declare const SealBrokenReason: z.ZodEnum<{
@@ -2055,6 +2614,28 @@ export declare const SealBrokenReason: z.ZodEnum<{
2055
2614
  wrong_issuer: "wrong_issuer";
2056
2615
  }>;
2057
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>;
2058
2639
  export declare const SealVerifyResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
2059
2640
  valid: z.ZodLiteral<true>;
2060
2641
  payload: z.ZodUnion<readonly [z.ZodObject<{
@@ -2079,7 +2660,7 @@ export declare const SealVerifyResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
2079
2660
  provenance: "provenance";
2080
2661
  reliability: "reliability";
2081
2662
  safety: "safety";
2082
- }>, 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>>;
2083
2664
  counts: z.ZodObject<{
2084
2665
  events: z.ZodInt;
2085
2666
  history_days: z.ZodInt;
@@ -2133,7 +2714,7 @@ export declare const SealVerifyResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
2133
2714
  provenance: "provenance";
2134
2715
  reliability: "reliability";
2135
2716
  safety: "safety";
2136
- }>, 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>>;
2137
2718
  counts: z.ZodObject<{
2138
2719
  events: z.ZodInt;
2139
2720
  history_days: z.ZodInt;
@@ -2177,22 +2758,96 @@ export declare const SealVerifyResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
2177
2758
  "vouched.run": "vouched.run";
2178
2759
  }>;
2179
2760
  sub: z.ZodString;
2761
+ ver: z.ZodLiteral<3>;
2180
2762
  iat: z.ZodInt;
2181
2763
  exp: z.ZodInt;
2182
- version: z.ZodString;
2764
+ agent_version: z.ZodString;
2765
+ level: z.ZodEnum<{
2766
+ bronze: "bronze";
2767
+ gold: "gold";
2768
+ none: "none";
2769
+ silver: "silver";
2770
+ }>;
2183
2771
  scores: z.ZodRecord<z.ZodUnion<readonly [z.ZodEnum<{
2184
2772
  cost_latency: "cost_latency";
2185
2773
  provenance: "provenance";
2186
2774
  reliability: "reliability";
2187
2775
  safety: "safety";
2188
- }>, z.ZodTemplateLiteral<`competence:${string}`>]> & z.core.$partial, z.ZodNullable<z.ZodNumber>>;
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>>;
2189
2777
  counts: z.ZodObject<{
2190
2778
  events: z.ZodInt;
2779
+ history_days: z.ZodInt;
2780
+ verified_tasks: z.ZodInt;
2781
+ seed_tasks: z.ZodInt;
2782
+ server_checked_tasks: z.ZodInt;
2783
+ confirmed_tasks: z.ZodInt;
2784
+ distinct_operators: z.ZodInt;
2785
+ safety_incidents_90d: z.ZodInt;
2786
+ posted_tasks: z.ZodInt;
2787
+ posted_distinct_operators: z.ZodInt;
2788
+ posted_confirmed_tasks: z.ZodInt;
2789
+ }, z.core.$strict>;
2790
+ counted: z.ZodObject<{
2191
2791
  verified_tasks: z.ZodInt;
2192
- seed_tasks: z.ZodOptional<z.ZodInt>;
2792
+ seed_tasks: z.ZodInt;
2793
+ server_checked_tasks: z.ZodInt;
2794
+ confirmed_tasks: z.ZodInt;
2795
+ posted_tasks: z.ZodInt;
2796
+ posted_confirmed_tasks: z.ZodInt;
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
+ }>;
2807
+ operator: z.ZodObject<{
2808
+ verified: z.ZodBoolean;
2193
2809
  }, z.core.$strict>;
2810
+ identity: z.ZodArray<z.ZodObject<{
2811
+ provider: z.ZodURL;
2812
+ kind: z.ZodUnion<readonly [z.ZodEnum<{
2813
+ kya: "kya";
2814
+ oidc: "oidc";
2815
+ saml: "saml";
2816
+ verifiable_credential: "verifiable_credential";
2817
+ }>, z.ZodURL]>;
2818
+ ref: z.ZodString;
2819
+ subject_hash: z.ZodString;
2820
+ attested_at: z.ZodInt;
2821
+ scope: z.ZodEnum<{
2822
+ agent: "agent";
2823
+ operator: "operator";
2824
+ }>;
2825
+ }, z.core.$strict>>;
2826
+ last_active: z.ZodNullable<z.ZodInt>;
2827
+ dormant_days: z.ZodNullable<z.ZodInt>;
2194
2828
  }, z.core.$strict>]>;
2195
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">>;
2196
2851
  }, z.core.$strict>, z.ZodObject<{
2197
2852
  valid: z.ZodLiteral<false>;
2198
2853
  reason: z.ZodEnum<{
@@ -2208,6 +2863,7 @@ export declare const SealVerifyResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
2208
2863
  export type SealVerifyResponse = z.infer<typeof SealVerifyResponse>;
2209
2864
  export declare const ScoreRunResponse: z.ZodObject<{
2210
2865
  scored: z.ZodInt;
2866
+ feedFailed: z.ZodInt;
2211
2867
  }, z.core.$strict>;
2212
2868
  export type ScoreRunResponse = z.infer<typeof ScoreRunResponse>;
2213
2869
  export declare const SeedRunResponse: z.ZodObject<{
@@ -2215,11 +2871,102 @@ export declare const SeedRunResponse: z.ZodObject<{
2215
2871
  added: z.ZodInt;
2216
2872
  }, z.core.$strict>;
2217
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>;
2218
2901
  export declare const INTERNAL_METRICS_MAX_DAYS = 90;
2219
2902
  export declare const InternalMetricsQuery: z.ZodObject<{
2220
2903
  days: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
2221
2904
  }, z.core.$strict>;
2222
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>;
2223
2970
  export declare const InternalMetricsResponse: z.ZodObject<{
2224
2971
  days: z.ZodInt;
2225
2972
  seedOperatorKnown: z.ZodBoolean;
@@ -2267,6 +3014,11 @@ export declare const InternalMetricsResponse: z.ZodObject<{
2267
3014
  tasksPosted: z.ZodInt;
2268
3015
  outcomes: z.ZodInt;
2269
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>;
2270
3022
  }, z.core.$strict>>;
2271
3023
  notMeasured: z.ZodArray<z.ZodObject<{
2272
3024
  metric: z.ZodString;