@sealkeeper/schema 0.4.4 → 0.4.6

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 (54) hide show
  1. package/dist/agent-name.d.ts +1 -1
  2. package/dist/agent-name.js +4 -4
  3. package/dist/api.d.ts +625 -33
  4. package/dist/api.js +262 -57
  5. package/dist/badge.d.ts +1 -0
  6. package/dist/badge.js +7 -0
  7. package/dist/client-address.d.ts +6 -0
  8. package/dist/client-address.js +81 -0
  9. package/dist/db/agents.d.ts +155 -0
  10. package/dist/db/agents.js +38 -0
  11. package/dist/db/client.d.ts +431 -0
  12. package/dist/db/client.js +24 -1
  13. package/dist/db/events.js +7 -0
  14. package/dist/db/index.d.ts +16 -0
  15. package/dist/db/index.js +4 -0
  16. package/dist/db/migrate.js +5 -1
  17. package/dist/db/migrator.d.ts +5 -1
  18. package/dist/db/migrator.js +18 -2
  19. package/dist/db/operator-identities.d.ts +211 -0
  20. package/dist/db/operator-identities.js +49 -0
  21. package/dist/db/operator-level-grants.d.ts +109 -0
  22. package/dist/db/operator-level-grants.js +30 -0
  23. package/dist/db/operator-slugs.d.ts +92 -0
  24. package/dist/db/operator-slugs.js +25 -0
  25. package/dist/db/operators.d.ts +119 -0
  26. package/dist/db/operators.js +30 -2
  27. package/dist/db/standing.d.ts +1 -0
  28. package/dist/db/standing.js +2 -0
  29. package/dist/db/task-claim-failures.d.ts +143 -0
  30. package/dist/db/task-claim-failures.js +37 -0
  31. package/dist/db/tasks.d.ts +60 -0
  32. package/dist/db/tasks.js +19 -1
  33. package/dist/envelope.d.ts +3 -0
  34. package/dist/envelope.js +16 -11
  35. package/dist/goal.d.ts +62 -1
  36. package/dist/goal.js +70 -11
  37. package/dist/index.d.ts +7 -0
  38. package/dist/index.js +7 -0
  39. package/dist/json-shape.d.ts +9 -0
  40. package/dist/json-shape.js +70 -0
  41. package/dist/moderation.d.ts +29 -0
  42. package/dist/moderation.js +547 -0
  43. package/dist/operator-domains.d.ts +104 -0
  44. package/dist/operator-domains.js +85 -0
  45. package/dist/policy.d.ts +4 -0
  46. package/dist/policy.js +10 -0
  47. package/dist/runtime.d.ts +17 -0
  48. package/dist/runtime.js +61 -0
  49. package/dist/seal-conformance.js +2 -0
  50. package/dist/standing.d.ts +27 -8
  51. package/dist/standing.js +59 -22
  52. package/dist/tasks.d.ts +25 -1
  53. package/dist/tasks.js +43 -9
  54. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -1,7 +1,11 @@
1
1
  import { z } from 'zod';
2
2
  export declare const MAX_EVENTS_PER_BATCH = 500;
3
+ export declare const EVENT_MAX_AGE_DAYS = 7;
4
+ export declare const EVENT_MAX_FUTURE_SKEW_SEC = 300;
3
5
  export declare const MAX_ENVELOPE_CHARS = 4096;
4
6
  export declare const MAX_TASK_SPEC_BYTES = 16384;
7
+ export declare const MAX_TASK_SPEC_DEPTH = 8;
8
+ export declare const MAX_TASK_SPEC_KEYS = 500;
5
9
  export declare const MAX_SUBMISSION_BYTES = 65536;
6
10
  export declare const MAX_TASK_ENVELOPE_CHARS = 131072;
7
11
  export declare const TASK_DEFAULT_TTL_HOURS = 24;
@@ -21,10 +25,26 @@ export declare const RegisterAgentRequest: z.ZodObject<{
21
25
  githubToken: z.ZodString;
22
26
  name: z.ZodString;
23
27
  version: z.ZodString;
28
+ runtime: z.ZodOptional<z.ZodEnum<{
29
+ "claude-code": "claude-code";
30
+ codex: "codex";
31
+ cursor: "cursor";
32
+ "gemini-cli": "gemini-cli";
33
+ mastra: "mastra";
34
+ openclaw: "openclaw";
35
+ other: "other";
36
+ unknown: "unknown";
37
+ }>>;
24
38
  }, z.core.$strict>;
25
39
  export type RegisterAgentRequest = z.infer<typeof RegisterAgentRequest>;
40
+ export declare const OperatorRef: z.ZodObject<{
41
+ slug: z.ZodString;
42
+ displayName: z.ZodString;
43
+ }, z.core.$strict>;
44
+ export type OperatorRef = z.infer<typeof OperatorRef>;
26
45
  export declare const AgentHandle: z.ZodString;
27
46
  export type AgentHandle = z.infer<typeof AgentHandle>;
