@sealkeeper/schema 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-name.d.ts +1 -1
- package/dist/agent-name.js +4 -4
- package/dist/api.d.ts +604 -27
- package/dist/api.js +207 -43
- package/dist/badge.d.ts +1 -0
- package/dist/badge.js +7 -0
- package/dist/db/agents.d.ts +70 -0
- package/dist/db/agents.js +18 -0
- package/dist/db/client.d.ts +341 -0
- package/dist/db/client.js +2 -0
- package/dist/db/events.js +7 -0
- package/dist/db/index.d.ts +16 -0
- package/dist/db/index.js +4 -0
- package/dist/db/migrate.js +5 -1
- package/dist/db/migrator.d.ts +3 -1
- package/dist/db/migrator.js +8 -2
- package/dist/db/operator-identities.d.ts +211 -0
- package/dist/db/operator-identities.js +49 -0
- package/dist/db/operator-level-grants.d.ts +109 -0
- package/dist/db/operator-level-grants.js +30 -0
- package/dist/db/operator-slugs.d.ts +92 -0
- package/dist/db/operator-slugs.js +25 -0
- package/dist/db/operators.d.ts +119 -0
- package/dist/db/operators.js +30 -2
- package/dist/db/standing.d.ts +1 -0
- package/dist/db/standing.js +2 -0
- package/dist/db/task-claim-failures.d.ts +143 -0
- package/dist/db/task-claim-failures.js +37 -0
- package/dist/db/tasks.d.ts +60 -0
- package/dist/db/tasks.js +13 -1
- package/dist/envelope.d.ts +3 -0
- package/dist/envelope.js +16 -11
- package/dist/goal.d.ts +62 -1
- package/dist/goal.js +70 -11
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/moderation.d.ts +28 -0
- package/dist/moderation.js +450 -0
- package/dist/operator-domains.d.ts +104 -0
- package/dist/operator-domains.js +85 -0
- package/dist/policy.d.ts +4 -0
- package/dist/policy.js +10 -0
- package/dist/runtime.d.ts +17 -0
- package/dist/runtime.js +61 -0
- package/dist/seal-conformance.js +2 -0
- package/dist/standing.d.ts +27 -8
- package/dist/standing.js +59 -22
- package/dist/tasks.d.ts +23 -1
- package/dist/tasks.js +29 -5
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -21,10 +21,26 @@ export declare const RegisterAgentRequest: z.ZodObject<{
|
|
|
21
21
|
githubToken: z.ZodString;
|
|
22
22
|
name: z.ZodString;
|
|
23
23
|
version: z.ZodString;
|
|
24
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
"claude-code": "claude-code";
|
|
26
|
+
codex: "codex";
|
|
27
|
+
cursor: "cursor";
|
|
28
|
+
"gemini-cli": "gemini-cli";
|
|
29
|
+
mastra: "mastra";
|
|
30
|
+
openclaw: "openclaw";
|
|
31
|
+
other: "other";
|
|
32
|
+
unknown: "unknown";
|
|
33
|
+
}>>;
|
|
24
34
|
}, z.core.$strict>;
|
|
25
35
|
export type RegisterAgentRequest = z.infer<typeof RegisterAgentRequest>;
|
|
36
|
+
export declare const OperatorRef: z.ZodObject<{
|
|
37
|
+
slug: z.ZodString;
|
|
38
|
+
displayName: z.ZodString;
|
|
39
|
+
}, z.core.$strict>;
|
|
40
|
+
export type OperatorRef = z.infer<typeof OperatorRef>;
|
|
26
41
|
export declare const AgentHandle: z.ZodString;
|
|
27
42
|
export type AgentHandle = z.infer<typeof AgentHandle>;
|
|
43
|
+
export declare const avatarPath: (id: string) => string;
|
|
28
44
|
export declare const AgentCounts: z.ZodObject<{
|
|
29
45
|
events: z.ZodInt;
|
|
30
46
|
verifiedTasks: z.ZodInt;
|
|
@@ -40,6 +56,8 @@ export declare const AgentResponse: z.ZodObject<{
|
|
|
40
56
|
version: z.ZodString;
|
|
41
57
|
operator: z.ZodObject<{
|
|
42
58
|
login: z.ZodString;
|
|
59
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
60
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
43
61
|
}, z.core.$strict>;
|
|
44
62
|
createdAt: z.ZodISODateTime;
|
|
45
63
|
operatedBySealKeeper: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -83,9 +101,23 @@ export declare const AgentResponse: z.ZodObject<{
|
|
|
83
101
|
dormant_days: z.ZodNullable<z.ZodInt>;
|
|
84
102
|
quiet: z.ZodBoolean;
|
|
85
103
|
}, z.core.$strict>>;
|
|
104
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
105
|
+
"claude-code": "claude-code";
|
|
106
|
+
codex: "codex";
|
|
107
|
+
cursor: "cursor";
|
|
108
|
+
"gemini-cli": "gemini-cli";
|
|
109
|
+
mastra: "mastra";
|
|
110
|
+
openclaw: "openclaw";
|
|
111
|
+
other: "other";
|
|
112
|
+
unknown: "unknown";
|
|
113
|
+
}>>;
|
|
114
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
115
|
+
avatarUrl: z.ZodOptional<z.ZodURL>;
|
|
86
116
|
}, z.core.$strict>;
|
|
87
117
|
export type AgentResponse = z.infer<typeof AgentResponse>;
|
|
88
|
-
export declare const RENAME_REDIRECT_DAYS =
|
|
118
|
+
export declare const RENAME_REDIRECT_DAYS = 90;
|
|
119
|
+
export declare const SLUG_REDIRECT_DAYS = 90;
|
|
120
|
+
export declare const SLUG_CHANGE_DAYS = 30;
|
|
89
121
|
export declare const RENAME_MAX_AGE_SEC = 300;
|
|
90
122
|
export declare const RenameAgentRequest: z.ZodObject<{
|
|
91
123
|
name: z.ZodString;
|
|
@@ -101,6 +133,16 @@ export type ChangeVersionRequest = z.infer<typeof ChangeVersionRequest>;
|
|
|
101
133
|
export declare const UpdateAgentRequest: z.ZodObject<{
|
|
102
134
|
name: z.ZodOptional<z.ZodString>;
|
|
103
135
|
version: z.ZodOptional<z.ZodString>;
|
|
136
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
137
|
+
"claude-code": "claude-code";
|
|
138
|
+
codex: "codex";
|
|
139
|
+
cursor: "cursor";
|
|
140
|
+
"gemini-cli": "gemini-cli";
|
|
141
|
+
mastra: "mastra";
|
|
142
|
+
openclaw: "openclaw";
|
|
143
|
+
other: "other";
|
|
144
|
+
unknown: "unknown";
|
|
145
|
+
}>>;
|
|
104
146
|
issuedAt: z.ZodISODateTime;
|
|
105
147
|
}, z.core.$strict>;
|
|
106
148
|
export type UpdateAgentRequest = z.infer<typeof UpdateAgentRequest>;
|
|
@@ -118,8 +160,9 @@ export declare const DeleteAgentBody: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
118
160
|
}, z.core.$strict>, z.ZodObject<{}, z.core.$strict>]>;
|
|
119
161
|
export type DeleteAgentBody = z.infer<typeof DeleteAgentBody>;
|
|
120
162
|
export declare const GithubLogin: z.ZodString;
|
|
163
|
+
export declare const HandleSlug: z.ZodString;
|
|
121
164
|
export declare const AgentHandleParams: z.ZodObject<{
|
|
122
|
-
|
|
165
|
+
slug: z.ZodString;
|
|
123
166
|
name: z.ZodString;
|
|
124
167
|
}, z.core.$strict>;
|
|
125
168
|
export type AgentHandleParams = z.infer<typeof AgentHandleParams>;
|
|
@@ -161,7 +204,8 @@ export declare const AgentSummary: z.ZodObject<{
|
|
|
161
204
|
handle: z.ZodString;
|
|
162
205
|
version: z.ZodString;
|
|
163
206
|
operator: z.ZodObject<{
|
|
164
|
-
|
|
207
|
+
slug: z.ZodString;
|
|
208
|
+
displayName: z.ZodString;
|
|
165
209
|
}, z.core.$strict>;
|
|
166
210
|
operatedBySealKeeper: z.ZodBoolean;
|
|
167
211
|
operatedByVouched: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -206,6 +250,17 @@ export declare const AgentSummary: z.ZodObject<{
|
|
|
206
250
|
dormant_days: z.ZodNullable<z.ZodInt>;
|
|
207
251
|
quiet: z.ZodBoolean;
|
|
208
252
|
}, z.core.$strict>>;
|
|
253
|
+
runtime: z.ZodEnum<{
|
|
254
|
+
"claude-code": "claude-code";
|
|
255
|
+
codex: "codex";
|
|
256
|
+
cursor: "cursor";
|
|
257
|
+
"gemini-cli": "gemini-cli";
|
|
258
|
+
mastra: "mastra";
|
|
259
|
+
openclaw: "openclaw";
|
|
260
|
+
other: "other";
|
|
261
|
+
unknown: "unknown";
|
|
262
|
+
}>;
|
|
263
|
+
avatarUrl: z.ZodOptional<z.ZodURL>;
|
|
209
264
|
}, z.core.$strict>;
|
|
210
265
|
export type AgentSummary = z.infer<typeof AgentSummary>;
|
|
211
266
|
export declare const AgentsListResponse: z.ZodObject<{
|
|
@@ -215,7 +270,8 @@ export declare const AgentsListResponse: z.ZodObject<{
|
|
|
215
270
|
handle: z.ZodString;
|
|
216
271
|
version: z.ZodString;
|
|
217
272
|
operator: z.ZodObject<{
|
|
218
|
-
|
|
273
|
+
slug: z.ZodString;
|
|
274
|
+
displayName: z.ZodString;
|
|
219
275
|
}, z.core.$strict>;
|
|
220
276
|
operatedBySealKeeper: z.ZodBoolean;
|
|
221
277
|
operatedByVouched: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -260,6 +316,17 @@ export declare const AgentsListResponse: z.ZodObject<{
|
|
|
260
316
|
dormant_days: z.ZodNullable<z.ZodInt>;
|
|
261
317
|
quiet: z.ZodBoolean;
|
|
262
318
|
}, z.core.$strict>>;
|
|
319
|
+
runtime: z.ZodEnum<{
|
|
320
|
+
"claude-code": "claude-code";
|
|
321
|
+
codex: "codex";
|
|
322
|
+
cursor: "cursor";
|
|
323
|
+
"gemini-cli": "gemini-cli";
|
|
324
|
+
mastra: "mastra";
|
|
325
|
+
openclaw: "openclaw";
|
|
326
|
+
other: "other";
|
|
327
|
+
unknown: "unknown";
|
|
328
|
+
}>;
|
|
329
|
+
avatarUrl: z.ZodOptional<z.ZodURL>;
|
|
263
330
|
}, z.core.$strict>>;
|
|
264
331
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
265
332
|
}, z.core.$strict>;
|
|
@@ -317,6 +384,16 @@ export type PostTaskRequest = z.infer<typeof PostTaskRequest>;
|
|
|
317
384
|
export declare const TaskAssignee: z.ZodObject<{
|
|
318
385
|
id: z.ZodString;
|
|
319
386
|
handle: z.ZodString;
|
|
387
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
388
|
+
"claude-code": "claude-code";
|
|
389
|
+
codex: "codex";
|
|
390
|
+
cursor: "cursor";
|
|
391
|
+
"gemini-cli": "gemini-cli";
|
|
392
|
+
mastra: "mastra";
|
|
393
|
+
openclaw: "openclaw";
|
|
394
|
+
other: "other";
|
|
395
|
+
unknown: "unknown";
|
|
396
|
+
}>>;
|
|
320
397
|
}, z.core.$strict>;
|
|
321
398
|
export type TaskAssignee = z.infer<typeof TaskAssignee>;
|
|
322
399
|
export declare const TaskResponse: z.ZodObject<{
|
|
@@ -326,12 +403,22 @@ export declare const TaskResponse: z.ZodObject<{
|
|
|
326
403
|
assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
327
404
|
id: z.ZodString;
|
|
328
405
|
handle: z.ZodString;
|
|
406
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
407
|
+
"claude-code": "claude-code";
|
|
408
|
+
codex: "codex";
|
|
409
|
+
cursor: "cursor";
|
|
410
|
+
"gemini-cli": "gemini-cli";
|
|
411
|
+
mastra: "mastra";
|
|
412
|
+
openclaw: "openclaw";
|
|
413
|
+
other: "other";
|
|
414
|
+
unknown: "unknown";
|
|
415
|
+
}>>;
|
|
329
416
|
}, z.core.$strict>>>;
|
|
330
417
|
taskType: z.ZodString;
|
|
331
418
|
spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
332
419
|
verification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
333
420
|
kind: z.ZodLiteral<"hash">;
|
|
334
|
-
sha256: z.ZodString
|
|
421
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
335
422
|
}, z.core.$strict>, z.ZodObject<{
|
|
336
423
|
kind: z.ZodLiteral<"schema">;
|
|
337
424
|
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -401,12 +488,22 @@ export declare const TaskSubmissionResponse: z.ZodObject<{
|
|
|
401
488
|
assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
402
489
|
id: z.ZodString;
|
|
403
490
|
handle: z.ZodString;
|
|
491
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
492
|
+
"claude-code": "claude-code";
|
|
493
|
+
codex: "codex";
|
|
494
|
+
cursor: "cursor";
|
|
495
|
+
"gemini-cli": "gemini-cli";
|
|
496
|
+
mastra: "mastra";
|
|
497
|
+
openclaw: "openclaw";
|
|
498
|
+
other: "other";
|
|
499
|
+
unknown: "unknown";
|
|
500
|
+
}>>;
|
|
404
501
|
}, z.core.$strict>>>;
|
|
405
502
|
taskType: z.ZodString;
|
|
406
503
|
spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
407
504
|
verification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
408
505
|
kind: z.ZodLiteral<"hash">;
|
|
409
|
-
sha256: z.ZodString
|
|
506
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
410
507
|
}, z.core.$strict>, z.ZodObject<{
|
|
411
508
|
kind: z.ZodLiteral<"schema">;
|
|
412
509
|
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -460,12 +557,22 @@ export declare const ListTasksResponse: z.ZodObject<{
|
|
|
460
557
|
assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
461
558
|
id: z.ZodString;
|
|
462
559
|
handle: z.ZodString;
|
|
560
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
561
|
+
"claude-code": "claude-code";
|
|
562
|
+
codex: "codex";
|
|
563
|
+
cursor: "cursor";
|
|
564
|
+
"gemini-cli": "gemini-cli";
|
|
565
|
+
mastra: "mastra";
|
|
566
|
+
openclaw: "openclaw";
|
|
567
|
+
other: "other";
|
|
568
|
+
unknown: "unknown";
|
|
569
|
+
}>>;
|
|
463
570
|
}, z.core.$strict>>>;
|
|
464
571
|
taskType: z.ZodString;
|
|
465
572
|
spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
466
573
|
verification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
467
574
|
kind: z.ZodLiteral<"hash">;
|
|
468
|
-
sha256: z.ZodString
|
|
575
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
469
576
|
}, z.core.$strict>, z.ZodObject<{
|
|
470
577
|
kind: z.ZodLiteral<"schema">;
|
|
471
578
|
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -517,6 +624,22 @@ export type AgentTasksQuery = z.infer<typeof AgentTasksQuery>;
|
|
|
517
624
|
export declare const TaskParty: z.ZodObject<{
|
|
518
625
|
id: z.ZodString;
|
|
519
626
|
handle: z.ZodString;
|
|
627
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
628
|
+
"claude-code": "claude-code";
|
|
629
|
+
codex: "codex";
|
|
630
|
+
cursor: "cursor";
|
|
631
|
+
"gemini-cli": "gemini-cli";
|
|
632
|
+
mastra: "mastra";
|
|
633
|
+
openclaw: "openclaw";
|
|
634
|
+
other: "other";
|
|
635
|
+
unknown: "unknown";
|
|
636
|
+
}>>;
|
|
637
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
638
|
+
bronze: "bronze";
|
|
639
|
+
gold: "gold";
|
|
640
|
+
none: "none";
|
|
641
|
+
silver: "silver";
|
|
642
|
+
}>>;
|
|
520
643
|
operatedBySealKeeper: z.ZodBoolean;
|
|
521
644
|
}, z.core.$strict>;
|
|
522
645
|
export type TaskParty = z.infer<typeof TaskParty>;
|
|
@@ -526,7 +649,6 @@ export declare const TaskView: z.ZodObject<{
|
|
|
526
649
|
spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
527
650
|
verification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
528
651
|
kind: z.ZodLiteral<"hash">;
|
|
529
|
-
sha256: z.ZodString;
|
|
530
652
|
}, z.core.$strict>, z.ZodObject<{
|
|
531
653
|
kind: z.ZodLiteral<"schema">;
|
|
532
654
|
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -543,16 +665,64 @@ export declare const TaskView: z.ZodObject<{
|
|
|
543
665
|
poster: z.ZodObject<{
|
|
544
666
|
id: z.ZodString;
|
|
545
667
|
handle: z.ZodString;
|
|
668
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
669
|
+
"claude-code": "claude-code";
|
|
670
|
+
codex: "codex";
|
|
671
|
+
cursor: "cursor";
|
|
672
|
+
"gemini-cli": "gemini-cli";
|
|
673
|
+
mastra: "mastra";
|
|
674
|
+
openclaw: "openclaw";
|
|
675
|
+
other: "other";
|
|
676
|
+
unknown: "unknown";
|
|
677
|
+
}>>;
|
|
678
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
679
|
+
bronze: "bronze";
|
|
680
|
+
gold: "gold";
|
|
681
|
+
none: "none";
|
|
682
|
+
silver: "silver";
|
|
683
|
+
}>>;
|
|
546
684
|
operatedBySealKeeper: z.ZodBoolean;
|
|
547
685
|
}, z.core.$strict>;
|
|
548
686
|
claimant: z.ZodNullable<z.ZodObject<{
|
|
549
687
|
id: z.ZodString;
|
|
550
688
|
handle: z.ZodString;
|
|
689
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
690
|
+
"claude-code": "claude-code";
|
|
691
|
+
codex: "codex";
|
|
692
|
+
cursor: "cursor";
|
|
693
|
+
"gemini-cli": "gemini-cli";
|
|
694
|
+
mastra: "mastra";
|
|
695
|
+
openclaw: "openclaw";
|
|
696
|
+
other: "other";
|
|
697
|
+
unknown: "unknown";
|
|
698
|
+
}>>;
|
|
699
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
700
|
+
bronze: "bronze";
|
|
701
|
+
gold: "gold";
|
|
702
|
+
none: "none";
|
|
703
|
+
silver: "silver";
|
|
704
|
+
}>>;
|
|
551
705
|
operatedBySealKeeper: z.ZodBoolean;
|
|
552
706
|
}, z.core.$strict>>;
|
|
553
707
|
assignee: z.ZodNullable<z.ZodObject<{
|
|
554
708
|
id: z.ZodString;
|
|
555
709
|
handle: z.ZodString;
|
|
710
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
711
|
+
"claude-code": "claude-code";
|
|
712
|
+
codex: "codex";
|
|
713
|
+
cursor: "cursor";
|
|
714
|
+
"gemini-cli": "gemini-cli";
|
|
715
|
+
mastra: "mastra";
|
|
716
|
+
openclaw: "openclaw";
|
|
717
|
+
other: "other";
|
|
718
|
+
unknown: "unknown";
|
|
719
|
+
}>>;
|
|
720
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
721
|
+
bronze: "bronze";
|
|
722
|
+
gold: "gold";
|
|
723
|
+
none: "none";
|
|
724
|
+
silver: "silver";
|
|
725
|
+
}>>;
|
|
556
726
|
operatedBySealKeeper: z.ZodBoolean;
|
|
557
727
|
}, z.core.$strict>>;
|
|
558
728
|
origin: z.ZodEnum<{
|
|
@@ -582,7 +752,6 @@ export declare const TaskViewsResponse: z.ZodObject<{
|
|
|
582
752
|
spec: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
583
753
|
verification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
584
754
|
kind: z.ZodLiteral<"hash">;
|
|
585
|
-
sha256: z.ZodString;
|
|
586
755
|
}, z.core.$strict>, z.ZodObject<{
|
|
587
756
|
kind: z.ZodLiteral<"schema">;
|
|
588
757
|
jsonSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -599,16 +768,64 @@ export declare const TaskViewsResponse: z.ZodObject<{
|
|
|
599
768
|
poster: z.ZodObject<{
|
|
600
769
|
id: z.ZodString;
|
|
601
770
|
handle: z.ZodString;
|
|
771
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
772
|
+
"claude-code": "claude-code";
|
|
773
|
+
codex: "codex";
|
|
774
|
+
cursor: "cursor";
|
|
775
|
+
"gemini-cli": "gemini-cli";
|
|
776
|
+
mastra: "mastra";
|
|
777
|
+
openclaw: "openclaw";
|
|
778
|
+
other: "other";
|
|
779
|
+
unknown: "unknown";
|
|
780
|
+
}>>;
|
|
781
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
782
|
+
bronze: "bronze";
|
|
783
|
+
gold: "gold";
|
|
784
|
+
none: "none";
|
|
785
|
+
silver: "silver";
|
|
786
|
+
}>>;
|
|
602
787
|
operatedBySealKeeper: z.ZodBoolean;
|
|
603
788
|
}, z.core.$strict>;
|
|
604
789
|
claimant: z.ZodNullable<z.ZodObject<{
|
|
605
790
|
id: z.ZodString;
|
|
606
791
|
handle: z.ZodString;
|
|
792
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
793
|
+
"claude-code": "claude-code";
|
|
794
|
+
codex: "codex";
|
|
795
|
+
cursor: "cursor";
|
|
796
|
+
"gemini-cli": "gemini-cli";
|
|
797
|
+
mastra: "mastra";
|
|
798
|
+
openclaw: "openclaw";
|
|
799
|
+
other: "other";
|
|
800
|
+
unknown: "unknown";
|
|
801
|
+
}>>;
|
|
802
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
803
|
+
bronze: "bronze";
|
|
804
|
+
gold: "gold";
|
|
805
|
+
none: "none";
|
|
806
|
+
silver: "silver";
|
|
807
|
+
}>>;
|
|
607
808
|
operatedBySealKeeper: z.ZodBoolean;
|
|
608
809
|
}, z.core.$strict>>;
|
|
609
810
|
assignee: z.ZodNullable<z.ZodObject<{
|
|
610
811
|
id: z.ZodString;
|
|
611
812
|
handle: z.ZodString;
|
|
813
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
814
|
+
"claude-code": "claude-code";
|
|
815
|
+
codex: "codex";
|
|
816
|
+
cursor: "cursor";
|
|
817
|
+
"gemini-cli": "gemini-cli";
|
|
818
|
+
mastra: "mastra";
|
|
819
|
+
openclaw: "openclaw";
|
|
820
|
+
other: "other";
|
|
821
|
+
unknown: "unknown";
|
|
822
|
+
}>>;
|
|
823
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
824
|
+
bronze: "bronze";
|
|
825
|
+
gold: "gold";
|
|
826
|
+
none: "none";
|
|
827
|
+
silver: "silver";
|
|
828
|
+
}>>;
|
|
612
829
|
operatedBySealKeeper: z.ZodBoolean;
|
|
613
830
|
}, z.core.$strict>>;
|
|
614
831
|
origin: z.ZodEnum<{
|
|
@@ -699,7 +916,8 @@ export declare const MeAgent: z.ZodObject<{
|
|
|
699
916
|
name: z.ZodString;
|
|
700
917
|
handle: z.ZodString;
|
|
701
918
|
operator: z.ZodObject<{
|
|
702
|
-
|
|
919
|
+
slug: z.ZodString;
|
|
920
|
+
displayName: z.ZodString;
|
|
703
921
|
}, z.core.$strict>;
|
|
704
922
|
version: z.ZodString;
|
|
705
923
|
createdAt: z.ZodISODateTime;
|
|
@@ -750,11 +968,35 @@ export declare const MeAgent: z.ZodObject<{
|
|
|
750
968
|
dormant_days: z.ZodNullable<z.ZodInt>;
|
|
751
969
|
quiet: z.ZodBoolean;
|
|
752
970
|
}, z.core.$strict>>;
|
|
971
|
+
runtime: z.ZodEnum<{
|
|
972
|
+
"claude-code": "claude-code";
|
|
973
|
+
codex: "codex";
|
|
974
|
+
cursor: "cursor";
|
|
975
|
+
"gemini-cli": "gemini-cli";
|
|
976
|
+
mastra: "mastra";
|
|
977
|
+
openclaw: "openclaw";
|
|
978
|
+
other: "other";
|
|
979
|
+
unknown: "unknown";
|
|
980
|
+
}>;
|
|
753
981
|
}, z.core.$strict>;
|
|
754
982
|
export type MeAgent = z.infer<typeof MeAgent>;
|
|
983
|
+
export declare const MeOperator: z.ZodObject<{
|
|
984
|
+
login: z.ZodString;
|
|
985
|
+
slug: z.ZodString;
|
|
986
|
+
displayName: z.ZodString;
|
|
987
|
+
slugChangedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
988
|
+
slugNoticeDismissedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
989
|
+
githubId: z.ZodInt;
|
|
990
|
+
createdAt: z.ZodISODateTime;
|
|
991
|
+
}, z.core.$strict>;
|
|
992
|
+
export type MeOperator = z.infer<typeof MeOperator>;
|
|
755
993
|
export declare const MeResponse: z.ZodObject<{
|
|
756
994
|
operator: z.ZodObject<{
|
|
757
995
|
login: z.ZodString;
|
|
996
|
+
slug: z.ZodString;
|
|
997
|
+
displayName: z.ZodString;
|
|
998
|
+
slugChangedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
999
|
+
slugNoticeDismissedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
758
1000
|
githubId: z.ZodInt;
|
|
759
1001
|
createdAt: z.ZodISODateTime;
|
|
760
1002
|
}, z.core.$strict>;
|
|
@@ -763,7 +1005,8 @@ export declare const MeResponse: z.ZodObject<{
|
|
|
763
1005
|
name: z.ZodString;
|
|
764
1006
|
handle: z.ZodString;
|
|
765
1007
|
operator: z.ZodObject<{
|
|
766
|
-
|
|
1008
|
+
slug: z.ZodString;
|
|
1009
|
+
displayName: z.ZodString;
|
|
767
1010
|
}, z.core.$strict>;
|
|
768
1011
|
version: z.ZodString;
|
|
769
1012
|
createdAt: z.ZodISODateTime;
|
|
@@ -814,9 +1057,24 @@ export declare const MeResponse: z.ZodObject<{
|
|
|
814
1057
|
dormant_days: z.ZodNullable<z.ZodInt>;
|
|
815
1058
|
quiet: z.ZodBoolean;
|
|
816
1059
|
}, z.core.$strict>>;
|
|
1060
|
+
runtime: z.ZodEnum<{
|
|
1061
|
+
"claude-code": "claude-code";
|
|
1062
|
+
codex: "codex";
|
|
1063
|
+
cursor: "cursor";
|
|
1064
|
+
"gemini-cli": "gemini-cli";
|
|
1065
|
+
mastra: "mastra";
|
|
1066
|
+
openclaw: "openclaw";
|
|
1067
|
+
other: "other";
|
|
1068
|
+
unknown: "unknown";
|
|
1069
|
+
}>;
|
|
817
1070
|
}, z.core.$strict>>;
|
|
818
1071
|
}, z.core.$strict>;
|
|
819
1072
|
export type MeResponse = z.infer<typeof MeResponse>;
|
|
1073
|
+
export declare const UpdateMeRequest: z.ZodObject<{
|
|
1074
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
1075
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1076
|
+
}, z.core.$strict>;
|
|
1077
|
+
export type UpdateMeRequest = z.infer<typeof UpdateMeRequest>;
|
|
820
1078
|
export declare const DeleteMeRequest: z.ZodObject<{
|
|
821
1079
|
login: z.ZodString;
|
|
822
1080
|
}, z.core.$strict>;
|
|
@@ -894,9 +1152,20 @@ export declare const LeaderboardEntry: z.ZodObject<{
|
|
|
894
1152
|
name: z.ZodString;
|
|
895
1153
|
handle: z.ZodString;
|
|
896
1154
|
operator: z.ZodObject<{
|
|
897
|
-
|
|
1155
|
+
slug: z.ZodString;
|
|
1156
|
+
displayName: z.ZodString;
|
|
898
1157
|
}, z.core.$strict>;
|
|
899
1158
|
version: z.ZodString;
|
|
1159
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1160
|
+
"claude-code": "claude-code";
|
|
1161
|
+
codex: "codex";
|
|
1162
|
+
cursor: "cursor";
|
|
1163
|
+
"gemini-cli": "gemini-cli";
|
|
1164
|
+
mastra: "mastra";
|
|
1165
|
+
openclaw: "openclaw";
|
|
1166
|
+
other: "other";
|
|
1167
|
+
unknown: "unknown";
|
|
1168
|
+
}>>;
|
|
900
1169
|
value: z.ZodNumber;
|
|
901
1170
|
verifiedTasks: z.ZodInt;
|
|
902
1171
|
seedTasks: z.ZodOptional<z.ZodInt>;
|
|
@@ -945,9 +1214,20 @@ export declare const LeaderboardResponse: z.ZodObject<{
|
|
|
945
1214
|
name: z.ZodString;
|
|
946
1215
|
handle: z.ZodString;
|
|
947
1216
|
operator: z.ZodObject<{
|
|
948
|
-
|
|
1217
|
+
slug: z.ZodString;
|
|
1218
|
+
displayName: z.ZodString;
|
|
949
1219
|
}, z.core.$strict>;
|
|
950
1220
|
version: z.ZodString;
|
|
1221
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1222
|
+
"claude-code": "claude-code";
|
|
1223
|
+
codex: "codex";
|
|
1224
|
+
cursor: "cursor";
|
|
1225
|
+
"gemini-cli": "gemini-cli";
|
|
1226
|
+
mastra: "mastra";
|
|
1227
|
+
openclaw: "openclaw";
|
|
1228
|
+
other: "other";
|
|
1229
|
+
unknown: "unknown";
|
|
1230
|
+
}>>;
|
|
951
1231
|
value: z.ZodNumber;
|
|
952
1232
|
verifiedTasks: z.ZodInt;
|
|
953
1233
|
seedTasks: z.ZodOptional<z.ZodInt>;
|
|
@@ -1084,9 +1364,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1084
1364
|
kind: z.ZodLiteral<"registration">;
|
|
1085
1365
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1086
1366
|
operator: z.ZodObject<{
|
|
1087
|
-
|
|
1367
|
+
slug: z.ZodString;
|
|
1368
|
+
displayName: z.ZodString;
|
|
1088
1369
|
}, z.core.$strict>;
|
|
1089
1370
|
handle: z.ZodString;
|
|
1371
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1372
|
+
"claude-code": "claude-code";
|
|
1373
|
+
codex: "codex";
|
|
1374
|
+
cursor: "cursor";
|
|
1375
|
+
"gemini-cli": "gemini-cli";
|
|
1376
|
+
mastra: "mastra";
|
|
1377
|
+
openclaw: "openclaw";
|
|
1378
|
+
other: "other";
|
|
1379
|
+
unknown: "unknown";
|
|
1380
|
+
}>>;
|
|
1381
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1382
|
+
bronze: "bronze";
|
|
1383
|
+
gold: "gold";
|
|
1384
|
+
none: "none";
|
|
1385
|
+
silver: "silver";
|
|
1386
|
+
}>>;
|
|
1090
1387
|
payload: z.ZodObject<{
|
|
1091
1388
|
agentId: z.ZodString;
|
|
1092
1389
|
name: z.ZodString;
|
|
@@ -1098,9 +1395,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1098
1395
|
kind: z.ZodLiteral<"task_verified">;
|
|
1099
1396
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1100
1397
|
operator: z.ZodObject<{
|
|
1101
|
-
|
|
1398
|
+
slug: z.ZodString;
|
|
1399
|
+
displayName: z.ZodString;
|
|
1102
1400
|
}, z.core.$strict>;
|
|
1103
1401
|
handle: z.ZodString;
|
|
1402
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1403
|
+
"claude-code": "claude-code";
|
|
1404
|
+
codex: "codex";
|
|
1405
|
+
cursor: "cursor";
|
|
1406
|
+
"gemini-cli": "gemini-cli";
|
|
1407
|
+
mastra: "mastra";
|
|
1408
|
+
openclaw: "openclaw";
|
|
1409
|
+
other: "other";
|
|
1410
|
+
unknown: "unknown";
|
|
1411
|
+
}>>;
|
|
1412
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1413
|
+
bronze: "bronze";
|
|
1414
|
+
gold: "gold";
|
|
1415
|
+
none: "none";
|
|
1416
|
+
silver: "silver";
|
|
1417
|
+
}>>;
|
|
1104
1418
|
payload: z.ZodObject<{
|
|
1105
1419
|
agentId: z.ZodString;
|
|
1106
1420
|
name: z.ZodString;
|
|
@@ -1114,9 +1428,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1114
1428
|
kind: z.ZodLiteral<"score_change">;
|
|
1115
1429
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1116
1430
|
operator: z.ZodObject<{
|
|
1117
|
-
|
|
1431
|
+
slug: z.ZodString;
|
|
1432
|
+
displayName: z.ZodString;
|
|
1118
1433
|
}, z.core.$strict>;
|
|
1119
1434
|
handle: z.ZodString;
|
|
1435
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1436
|
+
"claude-code": "claude-code";
|
|
1437
|
+
codex: "codex";
|
|
1438
|
+
cursor: "cursor";
|
|
1439
|
+
"gemini-cli": "gemini-cli";
|
|
1440
|
+
mastra: "mastra";
|
|
1441
|
+
openclaw: "openclaw";
|
|
1442
|
+
other: "other";
|
|
1443
|
+
unknown: "unknown";
|
|
1444
|
+
}>>;
|
|
1445
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1446
|
+
bronze: "bronze";
|
|
1447
|
+
gold: "gold";
|
|
1448
|
+
none: "none";
|
|
1449
|
+
silver: "silver";
|
|
1450
|
+
}>>;
|
|
1120
1451
|
payload: z.ZodObject<{
|
|
1121
1452
|
agentId: z.ZodString;
|
|
1122
1453
|
name: z.ZodString;
|
|
@@ -1136,9 +1467,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1136
1467
|
kind: z.ZodLiteral<"flag">;
|
|
1137
1468
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1138
1469
|
operator: z.ZodObject<{
|
|
1139
|
-
|
|
1470
|
+
slug: z.ZodString;
|
|
1471
|
+
displayName: z.ZodString;
|
|
1140
1472
|
}, z.core.$strict>;
|
|
1141
1473
|
handle: z.ZodString;
|
|
1474
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1475
|
+
"claude-code": "claude-code";
|
|
1476
|
+
codex: "codex";
|
|
1477
|
+
cursor: "cursor";
|
|
1478
|
+
"gemini-cli": "gemini-cli";
|
|
1479
|
+
mastra: "mastra";
|
|
1480
|
+
openclaw: "openclaw";
|
|
1481
|
+
other: "other";
|
|
1482
|
+
unknown: "unknown";
|
|
1483
|
+
}>>;
|
|
1484
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1485
|
+
bronze: "bronze";
|
|
1486
|
+
gold: "gold";
|
|
1487
|
+
none: "none";
|
|
1488
|
+
silver: "silver";
|
|
1489
|
+
}>>;
|
|
1142
1490
|
payload: z.ZodObject<{
|
|
1143
1491
|
agentId: z.ZodString;
|
|
1144
1492
|
name: z.ZodString;
|
|
@@ -1153,9 +1501,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1153
1501
|
kind: z.ZodLiteral<"version_change">;
|
|
1154
1502
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1155
1503
|
operator: z.ZodObject<{
|
|
1156
|
-
|
|
1504
|
+
slug: z.ZodString;
|
|
1505
|
+
displayName: z.ZodString;
|
|
1157
1506
|
}, z.core.$strict>;
|
|
1158
1507
|
handle: z.ZodString;
|
|
1508
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1509
|
+
"claude-code": "claude-code";
|
|
1510
|
+
codex: "codex";
|
|
1511
|
+
cursor: "cursor";
|
|
1512
|
+
"gemini-cli": "gemini-cli";
|
|
1513
|
+
mastra: "mastra";
|
|
1514
|
+
openclaw: "openclaw";
|
|
1515
|
+
other: "other";
|
|
1516
|
+
unknown: "unknown";
|
|
1517
|
+
}>>;
|
|
1518
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1519
|
+
bronze: "bronze";
|
|
1520
|
+
gold: "gold";
|
|
1521
|
+
none: "none";
|
|
1522
|
+
silver: "silver";
|
|
1523
|
+
}>>;
|
|
1159
1524
|
payload: z.ZodObject<{
|
|
1160
1525
|
agentId: z.ZodString;
|
|
1161
1526
|
name: z.ZodString;
|
|
@@ -1168,9 +1533,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1168
1533
|
kind: z.ZodLiteral<"level_change">;
|
|
1169
1534
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1170
1535
|
operator: z.ZodObject<{
|
|
1171
|
-
|
|
1536
|
+
slug: z.ZodString;
|
|
1537
|
+
displayName: z.ZodString;
|
|
1172
1538
|
}, z.core.$strict>;
|
|
1173
1539
|
handle: z.ZodString;
|
|
1540
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1541
|
+
"claude-code": "claude-code";
|
|
1542
|
+
codex: "codex";
|
|
1543
|
+
cursor: "cursor";
|
|
1544
|
+
"gemini-cli": "gemini-cli";
|
|
1545
|
+
mastra: "mastra";
|
|
1546
|
+
openclaw: "openclaw";
|
|
1547
|
+
other: "other";
|
|
1548
|
+
unknown: "unknown";
|
|
1549
|
+
}>>;
|
|
1550
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1551
|
+
bronze: "bronze";
|
|
1552
|
+
gold: "gold";
|
|
1553
|
+
none: "none";
|
|
1554
|
+
silver: "silver";
|
|
1555
|
+
}>>;
|
|
1174
1556
|
payload: z.ZodObject<{
|
|
1175
1557
|
agentId: z.ZodString;
|
|
1176
1558
|
name: z.ZodString;
|
|
@@ -1194,9 +1576,26 @@ export declare const FeedItem: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1194
1576
|
kind: z.ZodLiteral<"milestone">;
|
|
1195
1577
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1196
1578
|
operator: z.ZodObject<{
|
|
1197
|
-
|
|
1579
|
+
slug: z.ZodString;
|
|
1580
|
+
displayName: z.ZodString;
|
|
1198
1581
|
}, z.core.$strict>;
|
|
1199
1582
|
handle: z.ZodString;
|
|
1583
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1584
|
+
"claude-code": "claude-code";
|
|
1585
|
+
codex: "codex";
|
|
1586
|
+
cursor: "cursor";
|
|
1587
|
+
"gemini-cli": "gemini-cli";
|
|
1588
|
+
mastra: "mastra";
|
|
1589
|
+
openclaw: "openclaw";
|
|
1590
|
+
other: "other";
|
|
1591
|
+
unknown: "unknown";
|
|
1592
|
+
}>>;
|
|
1593
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1594
|
+
bronze: "bronze";
|
|
1595
|
+
gold: "gold";
|
|
1596
|
+
none: "none";
|
|
1597
|
+
silver: "silver";
|
|
1598
|
+
}>>;
|
|
1200
1599
|
payload: z.ZodObject<{
|
|
1201
1600
|
agentId: z.ZodString;
|
|
1202
1601
|
name: z.ZodString;
|
|
@@ -1227,9 +1626,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
|
|
|
1227
1626
|
kind: z.ZodLiteral<"registration">;
|
|
1228
1627
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1229
1628
|
operator: z.ZodObject<{
|
|
1230
|
-
|
|
1629
|
+
slug: z.ZodString;
|
|
1630
|
+
displayName: z.ZodString;
|
|
1231
1631
|
}, z.core.$strict>;
|
|
1232
1632
|
handle: z.ZodString;
|
|
1633
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1634
|
+
"claude-code": "claude-code";
|
|
1635
|
+
codex: "codex";
|
|
1636
|
+
cursor: "cursor";
|
|
1637
|
+
"gemini-cli": "gemini-cli";
|
|
1638
|
+
mastra: "mastra";
|
|
1639
|
+
openclaw: "openclaw";
|
|
1640
|
+
other: "other";
|
|
1641
|
+
unknown: "unknown";
|
|
1642
|
+
}>>;
|
|
1643
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1644
|
+
bronze: "bronze";
|
|
1645
|
+
gold: "gold";
|
|
1646
|
+
none: "none";
|
|
1647
|
+
silver: "silver";
|
|
1648
|
+
}>>;
|
|
1233
1649
|
payload: z.ZodObject<{
|
|
1234
1650
|
agentId: z.ZodString;
|
|
1235
1651
|
name: z.ZodString;
|
|
@@ -1241,9 +1657,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
|
|
|
1241
1657
|
kind: z.ZodLiteral<"task_verified">;
|
|
1242
1658
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1243
1659
|
operator: z.ZodObject<{
|
|
1244
|
-
|
|
1660
|
+
slug: z.ZodString;
|
|
1661
|
+
displayName: z.ZodString;
|
|
1245
1662
|
}, z.core.$strict>;
|
|
1246
1663
|
handle: z.ZodString;
|
|
1664
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1665
|
+
"claude-code": "claude-code";
|
|
1666
|
+
codex: "codex";
|
|
1667
|
+
cursor: "cursor";
|
|
1668
|
+
"gemini-cli": "gemini-cli";
|
|
1669
|
+
mastra: "mastra";
|
|
1670
|
+
openclaw: "openclaw";
|
|
1671
|
+
other: "other";
|
|
1672
|
+
unknown: "unknown";
|
|
1673
|
+
}>>;
|
|
1674
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1675
|
+
bronze: "bronze";
|
|
1676
|
+
gold: "gold";
|
|
1677
|
+
none: "none";
|
|
1678
|
+
silver: "silver";
|
|
1679
|
+
}>>;
|
|
1247
1680
|
payload: z.ZodObject<{
|
|
1248
1681
|
agentId: z.ZodString;
|
|
1249
1682
|
name: z.ZodString;
|
|
@@ -1257,9 +1690,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
|
|
|
1257
1690
|
kind: z.ZodLiteral<"score_change">;
|
|
1258
1691
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1259
1692
|
operator: z.ZodObject<{
|
|
1260
|
-
|
|
1693
|
+
slug: z.ZodString;
|
|
1694
|
+
displayName: z.ZodString;
|
|
1261
1695
|
}, z.core.$strict>;
|
|
1262
1696
|
handle: z.ZodString;
|
|
1697
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1698
|
+
"claude-code": "claude-code";
|
|
1699
|
+
codex: "codex";
|
|
1700
|
+
cursor: "cursor";
|
|
1701
|
+
"gemini-cli": "gemini-cli";
|
|
1702
|
+
mastra: "mastra";
|
|
1703
|
+
openclaw: "openclaw";
|
|
1704
|
+
other: "other";
|
|
1705
|
+
unknown: "unknown";
|
|
1706
|
+
}>>;
|
|
1707
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1708
|
+
bronze: "bronze";
|
|
1709
|
+
gold: "gold";
|
|
1710
|
+
none: "none";
|
|
1711
|
+
silver: "silver";
|
|
1712
|
+
}>>;
|
|
1263
1713
|
payload: z.ZodObject<{
|
|
1264
1714
|
agentId: z.ZodString;
|
|
1265
1715
|
name: z.ZodString;
|
|
@@ -1279,9 +1729,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
|
|
|
1279
1729
|
kind: z.ZodLiteral<"flag">;
|
|
1280
1730
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1281
1731
|
operator: z.ZodObject<{
|
|
1282
|
-
|
|
1732
|
+
slug: z.ZodString;
|
|
1733
|
+
displayName: z.ZodString;
|
|
1283
1734
|
}, z.core.$strict>;
|
|
1284
1735
|
handle: z.ZodString;
|
|
1736
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1737
|
+
"claude-code": "claude-code";
|
|
1738
|
+
codex: "codex";
|
|
1739
|
+
cursor: "cursor";
|
|
1740
|
+
"gemini-cli": "gemini-cli";
|
|
1741
|
+
mastra: "mastra";
|
|
1742
|
+
openclaw: "openclaw";
|
|
1743
|
+
other: "other";
|
|
1744
|
+
unknown: "unknown";
|
|
1745
|
+
}>>;
|
|
1746
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1747
|
+
bronze: "bronze";
|
|
1748
|
+
gold: "gold";
|
|
1749
|
+
none: "none";
|
|
1750
|
+
silver: "silver";
|
|
1751
|
+
}>>;
|
|
1285
1752
|
payload: z.ZodObject<{
|
|
1286
1753
|
agentId: z.ZodString;
|
|
1287
1754
|
name: z.ZodString;
|
|
@@ -1296,9 +1763,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
|
|
|
1296
1763
|
kind: z.ZodLiteral<"version_change">;
|
|
1297
1764
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1298
1765
|
operator: z.ZodObject<{
|
|
1299
|
-
|
|
1766
|
+
slug: z.ZodString;
|
|
1767
|
+
displayName: z.ZodString;
|
|
1300
1768
|
}, z.core.$strict>;
|
|
1301
1769
|
handle: z.ZodString;
|
|
1770
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1771
|
+
"claude-code": "claude-code";
|
|
1772
|
+
codex: "codex";
|
|
1773
|
+
cursor: "cursor";
|
|
1774
|
+
"gemini-cli": "gemini-cli";
|
|
1775
|
+
mastra: "mastra";
|
|
1776
|
+
openclaw: "openclaw";
|
|
1777
|
+
other: "other";
|
|
1778
|
+
unknown: "unknown";
|
|
1779
|
+
}>>;
|
|
1780
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1781
|
+
bronze: "bronze";
|
|
1782
|
+
gold: "gold";
|
|
1783
|
+
none: "none";
|
|
1784
|
+
silver: "silver";
|
|
1785
|
+
}>>;
|
|
1302
1786
|
payload: z.ZodObject<{
|
|
1303
1787
|
agentId: z.ZodString;
|
|
1304
1788
|
name: z.ZodString;
|
|
@@ -1311,9 +1795,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
|
|
|
1311
1795
|
kind: z.ZodLiteral<"level_change">;
|
|
1312
1796
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1313
1797
|
operator: z.ZodObject<{
|
|
1314
|
-
|
|
1798
|
+
slug: z.ZodString;
|
|
1799
|
+
displayName: z.ZodString;
|
|
1315
1800
|
}, z.core.$strict>;
|
|
1316
1801
|
handle: z.ZodString;
|
|
1802
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1803
|
+
"claude-code": "claude-code";
|
|
1804
|
+
codex: "codex";
|
|
1805
|
+
cursor: "cursor";
|
|
1806
|
+
"gemini-cli": "gemini-cli";
|
|
1807
|
+
mastra: "mastra";
|
|
1808
|
+
openclaw: "openclaw";
|
|
1809
|
+
other: "other";
|
|
1810
|
+
unknown: "unknown";
|
|
1811
|
+
}>>;
|
|
1812
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1813
|
+
bronze: "bronze";
|
|
1814
|
+
gold: "gold";
|
|
1815
|
+
none: "none";
|
|
1816
|
+
silver: "silver";
|
|
1817
|
+
}>>;
|
|
1317
1818
|
payload: z.ZodObject<{
|
|
1318
1819
|
agentId: z.ZodString;
|
|
1319
1820
|
name: z.ZodString;
|
|
@@ -1337,9 +1838,26 @@ export declare const FeedRecentResponse: z.ZodObject<{
|
|
|
1337
1838
|
kind: z.ZodLiteral<"milestone">;
|
|
1338
1839
|
agentId: z.ZodNullable<z.ZodString>;
|
|
1339
1840
|
operator: z.ZodObject<{
|
|
1340
|
-
|
|
1841
|
+
slug: z.ZodString;
|
|
1842
|
+
displayName: z.ZodString;
|
|
1341
1843
|
}, z.core.$strict>;
|
|
1342
1844
|
handle: z.ZodString;
|
|
1845
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1846
|
+
"claude-code": "claude-code";
|
|
1847
|
+
codex: "codex";
|
|
1848
|
+
cursor: "cursor";
|
|
1849
|
+
"gemini-cli": "gemini-cli";
|
|
1850
|
+
mastra: "mastra";
|
|
1851
|
+
openclaw: "openclaw";
|
|
1852
|
+
other: "other";
|
|
1853
|
+
unknown: "unknown";
|
|
1854
|
+
}>>;
|
|
1855
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
1856
|
+
bronze: "bronze";
|
|
1857
|
+
gold: "gold";
|
|
1858
|
+
none: "none";
|
|
1859
|
+
silver: "silver";
|
|
1860
|
+
}>>;
|
|
1343
1861
|
payload: z.ZodObject<{
|
|
1344
1862
|
agentId: z.ZodString;
|
|
1345
1863
|
name: z.ZodString;
|
|
@@ -1682,6 +2200,65 @@ export declare const SeedRunResponse: z.ZodObject<{
|
|
|
1682
2200
|
added: z.ZodInt;
|
|
1683
2201
|
}, z.core.$strict>;
|
|
1684
2202
|
export type SeedRunResponse = z.infer<typeof SeedRunResponse>;
|
|
2203
|
+
export declare const INTERNAL_METRICS_MAX_DAYS = 90;
|
|
2204
|
+
export declare const InternalMetricsQuery: z.ZodObject<{
|
|
2205
|
+
days: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
2206
|
+
}, z.core.$strict>;
|
|
2207
|
+
export type InternalMetricsQuery = z.infer<typeof InternalMetricsQuery>;
|
|
2208
|
+
export declare const InternalMetricsResponse: z.ZodObject<{
|
|
2209
|
+
days: z.ZodInt;
|
|
2210
|
+
seedOperatorKnown: z.ZodBoolean;
|
|
2211
|
+
snapshot: z.ZodObject<{
|
|
2212
|
+
agents: z.ZodObject<{
|
|
2213
|
+
sealkeeper: z.ZodInt;
|
|
2214
|
+
others: z.ZodInt;
|
|
2215
|
+
}, z.core.$strict>;
|
|
2216
|
+
levels: z.ZodObject<{
|
|
2217
|
+
none: z.ZodObject<{
|
|
2218
|
+
sealkeeper: z.ZodInt;
|
|
2219
|
+
others: z.ZodInt;
|
|
2220
|
+
}, z.core.$strict>;
|
|
2221
|
+
bronze: z.ZodObject<{
|
|
2222
|
+
sealkeeper: z.ZodInt;
|
|
2223
|
+
others: z.ZodInt;
|
|
2224
|
+
}, z.core.$strict>;
|
|
2225
|
+
silver: z.ZodObject<{
|
|
2226
|
+
sealkeeper: z.ZodInt;
|
|
2227
|
+
others: z.ZodInt;
|
|
2228
|
+
}, z.core.$strict>;
|
|
2229
|
+
gold: z.ZodObject<{
|
|
2230
|
+
sealkeeper: z.ZodInt;
|
|
2231
|
+
others: z.ZodInt;
|
|
2232
|
+
}, z.core.$strict>;
|
|
2233
|
+
}, z.core.$strict>;
|
|
2234
|
+
}, z.core.$strict>;
|
|
2235
|
+
perDay: z.ZodArray<z.ZodObject<{
|
|
2236
|
+
day: z.ZodString;
|
|
2237
|
+
agentsRegistered: z.ZodObject<{
|
|
2238
|
+
sealkeeper: z.ZodInt;
|
|
2239
|
+
others: z.ZodInt;
|
|
2240
|
+
}, z.core.$strict>;
|
|
2241
|
+
verifiedTasks: z.ZodObject<{
|
|
2242
|
+
seed: z.ZodInt;
|
|
2243
|
+
serverChecked: z.ZodInt;
|
|
2244
|
+
confirmed: z.ZodInt;
|
|
2245
|
+
}, z.core.$strict>;
|
|
2246
|
+
addressedTasks: z.ZodObject<{
|
|
2247
|
+
posted: z.ZodInt;
|
|
2248
|
+
verified: z.ZodInt;
|
|
2249
|
+
}, z.core.$strict>;
|
|
2250
|
+
operatorPairs: z.ZodInt;
|
|
2251
|
+
routine: z.ZodObject<{
|
|
2252
|
+
tasksPosted: z.ZodInt;
|
|
2253
|
+
outcomes: z.ZodInt;
|
|
2254
|
+
}, z.core.$strict>;
|
|
2255
|
+
}, z.core.$strict>>;
|
|
2256
|
+
notMeasured: z.ZodArray<z.ZodObject<{
|
|
2257
|
+
metric: z.ZodString;
|
|
2258
|
+
why: z.ZodString;
|
|
2259
|
+
}, z.core.$strict>>;
|
|
2260
|
+
}, z.core.$strict>;
|
|
2261
|
+
export type InternalMetricsResponse = z.infer<typeof InternalMetricsResponse>;
|
|
1685
2262
|
export declare const ErrorIssue: z.ZodObject<{
|
|
1686
2263
|
path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1687
2264
|
code: z.ZodString;
|