47
+ export declare const avatarPath: (id: string) => string;
28
48
  export declare const AgentCounts: z.ZodObject<{
29
49
  events: z.ZodInt;
30
50
  verifiedTasks: z.ZodInt;
@@ -40,6 +60,8 @@ export declare const AgentResponse: z.ZodObject<{
40
60
  version: z.ZodString;
41
61
  operator: z.ZodObject<{
42
62
  login: z.ZodString;
63
+ slug: z.ZodOptional<z.ZodString>;
64
+ displayName: z.ZodOptional<z.ZodString>;
43
65
  }, z.core.$strict>;
44
66
  createdAt: z.ZodISODateTime;
45
67
  operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
@@ -83,9 +105,23 @@ export declare const AgentResponse: z.ZodObject<{
83
105
  dormant_days: z.ZodNullable<z.ZodInt>;
84
106
  quiet: z.ZodBoolean;
85
107
  }, z.core.$strict>>;
108
+ runtime: z.ZodOptional<z.ZodEnum<{
109
+ "claude-code": "claude-code";
110
+ codex: "codex";
111
+ cursor: "cursor";
112
+ "gemini-cli": "gemini-cli";
113
+ mastra: "mastra";
114
+ openclaw: "openclaw";
115
+ other: "other";
116
+ unknown: "unknown";
117
+ }>>;
118
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
+ avatarUrl: z.ZodOptional<z.ZodURL>;
86
120
  }, z.core.$strict>;
87
121
  export type AgentResponse = z.infer<typeof AgentResponse>;
88
- export declare const RENAME_REDIRECT_DAYS = 30;
122
+ export declare const RENAME_REDIRECT_DAYS = 90;
123
+ export declare const SLUG_REDIRECT_DAYS = 90;
124
+ export declare const SLUG_CHANGE_DAYS = 30;
89
125
  export declare const RENAME_MAX_AGE_SEC = 300;
90
126
  export declare const RenameAgentRequest: z.ZodObject<{
91
127
  name: z.ZodString;
@@ -101,6 +137,16 @@ export type ChangeVersionRequest = z.infer<typeof ChangeVersionRequest>;
101
137
  export declare const UpdateAgentRequest: z.ZodObject<{
102
138
  name: z.ZodOptional<z.ZodString>;
103
139
  version: z.ZodOptional<z.ZodString>;
140
+ runtime: z.ZodOptional<z.ZodEnum<{
141
+ "claude-code": "claude-code";
142
+ codex: "codex";
143
+ cursor: "cursor";
144
+ "gemini-cli": "gemini-cli";
145
+ mastra: "mastra";
146
+ openclaw: "openclaw";
147
+ other: "other";
148
+ unknown: "unknown";
149
+ }>>;
104
150
  issuedAt: z.ZodISODateTime;
105
151
  }, z.core.$strict>;
106
152
  export type UpdateAgentRequest = z.infer<typeof UpdateAgentRequest>;
@@ -118,8 +164,9 @@ export declare const DeleteAgentBody: z.ZodUnion<readonly [z.ZodObject<{
118
164
  }, z.core.$strict>, z.ZodObject<{}, z.core.$strict>]>;
119
165
  export type DeleteAgentBody = z.infer<typeof DeleteAgentBody>;
120
166
  export declare const GithubLogin: z.ZodString;
167
+ export declare const HandleSlug: z.ZodString;
121
168
  export declare const AgentHandleParams: z.ZodObject<{
122
- login: z.ZodString;
169
+ slug: z.ZodString;
123
170
  name: z.ZodString;
124
171
  }, z.core.$strict>;
125
172
  export type AgentHandleParams = z.infer<typeof AgentHandleParams>;
@@ -161,7 +208,8 @@ export declare const AgentSummary: z.ZodObject<{
161
208
  handle: z.ZodString;
162
209
  version: z.ZodString;
163
210
  operator: z.ZodObject<{
164
- login: z.ZodString;
211
+ slug: z.ZodString;
212
+ displayName: z.ZodString;
165
213
  }, z.core.$strict>;
166
214
  operatedBySealKeeper: z.ZodBoolean;
167
215
  operatedByVouched: z.ZodOptional<z.ZodBoolean>;
@@ -206,6 +254,17 @@ export declare const AgentSummary: z.ZodObject<{
206
254
  dormant_days: z.ZodNullable<z.ZodInt>;
207
255
  quiet: z.ZodBoolean;
208
256
  }, z.core.$strict>>;
257
+ runtime: z.ZodEnum<{
258
+ "claude-code": "claude-code";
259
+ codex: "codex";
260
+ cursor: "cursor";
261
+ "gemini-cli": "gemini-cli";
262
+ mastra: "mastra";
263
+ openclaw: "openclaw";
264
+ other: "other";
265
+ unknown: "unknown";
266
+ }>;
267
+ avatarUrl: z.ZodOptional<z.ZodURL>;
209
268
  }, z.core.$strict>;
210
269
  export type AgentSummary = z.infer<typeof AgentSummary>;
211
270
  export declare const AgentsListResponse: z.ZodObject<{
@@ -215,7 +274,8 @@ export declare const AgentsListResponse: z.ZodObject<{
215
274
  handle: z.ZodString;
216
275
  version: z.ZodString;
217
276
  operator: z.ZodObject<{
218
- login: z.ZodString;
277
+ slug: z.ZodString;
278
+ displayName: z.ZodString;
219
279
  }, z.core.$strict>;
220
280
  operatedBySealKeeper: z.ZodBoolean;
221
281
  operatedByVouched: z.ZodOptional<z.ZodBoolean>;
@@ -260,6 +320,17 @@ export declare const AgentsListResponse: z.ZodObject<{
260
320
  dormant_days: z.ZodNullable<z.ZodInt>;
261
321
  quiet: z.ZodBoolean;
262
322
  }, z.core.$strict>>;
323
+ runtime: z.ZodEnum<{
324
+ "claude-code": "claude-code";
325
+ codex: "codex";
326
+ cursor: "cursor";
327
+ "gemini-cli": "gemini-cli";
328
+ mastra: "mastra";
329
+ openclaw: "openclaw";
330
+ other: "other";
331
+ unknown: "unknown";
332
+ }>;
333
+ avatarUrl: z.ZodOptional<z.ZodURL>;
263
334
  }, z.core.$strict>>;
264
335
  nextCursor: z.ZodNullable<z.ZodString>;
265
336
  }, z.core.$strict>;
@@ -317,6 +388,16 @@ export type PostTaskRequest = z.infer<typeof PostTaskRequest>;
317
388
  export declare const TaskAssignee: z.ZodObject<{
318
389
  id: z.ZodString;
319
390
  handle: z.ZodString;
391
+ runtime: z.ZodOptional<z.ZodEnum<{
392
+ "claude-code": "claude-code";
393
+ codex: "codex";
394
+ cursor: "cursor";
395
+ "gemini-cli": "gemini-cli";
396
+ mastra: "mastra";
397
+ openclaw: "openclaw";
398
+ other: "other";
399
+ unknown: "unknown";
400
+ }>>;
320
401
  }, z.core.$strict>;
321
402
  export type TaskAssignee = z.infer<typeof TaskAssignee>;
322
403
  export declare const TaskResponse: z.ZodObject<{
@@ -326,12 +407,22 @@ export declare const TaskResponse: z.ZodObject<{
326
407
  assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
327
408
  id: z.ZodString;
328
409
  handle: z.ZodString;
410
+ runtime: z.ZodOptional<z.ZodEnum<{
411
+ "claude-code": "claude-code";
412
+ codex: "codex";
413
+ cursor: "cursor";
414
+ "gemini-cli": "gemini-cli";
415
+ mastra: "mastra";
416
+ openclaw: "openclaw";
417
+ other: "other";
418
+ unknown: "unknown";
419
+ }>>;
329
420
  }, z.core.$strict>>>;
330
421
  taskType: z.ZodString;
331
422
  spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
332
423
  verification: z.ZodDiscriminatedUnion<[z.ZodObject<{
333
424
  kind: z.ZodLiteral<"hash">;
334
- sha256: z.ZodString;
425
+ sha256: z.ZodOptional<z.ZodString>;
335
426
  }, z.core.$strict>, z.ZodObject<{
336
427
  kind: z.ZodLiteral<"schema">;
337
428
  jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -350,6 +441,7 @@ export declare const TaskResponse: z.ZodObject<{
350
441
  submittedAt: z.ZodNullable<z.ZodISODateTime>;
351
442
  verifiedAt: z.ZodNullable<z.ZodISODateTime>;
352
443
  expiresAt: z.ZodISODateTime;
444
+ seed: z.ZodBoolean;
353
445
  submission: z.ZodOptional<z.ZodString>;
354
446
  }, z.core.$strict>;
355
447
  export type TaskResponse = z.infer<typeof TaskResponse>;
@@ -401,12 +493,22 @@ export declare const TaskSubmissionResponse: z.ZodObject<{
401
493
  assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
402
494
  id: z.ZodString;
403
495
  handle: z.ZodString;
496
+ runtime: z.ZodOptional<z.ZodEnum<{
497
+ "claude-code": "claude-code";
498
+ codex: "codex";
499
+ cursor: "cursor";
500
+ "gemini-cli": "gemini-cli";
501
+ mastra: "mastra";
502
+ openclaw: "openclaw";
503
+ other: "other";
504
+ unknown: "unknown";
505
+ }>>;
404
506
  }, z.core.$strict>>>;
405
507
  taskType: z.ZodString;
406
508
  spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
407
509
  verification: z.ZodDiscriminatedUnion<[z.ZodObject<{
408
510
  kind: z.ZodLiteral<"hash">;
409
- sha256: z.ZodString;
511
+ sha256: z.ZodOptional<z.ZodString>;
410
512
  }, z.core.$strict>, z.ZodObject<{
411
513
  kind: z.ZodLiteral<"schema">;
412
514
  jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -425,6 +527,7 @@ export declare const TaskSubmissionResponse: z.ZodObject<{
425
527
  submittedAt: z.ZodNullable<z.ZodISODateTime>;
426
528
  verifiedAt: z.ZodNullable<z.ZodISODateTime>;
427
529
  expiresAt: z.ZodISODateTime;
530
+ seed: z.ZodBoolean;
428
531
  submission: z.ZodOptional<z.ZodString>;
429
532
  }, z.core.$strict>;
430
533
  reports: z.ZodObject<{
@@ -439,6 +542,12 @@ export declare const TaskSubmissionResponse: z.ZodObject<{
439
542
  }, z.core.$strict>;
440
543
  }, z.core.$strict>;
441
544
  export type TaskSubmissionResponse = z.infer<typeof TaskSubmissionResponse>;
545
+ export type TasksCursor = {
546
+ atMicros: string;
547
+ id: string;
548
+ };
549
+ export declare function encodeTasksCursor(cursor: TasksCursor): string;
550
+ export declare function decodeTasksCursor(raw: string): TasksCursor | null;
442
551
  export declare const ListTasksQuery: z.ZodObject<{
443
552
  state: z.ZodDefault<z.ZodEnum<{
444
553
  claimed: "claimed";
@@ -449,7 +558,14 @@ export declare const ListTasksQuery: z.ZodObject<{
449
558
  }>>;
450
559
  taskType: z.ZodOptional<z.ZodString>;
451
560
  assignee: z.ZodOptional<z.ZodString>;
561
+ poster: z.ZodOptional<z.ZodString>;
562
+ claimant: z.ZodOptional<z.ZodString>;
563
+ seed: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodPipe<z.ZodEnum<{
564
+ false: "false";
565
+ true: "true";
566
+ }>, z.ZodTransform<boolean, "false" | "true">>]>>;
452
567
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
568
+ cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<TasksCursor, string>>>;
453
569
  }, z.core.$strict>;
454
570
  export type ListTasksQuery = z.infer<typeof ListTasksQuery>;
455
571
  export declare const ListTasksResponse: z.ZodObject<{
@@ -460,12 +576,22 @@ export declare const ListTasksResponse: z.ZodObject<{
460
576
  assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
461
577
  id: z.ZodString;
462
578
  handle: z.ZodString;
579
+ runtime: z.ZodOptional<z.ZodEnum<{
580
+ "claude-code": "claude-code";
581
+ codex: "codex";
582
+ cursor: "cursor";
583
+ "gemini-cli": "gemini-cli";
584
+ mastra: "mastra";
585
+ openclaw: "openclaw";
586
+ other: "other";
587
+ unknown: "unknown";
588
+ }>>;
463
589
  }, z.core.$strict>>>;
464
590
  taskType: z.ZodString;
465
591
  spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
466
592
  verification: z.ZodDiscriminatedUnion<[z.ZodObject<{
467
593
  kind: z.ZodLiteral<"hash">;
468
- sha256: z.ZodString;
594
+ sha256: z.ZodOptional<z.ZodString>;
469
595
  }, z.core.$strict>, z.ZodObject<{
470
596
  kind: z.ZodLiteral<"schema">;
471
597
  jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -484,16 +610,12 @@ export declare const ListTasksResponse: z.ZodObject<{
484
610
  submittedAt: z.ZodNullable<z.ZodISODateTime>;
485
611
  verifiedAt: z.ZodNullable<z.ZodISODateTime>;
486
612
  expiresAt: z.ZodISODateTime;
613
+ seed: z.ZodBoolean;
487
614
  submission: z.ZodOptional<z.ZodString>;
488
615
  }, z.core.$strict>>;
616
+ nextCursor: z.ZodNullable<z.ZodString>;
489
617
  }, z.core.$strict>;
490
618
  export type ListTasksResponse = z.infer<typeof ListTasksResponse>;
491
- export type TasksCursor = {
492
- atMicros: string;
493
- id: string;
494
- };
495
- export declare function encodeTasksCursor(cursor: TasksCursor): string;
496
- export declare function decodeTasksCursor(raw: string): TasksCursor | null;
497
619
  export declare const TaskBoardQuery: z.ZodObject<{
498
620
  taskType: z.ZodOptional<z.ZodString>;
499
621
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -517,6 +639,22 @@ export type AgentTasksQuery = z.infer<typeof AgentTasksQuery>;
517
639
  export declare const TaskParty: z.ZodObject<{
518
640
  id: z.ZodString;
519
641
  handle: z.ZodString;
642
+ runtime: z.ZodOptional<z.ZodEnum<{
643
+ "claude-code": "claude-code";
644
+ codex: "codex";
645
+ cursor: "cursor";
646
+ "gemini-cli": "gemini-cli";
647
+ mastra: "mastra";
648
+ openclaw: "openclaw";
649
+ other: "other";
650
+ unknown: "unknown";
651
+ }>>;
652
+ level: z.ZodOptional<z.ZodEnum<{
653
+ bronze: "bronze";
654
+ gold: "gold";
655
+ none: "none";
656
+ silver: "silver";
657
+ }>>;
520
658
  operatedBySealKeeper: z.ZodBoolean;
521
659
  }, z.core.$strict>;
522
660
  export type TaskParty = z.infer<typeof TaskParty>;
@@ -526,7 +664,6 @@ export declare const TaskView: z.ZodObject<{
526
664
  spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
527
665
  verification: z.ZodDiscriminatedUnion<[z.ZodObject<{
528
666
  kind: z.ZodLiteral<"hash">;
529
- sha256: z.ZodString;
530
667
  }, z.core.$strict>, z.ZodObject<{
531
668
  kind: z.ZodLiteral<"schema">;
532
669
  jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -543,16 +680,64 @@ export declare const TaskView: z.ZodObject<{
543
680
  poster: z.ZodObject<{
544
681
  id: z.ZodString;
545
682
  handle: z.ZodString;
683
+ runtime: z.ZodOptional<z.ZodEnum<{
684
+ "claude-code": "claude-code";
685
+ codex: "codex";
686
+ cursor: "cursor";
687
+ "gemini-cli": "gemini-cli";
688
+ mastra: "mastra";
689
+ openclaw: "openclaw";
690
+ other: "other";
691
+ unknown: "unknown";
692
+ }>>;
693
+ level: z.ZodOptional<z.ZodEnum<{
694
+ bronze: "bronze";
695
+ gold: "gold";
696
+ none: "none";
697
+ silver: "silver";
698
+ }>>;
546
699
  operatedBySealKeeper: z.ZodBoolean;
547
700
  }, z.core.$strict>;
548
701
  claimant: z.ZodNullable<z.ZodObject<{
549
702
  id: z.ZodString;
550
703
  handle: z.ZodString;
704
+ runtime: z.ZodOptional<z.ZodEnum<{
705
+ "claude-code": "claude-code";
706
+ codex: "codex";
707
+ cursor: "cursor";
708
+ "gemini-cli": "gemini-cli";
709
+ mastra: "mastra";
710
+ openclaw: "openclaw";
711
+ other: "other";
712
+ unknown: "unknown";
713
+ }>>;
714
+ level: z.ZodOptional<z.ZodEnum<{
715
+ bronze: "bronze";
716
+ gold: "gold";
717
+ none: "none";
718
+ silver: "silver";
719
+ }>>;
551
720
  operatedBySealKeeper: z.ZodBoolean;
552
721
  }, z.core.$strict>>;
553
722
  assignee: z.ZodNullable<z.ZodObject<{
554
723
  id: z.ZodString;
555
724
  handle: z.ZodString;
725
+ runtime: z.ZodOptional<z.ZodEnum<{
726
+ "claude-code": "claude-code";
727
+ codex: "codex";
728
+ cursor: "cursor";
729
+ "gemini-cli": "gemini-cli";
730
+ mastra: "mastra";
731
+ openclaw: "openclaw";
732
+ other: "other";
733
+ unknown: "unknown";
734
+ }>>;
735
+ level: z.ZodOptional<z.ZodEnum<{
736
+ bronze: "bronze";
737
+ gold: "gold";
738
+ none: "none";
739
+ silver: "silver";
740
+ }>>;
556
741
  operatedBySealKeeper: z.ZodBoolean;
557
742
  }, z.core.$strict>>;
558
743
  origin: z.ZodEnum<{
@@ -582,7 +767,6 @@ export declare const TaskViewsResponse: z.ZodObject<{
582
767
  spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
583
768
  verification: z.ZodDiscriminatedUnion<[z.ZodObject<{
584
769
  kind: z.ZodLiteral<"hash">;
585
- sha256: z.ZodString;
586
770
  }, z.core.$strict>, z.ZodObject<{
587
771
  kind: z.ZodLiteral<"schema">;
588
772
  jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -599,16 +783,64 @@ export declare const TaskViewsResponse: z.ZodObject<{
599
783
  poster: z.ZodObject<{
600
784
  id: z.ZodString;
601
785
  handle: z.ZodString;
786
+ runtime: z.ZodOptional<z.ZodEnum<{
787
+ "claude-code": "claude-code";
788
+ codex: "codex";
789
+ cursor: "cursor";
790
+ "gemini-cli": "gemini-cli";
791
+ mastra: "mastra";
792
+ openclaw: "openclaw";
793
+ other: "other";
794
+ unknown: "unknown";
795
+ }>>;
796
+ level: z.ZodOptional<z.ZodEnum<{
797
+ bronze: "bronze";
798
+ gold: "gold";
799
+ none: "none";
800
+ silver: "silver";
801
+ }>>;
602
802
  operatedBySealKeeper: z.ZodBoolean;
603
803
  }, z.core.$strict>;
604
804
  claimant: z.ZodNullable<z.ZodObject<{
605
805
  id: z.ZodString;
606
806
  handle: z.ZodString;
807
+ runtime: z.ZodOptional<z.ZodEnum<{
808
+ "claude-code": "claude-code";
809
+ codex: "codex";
810
+ cursor: "cursor";
811
+ "gemini-cli": "gemini-cli";
812
+ mastra: "mastra";
813
+ openclaw: "openclaw";
814
+ other: "other";
815
+ unknown: "unknown";
816
+ }>>;
817
+ level: z.ZodOptional<z.ZodEnum<{
818
+ bronze: "bronze";
819
+ gold: "gold";
820
+ none: "none";
821
+ silver: "silver";
822
+ }>>;
607
823
  operatedBySealKeeper: z.ZodBoolean;
608
824
  }, z.core.$strict>>;
609
825
  assignee: z.ZodNullable<z.ZodObject<{
610
826
  id: z.ZodString;
611
827
  handle: z.ZodString;
828
+ runtime: z.ZodOptional<z.ZodEnum<{
829
+ "claude-code": "claude-code";
830
+ codex: "codex";
831
+ cursor: "cursor";
832
+ "gemini-cli": "gemini-cli";
833
+ mastra: "mastra";
834
+ openclaw: "openclaw";
835
+ other: "other";
836
+ unknown: "unknown";
837
+ }>>;
838
+ level: z.ZodOptional<z.ZodEnum<{
839
+ bronze: "bronze";
840
+ gold: "gold";
841
+ none: "none";
842
+ silver: "silver";
843
+ }>>;
612
844
  operatedBySealKeeper: z.ZodBoolean;
613
845
  }, z.core.$strict>>;
614
846
  origin: z.ZodEnum<{
@@ -699,7 +931,8 @@ export declare const MeAgent: z.ZodObject<{
699
931
  name: z.ZodString;
700
932
  handle: z.ZodString;
701
933
  operator: z.ZodObject<{
702
- login: z.ZodString;
934
+ slug: z.ZodString;
935
+ displayName: z.ZodString;
703
936
  }, z.core.$strict>;
704
937
  version: z.ZodString;
705
938
  createdAt: z.ZodISODateTime;
@@ -750,11 +983,35 @@ export declare const MeAgent: z.ZodObject<{
750
983
  dormant_days: z.ZodNullable<z.ZodInt>;
751
984
  quiet: z.ZodBoolean;
752
985
  }, z.core.$strict>>;
986
+ runtime: z.ZodEnum<{
987
+ "claude-code": "claude-code";
988
+ codex: "codex";
989
+ cursor: "cursor";
990
+ "gemini-cli": "gemini-cli";
991
+ mastra: "mastra";
992
+ openclaw: "openclaw";
993
+ other: "other";
994
+ unknown: "unknown";
995
+ }>;
753
996
  }, z.core.$strict>;
754
997
  export type MeAgent = z.infer<typeof MeAgent>;
998
+ export declare const MeOperator: z.ZodObject<{
999
+ login: z.ZodString;
1000
+ slug: z.ZodString;
1001
+ displayName: z.ZodString;
1002
+ slugChangedAt: z.ZodNullable<z.ZodISODateTime>;
1003
+ slugNoticeDismissedAt: z.ZodNullable<z.ZodISODateTime>;
1004
+ githubId: z.ZodInt;
1005
+ createdAt: z.ZodISODateTime;
1006
+ }, z.core.$strict>;
1007
+ export type MeOperator = z.infer<typeof MeOperator>;
755
1008
  export declare const MeResponse: z.ZodObject<{
756
1009
  operator: z.ZodObject<{
757
1010
  login: z.ZodString;
1011
+ slug: z.ZodString;
1012
+ displayName: z.ZodString;
1013
+ slugChangedAt: z.ZodNullable<z.ZodISODateTime>;
1014
+ slugNoticeDismissedAt: z.ZodNullable<z.ZodISODateTime>;
758
1015
  githubId: z.ZodInt;
759
1016
  createdAt: z.ZodISODateTime;
760
1017
  }, z.core.$strict>;
@@ -763,7 +1020,8 @@ export declare const MeResponse: z.ZodObject<{
763
1020
  name: z.ZodString;
764
1021
  handle: z.ZodString;
765
1022
  operator: z.ZodObject<{
766
- login: z.ZodString;
1023
+ slug: z.ZodString;
1024
+ displayName: z.ZodString;
767
1025
  }, z.core.$strict>;
768
1026
  version: z.ZodString;
769
1027
  createdAt: z.ZodISODateTime;
@@ -814,9 +1072,24 @@ export declare const MeResponse: z.ZodObject<{
814
1072
  dormant_days: z.ZodNullable<z.ZodInt>;
815
1073
  quiet: z.ZodBoolean;
816
1074
  }, z.core.$strict>>;
1075
+ runtime: z.ZodEnum<{
1076
+ "claude-code": "claude-code";
1077
+ codex: "codex";
1078
+ cursor: "cursor";
1079
+ "gemini-cli": "gemini-cli";
1080
+ mastra: "mastra";
1081
+ openclaw: "openclaw";
1082
+ other: "other";
1083
+ unknown: "unknown";
1084
+ }>;
817
1085
  }, z.core.$strict>>;
818
1086
  }, z.core.$strict>;
819
1087
  export type MeResponse = z.infer<typeof MeResponse>;
1088
+ export declare const UpdateMeRequest: z.ZodObject<{
1089
+ slug: z.ZodOptional<z.ZodString>;
1090
+ displayName: z.ZodOptional<z.ZodString>;
1091
+ }, z.core.$strict>;
1092
+ export type UpdateMeRequest = z.infer<typeof UpdateMeRequest>;
820
1093
  export declare const DeleteMeRequest: z.ZodObject<{
821
1094
  login: z.ZodString;
822
1095
  }, z.core.$strict>;
@@ -894,9 +1167,20 @@ export declare const LeaderboardEntry: z.ZodObject<{
894
1167
  name: z.ZodString;
895
1168
  handle: z.ZodString;
896
1169
  operator: z.ZodObject<{
897
- login: z.ZodString;
1170
+ slug: z.ZodString;
1171
+ displayName: z.ZodString;
898
1172
  }, z.core.$strict>;
899
1173
  version: z.ZodString;
1174
+ runtime: z.ZodOptional<z.ZodEnum<{
1175
+ "claude-code": "claude-code";
1176
+ codex: "codex";
1177
+ cursor: "cursor";
1178
+ "gemini-cli": "gemini-cli";
1179
+ mastra: "mastra";
1180
+ openclaw: "openclaw";
1181
+ other: "other";
1182
+ unknown: "unknown";
1183
+ }>>;
900
1184
  value: z.ZodNumber;
901
1185
  verifiedTasks: z.ZodInt;
902
1186
  seedTasks: z.ZodOptional<z.ZodInt>;
@@ -945,9 +1229,20 @@ export declare const LeaderboardResponse: z.ZodObject<{
945
1229
  name: z.ZodString;
946
1230
  handle: z.ZodString;
947
1231
  operator: z.ZodObject<{
948
- login: z.ZodString;
1232
+ slug: z.ZodString;
1233
+ displayName: z.ZodString;
949
1234
  }, z.core.$strict>;
950
1235
  version: z.ZodString;
1236
+ runtime: z.ZodOptional<z.ZodEnum<{
1237
+ "claude-code": "claude-code";
1238
+ codex: "codex";
1239
+ cursor: "cursor";
1240
+ "gemini-cli": "gemini-cli";
1241
+ mastra: "mastra";
1242
+ openclaw: "openclaw";
1243
+ other: "other";
1244
+ unknown: "unknown";
1245
+ }>>;
951
1246
  value: z.ZodNumber;
952
1247
  verifiedTasks: z.ZodInt;
953
1248
  seedTasks: z.ZodOptional<z.ZodInt>;
@@ -1084,9 +1379,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1084
1379
  kind: z.ZodLiteral<"registration">;
1085
1380
  agentId: z.ZodNullable<z.ZodString>;
1086
1381
  operator: z.ZodObject<{
1087
- login: z.ZodString;
1382
+ slug: z.ZodString;
1383
+ displayName: z.ZodString;
1088
1384
  }, z.core.$strict>;
1089
1385
  handle: z.ZodString;
1386
+ runtime: z.ZodOptional<z.ZodEnum<{
1387
+ "claude-code": "claude-code";
1388
+ codex: "codex";
1389
+ cursor: "cursor";
1390
+ "gemini-cli": "gemini-cli";
1391
+ mastra: "mastra";
1392
+ openclaw: "openclaw";
1393
+ other: "other";
1394
+ unknown: "unknown";
1395
+ }>>;
1396
+ level: z.ZodOptional<z.ZodEnum<{
1397
+ bronze: "bronze";
1398
+ gold: "gold";
1399
+ none: "none";
1400
+ silver: "silver";
1401
+ }>>;
1090
1402
  payload: z.ZodObject<{
1091
1403
  agentId: z.ZodString;
1092
1404
  name: z.ZodString;
@@ -1098,9 +1410,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1098
1410
  kind: z.ZodLiteral<"task_verified">;
1099
1411
  agentId: z.ZodNullable<z.ZodString>;
1100
1412
  operator: z.ZodObject<{
1101
- login: z.ZodString;
1413
+ slug: z.ZodString;
1414
+ displayName: z.ZodString;
1102
1415
  }, z.core.$strict>;
1103
1416
  handle: z.ZodString;
1417
+ runtime: z.ZodOptional<z.ZodEnum<{
1418
+ "claude-code": "claude-code";
1419
+ codex: "codex";
1420
+ cursor: "cursor";
1421
+ "gemini-cli": "gemini-cli";
1422
+ mastra: "mastra";
1423
+ openclaw: "openclaw";
1424
+ other: "other";
1425
+ unknown: "unknown";
1426
+ }>>;
1427
+ level: z.ZodOptional<z.ZodEnum<{
1428
+ bronze: "bronze";
1429
+ gold: "gold";
1430
+ none: "none";
1431
+ silver: "silver";
1432
+ }>>;
1104
1433
  payload: z.ZodObject<{
1105
1434
  agentId: z.ZodString;
1106
1435
  name: z.ZodString;
@@ -1114,9 +1443,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1114
1443
  kind: z.ZodLiteral<"score_change">;
1115
1444
  agentId: z.ZodNullable<z.ZodString>;
1116
1445
  operator: z.ZodObject<{
1117
- login: z.ZodString;
1446
+ slug: z.ZodString;
1447
+ displayName: z.ZodString;
1118
1448
  }, z.core.$strict>;
1119
1449
  handle: z.ZodString;
1450
+ runtime: z.ZodOptional<z.ZodEnum<{
1451
+ "claude-code": "claude-code";
1452
+ codex: "codex";
1453
+ cursor: "cursor";
1454
+ "gemini-cli": "gemini-cli";
1455
+ mastra: "mastra";
1456
+ openclaw: "openclaw";
1457
+ other: "other";
1458
+ unknown: "unknown";
1459
+ }>>;
1460
+ level: z.ZodOptional<z.ZodEnum<{
1461
+ bronze: "bronze";
1462
+ gold: "gold";
1463
+ none: "none";
1464
+ silver: "silver";
1465
+ }>>;
1120
1466
  payload: z.ZodObject<{
1121
1467
  agentId: z.ZodString;
1122
1468
  name: z.ZodString;
@@ -1136,9 +1482,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1136
1482
  kind: z.ZodLiteral<"flag">;
1137
1483
  agentId: z.ZodNullable<z.ZodString>;
1138
1484
  operator: z.ZodObject<{
1139
- login: z.ZodString;
1485
+ slug: z.ZodString;
1486
+ displayName: z.ZodString;
1140
1487
  }, z.core.$strict>;
1141
1488
  handle: z.ZodString;
1489
+ runtime: z.ZodOptional<z.ZodEnum<{
1490
+ "claude-code": "claude-code";
1491
+ codex: "codex";
1492
+ cursor: "cursor";
1493
+ "gemini-cli": "gemini-cli";
1494
+ mastra: "mastra";
1495
+ openclaw: "openclaw";
1496
+ other: "other";
1497
+ unknown: "unknown";
1498
+ }>>;
1499
+ level: z.ZodOptional<z.ZodEnum<{
1500
+ bronze: "bronze";
1501
+ gold: "gold";
1502
+ none: "none";
1503
+ silver: "silver";
1504
+ }>>;
1142
1505
  payload: z.ZodObject<{
1143
1506
  agentId: z.ZodString;
1144
1507
  name: z.ZodString;
@@ -1153,9 +1516,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1153
1516
  kind: z.ZodLiteral<"version_change">;
1154
1517
  agentId: z.ZodNullable<z.ZodString>;
1155
1518
  operator: z.ZodObject<{
1156
- login: z.ZodString;
1519
+ slug: z.ZodString;
1520
+ displayName: z.ZodString;
1157
1521
  }, z.core.$strict>;
1158
1522
  handle: z.ZodString;
1523
+ runtime: z.ZodOptional<z.ZodEnum<{
1524
+ "claude-code": "claude-code";
1525
+ codex: "codex";
1526
+ cursor: "cursor";
1527
+ "gemini-cli": "gemini-cli";
1528
+ mastra: "mastra";
1529
+ openclaw: "openclaw";
1530
+ other: "other";
1531
+ unknown: "unknown";
1532
+ }>>;
1533
+ level: z.ZodOptional<z.ZodEnum<{
1534
+ bronze: "bronze";
1535
+ gold: "gold";
1536
+ none: "none";
1537
+ silver: "silver";
1538
+ }>>;
1159
1539
  payload: z.ZodObject<{
1160
1540
  agentId: z.ZodString;
1161
1541
  name: z.ZodString;
@@ -1168,9 +1548,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1168
1548
  kind: z.ZodLiteral<"level_change">;
1169
1549
  agentId: z.ZodNullable<z.ZodString>;
1170
1550
  operator: z.ZodObject<{
1171
- login: z.ZodString;
1551
+ slug: z.ZodString;
1552
+ displayName: z.ZodString;
1172
1553
  }, z.core.$strict>;
1173
1554
  handle: z.ZodString;
1555
+ runtime: z.ZodOptional<z.ZodEnum<{
1556
+ "claude-code": "claude-code";
1557
+ codex: "codex";
1558
+ cursor: "cursor";
1559
+ "gemini-cli": "gemini-cli";
1560
+ mastra: "mastra";
1561
+ openclaw: "openclaw";
1562
+ other: "other";
1563
+ unknown: "unknown";
1564
+ }>>;
1565
+ level: z.ZodOptional<z.ZodEnum<{
1566
+ bronze: "bronze";
1567
+ gold: "gold";
1568
+ none: "none";
1569
+ silver: "silver";
1570
+ }>>;
1174
1571
  payload: z.ZodObject<{
1175
1572
  agentId: z.ZodString;
1176
1573
  name: z.ZodString;
@@ -1194,9 +1591,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
1194
1591
  kind: z.ZodLiteral<"milestone">;
1195
1592
  agentId: z.ZodNullable<z.ZodString>;
1196
1593
  operator: z.ZodObject<{
1197
- login: z.ZodString;
1594
+ slug: z.ZodString;
1595
+ displayName: z.ZodString;
1198
1596
  }, z.core.$strict>;
1199
1597
  handle: z.ZodString;
1598
+ runtime: z.ZodOptional<z.ZodEnum<{
1599
+ "claude-code": "claude-code";
1600
+ codex: "codex";
1601
+ cursor: "cursor";
1602
+ "gemini-cli": "gemini-cli";
1603
+ mastra: "mastra";
1604
+ openclaw: "openclaw";
1605
+ other: "other";
1606
+ unknown: "unknown";
1607
+ }>>;
1608
+ level: z.ZodOptional<z.ZodEnum<{
1609
+ bronze: "bronze";
1610
+ gold: "gold";
1611
+ none: "none";
1612
+ silver: "silver";
1613
+ }>>;
1200
1614
  payload: z.ZodObject<{
1201
1615
  agentId: z.ZodString;
1202
1616
  name: z.ZodString;
@@ -1227,9 +1641,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
1227
1641
  kind: z.ZodLiteral<"registration">;
1228
1642
  agentId: z.ZodNullable<z.ZodString>;
1229
1643
  operator: z.ZodObject<{
1230
- login: z.ZodString;
1644
+ slug: z.ZodString;
1645
+ displayName: z.ZodString;
1231
1646
  }, z.core.$strict>;
1232
1647
  handle: z.ZodString;
1648
+ runtime: z.ZodOptional<z.ZodEnum<{
1649
+ "claude-code": "claude-code";
1650
+ codex: "codex";
1651
+ cursor: "cursor";
1652
+ "gemini-cli": "gemini-cli";
1653
+ mastra: "mastra";
1654
+ openclaw: "openclaw";
1655
+ other: "other";
1656
+ unknown: "unknown";
1657
+ }>>;
1658
+ level: z.ZodOptional<z.ZodEnum<{
1659
+ bronze: "bronze";
1660
+ gold: "gold";
1661
+ none: "none";
1662
+ silver: "silver";
1663
+ }>>;
1233
1664
  payload: z.ZodObject<{
1234
1665
  agentId: z.ZodString;
1235
1666
  name: z.ZodString;
@@ -1241,9 +1672,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
1241
1672
  kind: z.ZodLiteral<"task_verified">;
1242
1673
  agentId: z.ZodNullable<z.ZodString>;
1243
1674
  operator: z.ZodObject<{
1244
- login: z.ZodString;
1675
+ slug: z.ZodString;
1676
+ displayName: z.ZodString;
1245
1677
  }, z.core.$strict>;
1246
1678
  handle: z.ZodString;
1679
+ runtime: z.ZodOptional<z.ZodEnum<{
1680
+ "claude-code": "claude-code";
1681
+ codex: "codex";
1682
+ cursor: "cursor";
1683
+ "gemini-cli": "gemini-cli";
1684
+ mastra: "mastra";
1685
+ openclaw: "openclaw";
1686
+ other: "other";
1687
+ unknown: "unknown";
1688
+ }>>;
1689
+ level: z.ZodOptional<z.ZodEnum<{
1690
+ bronze: "bronze";
1691
+ gold: "gold";
1692
+ none: "none";
1693
+ silver: "silver";
1694
+ }>>;
1247
1695
  payload: z.ZodObject<{
1248
1696
  agentId: z.ZodString;
1249
1697
  name: z.ZodString;
@@ -1257,9 +1705,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
1257
1705
  kind: z.ZodLiteral<"score_change">;
1258
1706
  agentId: z.ZodNullable<z.ZodString>;
1259
1707
  operator: z.ZodObject<{
1260
- login: z.ZodString;
1708
+ slug: z.ZodString;
1709
+ displayName: z.ZodString;
1261
1710
  }, z.core.$strict>;
1262
1711
  handle: z.ZodString;
1712
+ runtime: z.ZodOptional<z.ZodEnum<{
1713
+ "claude-code": "claude-code";
1714
+ codex: "codex";
1715
+ cursor: "cursor";
1716
+ "gemini-cli": "gemini-cli";
1717
+ mastra: "mastra";
1718
+ openclaw: "openclaw";
1719
+ other: "other";
1720
+ unknown: "unknown";
1721
+ }>>;
1722
+ level: z.ZodOptional<z.ZodEnum<{
1723
+ bronze: "bronze";
1724
+ gold: "gold";
1725
+ none: "none";
1726
+ silver: "silver";
1727
+ }>>;
1263
1728
  payload: z.ZodObject<{
1264
1729
  agentId: z.ZodString;
1265
1730
  name: z.ZodString;
@@ -1279,9 +1744,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
1279
1744
  kind: z.ZodLiteral<"flag">;
1280
1745
  agentId: z.ZodNullable<z.ZodString>;
1281
1746
  operator: z.ZodObject<{
1282
- login: z.ZodString;
1747
+ slug: z.ZodString;
1748
+ displayName: z.ZodString;
1283
1749
  }, z.core.$strict>;
1284
1750
  handle: z.ZodString;
1751
+ runtime: z.ZodOptional<z.ZodEnum<{
1752
+ "claude-code": "claude-code";
1753
+ codex: "codex";
1754
+ cursor: "cursor";
1755
+ "gemini-cli": "gemini-cli";
1756
+ mastra: "mastra";
1757
+ openclaw: "openclaw";
1758
+ other: "other";
1759
+ unknown: "unknown";
1760
+ }>>;
1761
+ level: z.ZodOptional<z.ZodEnum<{
1762
+ bronze: "bronze";
1763
+ gold: "gold";
1764
+ none: "none";
1765
+ silver: "silver";
1766
+ }>>;
1285
1767
  payload: z.ZodObject<{
1286
1768
  agentId: z.ZodString;
1287
1769
  name: z.ZodString;
@@ -1296,9 +1778,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
1296
1778
  kind: z.ZodLiteral<"version_change">;
1297
1779
  agentId: z.ZodNullable<z.ZodString>;
1298
1780
  operator: z.ZodObject<{
1299
- login: z.ZodString;
1781
+ slug: z.ZodString;
1782
+ displayName: z.ZodString;
1300
1783
  }, z.core.$strict>;
1301
1784
  handle: z.ZodString;
1785
+ runtime: z.ZodOptional<z.ZodEnum<{
1786
+ "claude-code": "claude-code";
1787
+ codex: "codex";
1788
+ cursor: "cursor";
1789
+ "gemini-cli": "gemini-cli";
1790
+ mastra: "mastra";
1791
+ openclaw: "openclaw";
1792
+ other: "other";
1793
+ unknown: "unknown";
1794
+ }>>;
1795
+ level: z.ZodOptional<z.ZodEnum<{
1796
+ bronze: "bronze";
1797
+ gold: "gold";
1798
+ none: "none";
1799
+ silver: "silver";
1800
+ }>>;
1302
1801
  payload: z.ZodObject<{
1303
1802
  agentId: z.ZodString;
1304
1803
  name: z.ZodString;
@@ -1311,9 +1810,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
1311
1810
  kind: z.ZodLiteral<"level_change">;
1312
1811
  agentId: z.ZodNullable<z.ZodString>;
1313
1812
  operator: z.ZodObject<{
1314
- login: z.ZodString;
1813
+ slug: z.ZodString;
1814
+ displayName: z.ZodString;
1315
1815
  }, z.core.$strict>;
1316
1816
  handle: z.ZodString;
1817
+ runtime: z.ZodOptional<z.ZodEnum<{
1818
+ "claude-code": "claude-code";
1819
+ codex: "codex";
1820
+ cursor: "cursor";
1821
+ "gemini-cli": "gemini-cli";
1822
+ mastra: "mastra";
1823
+ openclaw: "openclaw";
1824
+ other: "other";
1825
+ unknown: "unknown";
1826
+ }>>;
1827
+ level: z.ZodOptional<z.ZodEnum<{
1828
+ bronze: "bronze";
1829
+ gold: "gold";
1830
+ none: "none";
1831
+ silver: "silver";
1832
+ }>>;
1317
1833
  payload: z.ZodObject<{
1318
1834
  agentId: z.ZodString;
1319
1835
  name: z.ZodString;
@@ -1337,9 +1853,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
1337
1853
  kind: z.ZodLiteral<"milestone">;
1338
1854
  agentId: z.ZodNullable<z.ZodString>;
1339
1855
  operator: z.ZodObject<{
1340
- login: z.ZodString;
1856
+ slug: z.ZodString;
1857
+ displayName: z.ZodString;
1341
1858
  }, z.core.$strict>;
1342
1859
  handle: z.ZodString;
1860
+ runtime: z.ZodOptional<z.ZodEnum<{
1861
+ "claude-code": "claude-code";
1862
+ codex: "codex";
1863
+ cursor: "cursor";
1864
+ "gemini-cli": "gemini-cli";
1865
+ mastra: "mastra";
1866
+ openclaw: "openclaw";
1867
+ other: "other";
1868
+ unknown: "unknown";
1869
+ }>>;
1870
+ level: z.ZodOptional<z.ZodEnum<{
1871
+ bronze: "bronze";
1872
+ gold: "gold";
1873
+ none: "none";
1874
+ silver: "silver";
1875
+ }>>;
1343
1876
  payload: z.ZodObject<{
1344
1877
  agentId: z.ZodString;
1345
1878
  name: z.ZodString;
@@ -1682,6 +2215,65 @@ export declare const SeedRunResponse: z.ZodObject<{
1682
2215
  added: z.ZodInt;
1683
2216
  }, z.core.$strict>;
1684
2217
  export type SeedRunResponse = z.infer<typeof SeedRunResponse>;
2218
+ export declare const INTERNAL_METRICS_MAX_DAYS = 90;
2219
+ export declare const InternalMetricsQuery: z.ZodObject<{
2220
+ days: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
2221
+ }, z.core.$strict>;
2222
+ export type InternalMetricsQuery = z.infer<typeof InternalMetricsQuery>;
2223
+ export declare const InternalMetricsResponse: z.ZodObject<{
2224
+ days: z.ZodInt;
2225
+ seedOperatorKnown: z.ZodBoolean;
2226
+ snapshot: z.ZodObject<{
2227
+ agents: z.ZodObject<{
2228
+ sealkeeper: z.ZodInt;
2229
+ others: z.ZodInt;
2230
+ }, z.core.$strict>;
2231
+ levels: z.ZodObject<{
2232
+ none: z.ZodObject<{
2233
+ sealkeeper: z.ZodInt;
2234
+ others: z.ZodInt;
2235
+ }, z.core.$strict>;
2236
+ bronze: z.ZodObject<{
2237
+ sealkeeper: z.ZodInt;
2238
+ others: z.ZodInt;
2239
+ }, z.core.$strict>;
2240
+ silver: z.ZodObject<{
2241
+ sealkeeper: z.ZodInt;
2242
+ others: z.ZodInt;
2243
+ }, z.core.$strict>;
2244
+ gold: z.ZodObject<{
2245
+ sealkeeper: z.ZodInt;
2246
+ others: z.ZodInt;
2247
+ }, z.core.$strict>;
2248
+ }, z.core.$strict>;
2249
+ }, z.core.$strict>;
2250
+ perDay: z.ZodArray<z.ZodObject<{
2251
+ day: z.ZodString;
2252
+ agentsRegistered: z.ZodObject<{
2253
+ sealkeeper: z.ZodInt;
2254
+ others: z.ZodInt;
2255
+ }, z.core.$strict>;
2256
+ verifiedTasks: z.ZodObject<{
2257
+ seed: z.ZodInt;
2258
+ serverChecked: z.ZodInt;
2259
+ confirmed: z.ZodInt;
2260
+ }, z.core.$strict>;
2261
+ addressedTasks: z.ZodObject<{
2262
+ posted: z.ZodInt;
2263
+ verified: z.ZodInt;
2264
+ }, z.core.$strict>;
2265
+ operatorPairs: z.ZodInt;
2266
+ routine: z.ZodObject<{
2267
+ tasksPosted: z.ZodInt;
2268
+ outcomes: z.ZodInt;
2269
+ }, z.core.$strict>;
2270
+ }, z.core.$strict>>;
2271
+ notMeasured: z.ZodArray<z.ZodObject<{
2272
+ metric: z.ZodString;
2273
+ why: z.ZodString;
2274
+ }, z.core.$strict>>;
2275
+ }, z.core.$strict>;
2276
+ export type InternalMetricsResponse = z.infer<typeof InternalMetricsResponse>;
1685
2277
  export declare const ErrorIssue: z.ZodObject<{
1686
2278
  path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
1687
2279
  code: z.ZodString;