@skillsregistry/contracts 2.0.0 → 3.0.0

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.
@@ -1,18 +1,10 @@
1
1
  import { z } from '@hono/zod-openapi';
2
2
  export declare const ErrorResponseSchema: z.ZodObject<{
3
3
  error: z.ZodString;
4
- }, "strip", z.ZodTypeAny, {
5
- error: string;
6
- }, {
7
- error: string;
8
- }>;
4
+ }, z.core.$strip>;
9
5
  export declare const SuccessResponseSchema: z.ZodObject<{
10
6
  success: z.ZodBoolean;
11
- }, "strip", z.ZodTypeAny, {
12
- success: boolean;
13
- }, {
14
- success: boolean;
15
- }>;
7
+ }, z.core.$strip>;
16
8
  export declare const HealthResponseSchema: z.ZodObject<{
17
9
  ok: z.ZodBoolean;
18
10
  service: z.ZodString;
@@ -21,41 +13,13 @@ export declare const HealthResponseSchema: z.ZodObject<{
21
13
  dbStatus: z.ZodString;
22
14
  dbLatencyMs: z.ZodNumber;
23
15
  dbError: z.ZodNullable<z.ZodString>;
24
- tables: z.ZodArray<z.ZodString, "many">;
25
- missingTables: z.ZodArray<z.ZodString, "many">;
16
+ tables: z.ZodArray<z.ZodString>;
17
+ missingTables: z.ZodArray<z.ZodString>;
26
18
  aiStatus: z.ZodString;
27
19
  aiError: z.ZodNullable<z.ZodString>;
28
20
  aiIdentity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
21
  timestamp: z.ZodString;
30
- }, "strip", z.ZodTypeAny, {
31
- version: string;
32
- ok: boolean;
33
- service: string;
34
- environment: string;
35
- dbStatus: string;
36
- dbLatencyMs: number;
37
- dbError: string | null;
38
- tables: string[];
39
- missingTables: string[];
40
- aiStatus: string;
41
- aiError: string | null;
42
- timestamp: string;
43
- aiIdentity?: string | null | undefined;
44
- }, {
45
- version: string;
46
- ok: boolean;
47
- service: string;
48
- environment: string;
49
- dbStatus: string;
50
- dbLatencyMs: number;
51
- dbError: string | null;
52
- tables: string[];
53
- missingTables: string[];
54
- aiStatus: string;
55
- aiError: string | null;
56
- timestamp: string;
57
- aiIdentity?: string | null | undefined;
58
- }>;
22
+ }, z.core.$strip>;
59
23
  export declare const SearchResponseSchema: z.ZodObject<{
60
24
  skills: z.ZodArray<z.ZodObject<{
61
25
  id: z.ZodString;
@@ -66,7 +30,7 @@ export declare const SearchResponseSchema: z.ZodObject<{
66
30
  matchSource: z.ZodOptional<z.ZodString>;
67
31
  trustScore: z.ZodOptional<z.ZodNumber>;
68
32
  verificationTier: z.ZodOptional<z.ZodString>;
69
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
33
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
34
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
35
  executionLayer: z.ZodOptional<z.ZodString>;
72
36
  runtimeEnv: z.ZodOptional<z.ZodString>;
@@ -75,43 +39,7 @@ export declare const SearchResponseSchema: z.ZodObject<{
75
39
  publisherKeyId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
40
  signatureVerifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
41
  signatureFailureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
- }, "strip", z.ZodTypeAny, {
79
- description: string;
80
- name: string;
81
- id: string;
82
- slug: string;
83
- score: number;
84
- source?: string | undefined;
85
- matchSource?: string | undefined;
86
- trustScore?: number | undefined;
87
- verificationTier?: string | undefined;
88
- tags?: string[] | undefined;
89
- category?: string | null | undefined;
90
- executionLayer?: string | undefined;
91
- runtimeEnv?: string | undefined;
92
- visibility?: string | undefined;
93
- publisherKeyId?: string | null | undefined;
94
- signatureVerifiedAt?: string | null | undefined;
95
- signatureFailureReason?: string | null | undefined;
96
- }, {
97
- description: string;
98
- name: string;
99
- id: string;
100
- slug: string;
101
- score: number;
102
- source?: string | undefined;
103
- matchSource?: string | undefined;
104
- trustScore?: number | undefined;
105
- verificationTier?: string | undefined;
106
- tags?: string[] | undefined;
107
- category?: string | null | undefined;
108
- executionLayer?: string | undefined;
109
- runtimeEnv?: string | undefined;
110
- visibility?: string | undefined;
111
- publisherKeyId?: string | null | undefined;
112
- signatureVerifiedAt?: string | null | undefined;
113
- signatureFailureReason?: string | null | undefined;
114
- }>, "many">;
42
+ }, z.core.$strip>>;
115
43
  meta: z.ZodObject<{
116
44
  tier: z.ZodNumber;
117
45
  confidence: z.ZodNumber;
@@ -119,111 +47,13 @@ export declare const SearchResponseSchema: z.ZodObject<{
119
47
  source: z.ZodString;
120
48
  score: z.ZodNumber;
121
49
  weight: z.ZodNumber;
122
- }, "strip", z.ZodTypeAny, {
123
- source: string;
124
- score: number;
125
- weight: number;
126
- }, {
127
- source: string;
128
- score: number;
129
- weight: number;
130
- }>, "many">;
50
+ }, z.core.$strip>>;
131
51
  latencyMs: z.ZodNumber;
132
52
  source: z.ZodString;
133
53
  cached: z.ZodBoolean;
134
54
  deepSearchUsed: z.ZodOptional<z.ZodBoolean>;
135
- }, "strip", z.ZodTypeAny, {
136
- source: string;
137
- tier: number;
138
- confidence: number;
139
- signals: {
140
- source: string;
141
- score: number;
142
- weight: number;
143
- }[];
144
- latencyMs: number;
145
- cached: boolean;
146
- deepSearchUsed?: boolean | undefined;
147
- }, {
148
- source: string;
149
- tier: number;
150
- confidence: number;
151
- signals: {
152
- source: string;
153
- score: number;
154
- weight: number;
155
- }[];
156
- latencyMs: number;
157
- cached: boolean;
158
- deepSearchUsed?: boolean | undefined;
159
- }>;
160
- }, "strip", z.ZodTypeAny, {
161
- skills: {
162
- description: string;
163
- name: string;
164
- id: string;
165
- slug: string;
166
- score: number;
167
- source?: string | undefined;
168
- matchSource?: string | undefined;
169
- trustScore?: number | undefined;
170
- verificationTier?: string | undefined;
171
- tags?: string[] | undefined;
172
- category?: string | null | undefined;
173
- executionLayer?: string | undefined;
174
- runtimeEnv?: string | undefined;
175
- visibility?: string | undefined;
176
- publisherKeyId?: string | null | undefined;
177
- signatureVerifiedAt?: string | null | undefined;
178
- signatureFailureReason?: string | null | undefined;
179
- }[];
180
- meta: {
181
- source: string;
182
- tier: number;
183
- confidence: number;
184
- signals: {
185
- source: string;
186
- score: number;
187
- weight: number;
188
- }[];
189
- latencyMs: number;
190
- cached: boolean;
191
- deepSearchUsed?: boolean | undefined;
192
- };
193
- }, {
194
- skills: {
195
- description: string;
196
- name: string;
197
- id: string;
198
- slug: string;
199
- score: number;
200
- source?: string | undefined;
201
- matchSource?: string | undefined;
202
- trustScore?: number | undefined;
203
- verificationTier?: string | undefined;
204
- tags?: string[] | undefined;
205
- category?: string | null | undefined;
206
- executionLayer?: string | undefined;
207
- runtimeEnv?: string | undefined;
208
- visibility?: string | undefined;
209
- publisherKeyId?: string | null | undefined;
210
- signatureVerifiedAt?: string | null | undefined;
211
- signatureFailureReason?: string | null | undefined;
212
- }[];
213
- meta: {
214
- source: string;
215
- tier: number;
216
- confidence: number;
217
- signals: {
218
- source: string;
219
- score: number;
220
- weight: number;
221
- }[];
222
- latencyMs: number;
223
- cached: boolean;
224
- deepSearchUsed?: boolean | undefined;
225
- };
226
- }>;
55
+ }, z.core.$strip>;
56
+ }, z.core.$strip>;
227
57
  export declare const SkillDetailSchema: z.ZodObject<{
228
58
  id: z.ZodString;
229
59
  name: z.ZodString;
@@ -238,14 +68,14 @@ export declare const SkillDetailSchema: z.ZodObject<{
238
68
  executionLayer: z.ZodString;
239
69
  mcpUrl: z.ZodNullable<z.ZodString>;
240
70
  skillMd: z.ZodNullable<z.ZodString>;
241
- capabilitiesRequired: z.ZodArray<z.ZodString, "many">;
71
+ capabilitiesRequired: z.ZodArray<z.ZodString>;
242
72
  skillType: z.ZodString;
243
73
  schemaJson: z.ZodNullable<z.ZodUnknown>;
244
74
  source: z.ZodString;
245
75
  sourceUrl: z.ZodNullable<z.ZodString>;
246
- tags: z.ZodArray<z.ZodString, "many">;
76
+ tags: z.ZodArray<z.ZodString>;
247
77
  category: z.ZodNullable<z.ZodString>;
248
- categories: z.ZodArray<z.ZodString, "many">;
78
+ categories: z.ZodArray<z.ZodString>;
249
79
  ecosystem: z.ZodNullable<z.ZodString>;
250
80
  language: z.ZodNullable<z.ZodString>;
251
81
  license: z.ZodNullable<z.ZodString>;
@@ -272,7 +102,7 @@ export declare const SkillDetailSchema: z.ZodObject<{
272
102
  agentInvocationCount: z.ZodNumber;
273
103
  runtimeEnv: z.ZodString;
274
104
  visibility: z.ZodString;
275
- environmentVariables: z.ZodArray<z.ZodString, "many">;
105
+ environmentVariables: z.ZodArray<z.ZodString>;
276
106
  cogniumScanned: z.ZodBoolean;
277
107
  cogniumScannedAt: z.ZodNullable<z.ZodString>;
278
108
  scanCoverage: z.ZodNullable<z.ZodString>;
@@ -296,151 +126,7 @@ export declare const SkillDetailSchema: z.ZodObject<{
296
126
  createdAt: z.ZodNullable<z.ZodString>;
297
127
  updatedAt: z.ZodNullable<z.ZodString>;
298
128
  publishedAt: z.ZodNullable<z.ZodString>;
299
- }, "strip", z.ZodTypeAny, {
300
- description: string;
301
- name: string;
302
- id: string;
303
- status: string;
304
- slug: string;
305
- version: string;
306
- source: string;
307
- trustScore: number;
308
- verificationTier: string;
309
- tags: string[];
310
- category: string | null;
311
- executionLayer: string;
312
- runtimeEnv: string;
313
- visibility: string;
314
- publisherKeyId: string | null;
315
- signatureVerifiedAt: string | null;
316
- signatureFailureReason: string | null;
317
- agentSummary: string | null;
318
- trustBadge: string | null;
319
- mcpUrl: string | null;
320
- skillMd: string | null;
321
- capabilitiesRequired: string[];
322
- skillType: string;
323
- sourceUrl: string | null;
324
- categories: string[];
325
- ecosystem: string | null;
326
- language: string | null;
327
- license: string | null;
328
- readme: string | null;
329
- r2BundleKey: string | null;
330
- authRequirements: string | null;
331
- installMethod: string | null;
332
- forkedFrom: string | null;
333
- runCount: number;
334
- lastRunAt: string | null;
335
- authorId: string | null;
336
- authorType: string;
337
- tenantId: string | null;
338
- revokedReason: string | null;
339
- remediationMessage: string | null;
340
- remediationUrl: string | null;
341
- replacementSkillId: string | null;
342
- replacementSlug: string | null;
343
- shareUrl: string;
344
- avgExecutionTimeMs: number | null;
345
- errorRate: number | null;
346
- humanStarCount: number;
347
- humanForkCount: number;
348
- agentInvocationCount: number;
349
- environmentVariables: string[];
350
- cogniumScanned: boolean;
351
- cogniumScannedAt: string | null;
352
- scanCoverage: string | null;
353
- contentSafetyPassed: boolean | null;
354
- qualityScore: number | null;
355
- qualityTier: string | null;
356
- qualityAnalyzedAt: string | null;
357
- trustScoreV2: number | null;
358
- trustTier: string | null;
359
- trustAnalyzedAt: string | null;
360
- understandAnalyzedAt: string | null;
361
- specAlignmentScore: number | null;
362
- specAnalyzedAt: string | null;
363
- createdAt: string | null;
364
- updatedAt: string | null;
365
- publishedAt: string | null;
366
- schemaJson?: unknown;
367
- qualityResults?: unknown;
368
- trustResults?: unknown;
369
- understandResults?: unknown;
370
- specGaps?: unknown;
371
- }, {
372
- description: string;
373
- name: string;
374
- id: string;
375
- status: string;
376
- slug: string;
377
- version: string;
378
- source: string;
379
- trustScore: number;
380
- verificationTier: string;
381
- tags: string[];
382
- category: string | null;
383
- executionLayer: string;
384
- runtimeEnv: string;
385
- visibility: string;
386
- publisherKeyId: string | null;
387
- signatureVerifiedAt: string | null;
388
- signatureFailureReason: string | null;
389
- agentSummary: string | null;
390
- trustBadge: string | null;
391
- mcpUrl: string | null;
392
- skillMd: string | null;
393
- capabilitiesRequired: string[];
394
- skillType: string;
395
- sourceUrl: string | null;
396
- categories: string[];
397
- ecosystem: string | null;
398
- language: string | null;
399
- license: string | null;
400
- readme: string | null;
401
- r2BundleKey: string | null;
402
- authRequirements: string | null;
403
- installMethod: string | null;
404
- forkedFrom: string | null;
405
- runCount: number;
406
- lastRunAt: string | null;
407
- authorId: string | null;
408
- authorType: string;
409
- tenantId: string | null;
410
- revokedReason: string | null;
411
- remediationMessage: string | null;
412
- remediationUrl: string | null;
413
- replacementSkillId: string | null;
414
- replacementSlug: string | null;
415
- shareUrl: string;
416
- avgExecutionTimeMs: number | null;
417
- errorRate: number | null;
418
- humanStarCount: number;
419
- humanForkCount: number;
420
- agentInvocationCount: number;
421
- environmentVariables: string[];
422
- cogniumScanned: boolean;
423
- cogniumScannedAt: string | null;
424
- scanCoverage: string | null;
425
- contentSafetyPassed: boolean | null;
426
- qualityScore: number | null;
427
- qualityTier: string | null;
428
- qualityAnalyzedAt: string | null;
429
- trustScoreV2: number | null;
430
- trustTier: string | null;
431
- trustAnalyzedAt: string | null;
432
- understandAnalyzedAt: string | null;
433
- specAlignmentScore: number | null;
434
- specAnalyzedAt: string | null;
435
- createdAt: string | null;
436
- updatedAt: string | null;
437
- publishedAt: string | null;
438
- schemaJson?: unknown;
439
- qualityResults?: unknown;
440
- trustResults?: unknown;
441
- understandResults?: unknown;
442
- specGaps?: unknown;
443
- }>;
129
+ }, z.core.$strip>;
444
130
  export declare const SkillPullResponseSchema: z.ZodObject<{
445
131
  slug: z.ZodString;
446
132
  version: z.ZodString;
@@ -455,65 +141,17 @@ export declare const SkillPullResponseSchema: z.ZodObject<{
455
141
  verificationTier: z.ZodString;
456
142
  trustBadge: z.ZodNullable<z.ZodString>;
457
143
  status: z.ZodString;
458
- tags: z.ZodArray<z.ZodString, "many">;
459
- categories: z.ZodArray<z.ZodString, "many">;
144
+ tags: z.ZodArray<z.ZodString>;
145
+ categories: z.ZodArray<z.ZodString>;
460
146
  authRequirements: z.ZodNullable<z.ZodUnknown>;
461
- capabilitiesRequired: z.ZodArray<z.ZodString, "many">;
147
+ capabilitiesRequired: z.ZodArray<z.ZodString>;
462
148
  mcpUrl: z.ZodNullable<z.ZodString>;
463
149
  forkedFrom: z.ZodNullable<z.ZodString>;
464
150
  source: z.ZodString;
465
151
  publisherKeyId: z.ZodNullable<z.ZodString>;
466
152
  signatureVerifiedAt: z.ZodNullable<z.ZodString>;
467
153
  signatureFailureReason: z.ZodNullable<z.ZodString>;
468
- }, "strip", z.ZodTypeAny, {
469
- description: string | null;
470
- name: string;
471
- status: string;
472
- slug: string;
473
- version: string;
474
- source: string;
475
- trustScore: number;
476
- verificationTier: string;
477
- tags: string[];
478
- executionLayer: string;
479
- runtimeEnv: string;
480
- publisherKeyId: string | null;
481
- signatureVerifiedAt: string | null;
482
- signatureFailureReason: string | null;
483
- trustBadge: string | null;
484
- mcpUrl: string | null;
485
- skillMd: string | null;
486
- capabilitiesRequired: string[];
487
- categories: string[];
488
- forkedFrom: string | null;
489
- portable: boolean;
490
- schemaJson?: unknown;
491
- authRequirements?: unknown;
492
- }, {
493
- description: string | null;
494
- name: string;
495
- status: string;
496
- slug: string;
497
- version: string;
498
- source: string;
499
- trustScore: number;
500
- verificationTier: string;
501
- tags: string[];
502
- executionLayer: string;
503
- runtimeEnv: string;
504
- publisherKeyId: string | null;
505
- signatureVerifiedAt: string | null;
506
- signatureFailureReason: string | null;
507
- trustBadge: string | null;
508
- mcpUrl: string | null;
509
- skillMd: string | null;
510
- capabilitiesRequired: string[];
511
- categories: string[];
512
- forkedFrom: string | null;
513
- portable: boolean;
514
- schemaJson?: unknown;
515
- authRequirements?: unknown;
516
- }>;
154
+ }, z.core.$strip>;
517
155
  export declare const SkillVersionsResponseSchema: z.ZodObject<{
518
156
  slug: z.ZodString;
519
157
  totalVersions: z.ZodNumber;
@@ -539,181 +177,39 @@ export declare const SkillVersionsResponseSchema: z.ZodObject<{
539
177
  createdAt: z.ZodNullable<z.ZodString>;
540
178
  updatedAt: z.ZodNullable<z.ZodString>;
541
179
  publishedAt: z.ZodNullable<z.ZodString>;
542
- }, "strip", z.ZodTypeAny, {
543
- name: string;
544
- id: string;
545
- status: string;
546
- version: string;
547
- source: string;
548
- trustScore: number;
549
- verificationTier: string;
550
- executionLayer: string;
551
- runtimeEnv: string;
552
- visibility: string;
553
- publisherKeyId: string | null;
554
- signatureVerifiedAt: string | null;
555
- signatureFailureReason: string | null;
556
- skillType: string;
557
- runCount: number;
558
- cogniumScanned: boolean;
559
- cogniumScannedAt: string | null;
560
- scanCoverage: string | null;
561
- createdAt: string | null;
562
- updatedAt: string | null;
563
- publishedAt: string | null;
564
- }, {
565
- name: string;
566
- id: string;
567
- status: string;
568
- version: string;
569
- source: string;
570
- trustScore: number;
571
- verificationTier: string;
572
- executionLayer: string;
573
- runtimeEnv: string;
574
- visibility: string;
575
- publisherKeyId: string | null;
576
- signatureVerifiedAt: string | null;
577
- signatureFailureReason: string | null;
578
- skillType: string;
579
- runCount: number;
580
- cogniumScanned: boolean;
581
- cogniumScannedAt: string | null;
582
- scanCoverage: string | null;
583
- createdAt: string | null;
584
- updatedAt: string | null;
585
- publishedAt: string | null;
586
- }>, "many">;
587
- }, "strip", z.ZodTypeAny, {
588
- slug: string;
589
- totalVersions: number;
590
- versions: {
591
- name: string;
592
- id: string;
593
- status: string;
594
- version: string;
595
- source: string;
596
- trustScore: number;
597
- verificationTier: string;
598
- executionLayer: string;
599
- runtimeEnv: string;
600
- visibility: string;
601
- publisherKeyId: string | null;
602
- signatureVerifiedAt: string | null;
603
- signatureFailureReason: string | null;
604
- skillType: string;
605
- runCount: number;
606
- cogniumScanned: boolean;
607
- cogniumScannedAt: string | null;
608
- scanCoverage: string | null;
609
- createdAt: string | null;
610
- updatedAt: string | null;
611
- publishedAt: string | null;
612
- }[];
613
- }, {
614
- slug: string;
615
- totalVersions: number;
616
- versions: {
617
- name: string;
618
- id: string;
619
- status: string;
620
- version: string;
621
- source: string;
622
- trustScore: number;
623
- verificationTier: string;
624
- executionLayer: string;
625
- runtimeEnv: string;
626
- visibility: string;
627
- publisherKeyId: string | null;
628
- signatureVerifiedAt: string | null;
629
- signatureFailureReason: string | null;
630
- skillType: string;
631
- runCount: number;
632
- cogniumScanned: boolean;
633
- cogniumScannedAt: string | null;
634
- scanCoverage: string | null;
635
- createdAt: string | null;
636
- updatedAt: string | null;
637
- publishedAt: string | null;
638
- }[];
639
- }>;
180
+ }, z.core.$strip>>;
181
+ }, z.core.$strip>;
640
182
  export declare const TierDistributionSchema: z.ZodObject<{
641
183
  tier1: z.ZodNumber;
642
184
  tier2: z.ZodNumber;
643
185
  tier3: z.ZodNumber;
644
186
  total: z.ZodNumber;
645
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
646
- tier1: z.ZodNumber;
647
- tier2: z.ZodNumber;
648
- tier3: z.ZodNumber;
649
- total: z.ZodNumber;
650
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
651
- tier1: z.ZodNumber;
652
- tier2: z.ZodNumber;
653
- tier3: z.ZodNumber;
654
- total: z.ZodNumber;
655
- }, z.ZodTypeAny, "passthrough">>;
187
+ }, z.core.$loose>;
656
188
  export declare const MatchSourcesResponseSchema: z.ZodObject<{
657
189
  matchSources: z.ZodRecord<z.ZodString, z.ZodNumber>;
658
- }, "strip", z.ZodTypeAny, {
659
- matchSources: Record<string, number>;
660
- }, {
661
- matchSources: Record<string, number>;
662
- }>;
190
+ }, z.core.$strip>;
663
191
  export declare const LatencyPercentilesSchema: z.ZodObject<{
664
192
  p50: z.ZodNumber;
665
193
  p95: z.ZodNumber;
666
194
  p99: z.ZodNumber;
667
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
668
- p50: z.ZodNumber;
669
- p95: z.ZodNumber;
670
- p99: z.ZodNumber;
671
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
672
- p50: z.ZodNumber;
673
- p95: z.ZodNumber;
674
- p99: z.ZodNumber;
675
- }, z.ZodTypeAny, "passthrough">>;
676
- export declare const CostBreakdownSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
195
+ }, z.core.$loose>;
196
+ export declare const CostBreakdownSchema: z.ZodObject<{}, z.core.$loose>;
677
197
  export declare const FailedQueriesResponseSchema: z.ZodObject<{
678
- queries: z.ZodArray<z.ZodUnknown, "many">;
679
- }, "strip", z.ZodTypeAny, {
680
- queries: unknown[];
681
- }, {
682
- queries: unknown[];
683
- }>;
198
+ queries: z.ZodArray<z.ZodUnknown>;
199
+ }, z.core.$strip>;
684
200
  export declare const Tier3PatternsResponseSchema: z.ZodObject<{
685
- patterns: z.ZodArray<z.ZodUnknown, "many">;
686
- }, "strip", z.ZodTypeAny, {
687
- patterns: unknown[];
688
- }, {
689
- patterns: unknown[];
690
- }>;
201
+ patterns: z.ZodArray<z.ZodUnknown>;
202
+ }, z.core.$strip>;
691
203
  export declare const RevokedImpactResponseSchema: z.ZodObject<{
692
204
  revokedCount: z.ZodNumber;
693
- revokedSkills: z.ZodArray<z.ZodUnknown, "many">;
205
+ revokedSkills: z.ZodArray<z.ZodUnknown>;
694
206
  affectedSearches30d: z.ZodNumber;
695
- }, "strip", z.ZodTypeAny, {
696
- revokedCount: number;
697
- revokedSkills: unknown[];
698
- affectedSearches30d: number;
699
- }, {
700
- revokedCount: number;
701
- revokedSkills: unknown[];
702
- affectedSearches30d: number;
703
- }>;
207
+ }, z.core.$strip>;
704
208
  export declare const VulnerableUsageResponseSchema: z.ZodObject<{
705
209
  vulnerableCount: z.ZodNumber;
706
- vulnerableSkills: z.ZodArray<z.ZodUnknown, "many">;
210
+ vulnerableSkills: z.ZodArray<z.ZodUnknown>;
707
211
  appearedInSearch30d: z.ZodNumber;
708
- }, "strip", z.ZodTypeAny, {
709
- vulnerableCount: number;
710
- vulnerableSkills: unknown[];
711
- appearedInSearch30d: number;
712
- }, {
713
- vulnerableCount: number;
714
- vulnerableSkills: unknown[];
715
- appearedInSearch30d: number;
716
- }>;
212
+ }, z.core.$strip>;
717
213
  export declare const EvalRunResponseSchema: z.ZodObject<{
718
214
  success: z.ZodBoolean;
719
215
  runId: z.ZodString;
@@ -722,64 +218,14 @@ export declare const EvalRunResponseSchema: z.ZodObject<{
722
218
  recall1: z.ZodNumber;
723
219
  recall5: z.ZodNumber;
724
220
  mrr: z.ZodNumber;
725
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
726
- recall1: z.ZodNumber;
727
- recall5: z.ZodNumber;
728
- mrr: z.ZodNumber;
729
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
730
- recall1: z.ZodNumber;
731
- recall5: z.ZodNumber;
732
- mrr: z.ZodNumber;
733
- }, z.ZodTypeAny, "passthrough">>;
221
+ }, z.core.$loose>;
734
222
  summary: z.ZodObject<{
735
223
  fixtureCount: z.ZodNumber;
736
224
  passed: z.ZodNumber;
737
225
  failed: z.ZodNumber;
738
- }, "strip", z.ZodTypeAny, {
739
- fixtureCount: number;
740
- passed: number;
741
- failed: number;
742
- }, {
743
- fixtureCount: number;
744
- passed: number;
745
- failed: number;
746
- }>;
747
- errors: z.ZodArray<z.ZodUnknown, "many">;
748
- }, "strip", z.ZodTypeAny, {
749
- success: boolean;
750
- timestamp: string;
751
- runId: string;
752
- metrics: {
753
- recall1: number;
754
- recall5: number;
755
- mrr: number;
756
- } & {
757
- [k: string]: unknown;
758
- };
759
- summary: {
760
- fixtureCount: number;
761
- passed: number;
762
- failed: number;
763
- };
764
- errors: unknown[];
765
- }, {
766
- success: boolean;
767
- timestamp: string;
768
- runId: string;
769
- metrics: {
770
- recall1: number;
771
- recall5: number;
772
- mrr: number;
773
- } & {
774
- [k: string]: unknown;
775
- };
776
- summary: {
777
- fixtureCount: number;
778
- passed: number;
779
- failed: number;
780
- };
781
- errors: unknown[];
782
- }>;
226
+ }, z.core.$strip>;
227
+ errors: z.ZodArray<z.ZodUnknown>;
228
+ }, z.core.$strip>;
783
229
  export declare const EvalResultsListSchema: z.ZodObject<{
784
230
  runs: z.ZodArray<z.ZodObject<{
785
231
  runId: z.ZodString;
@@ -790,97 +236,21 @@ export declare const EvalResultsListSchema: z.ZodObject<{
790
236
  passed: z.ZodNumber;
791
237
  failed: z.ZodNumber;
792
238
  fixtureCount: z.ZodNumber;
793
- }, "strip", z.ZodTypeAny, {
794
- timestamp: string;
795
- runId: string;
796
- recall1: number;
797
- recall5: number;
798
- mrr: number;
799
- fixtureCount: number;
800
- passed: number;
801
- failed: number;
802
- }, {
803
- timestamp: string;
804
- runId: string;
805
- recall1: number;
806
- recall5: number;
807
- mrr: number;
808
- fixtureCount: number;
809
- passed: number;
810
- failed: number;
811
- }>, "many">;
812
- }, "strip", z.ZodTypeAny, {
813
- runs: {
814
- timestamp: string;
815
- runId: string;
816
- recall1: number;
817
- recall5: number;
818
- mrr: number;
819
- fixtureCount: number;
820
- passed: number;
821
- failed: number;
822
- }[];
823
- }, {
824
- runs: {
825
- timestamp: string;
826
- runId: string;
827
- recall1: number;
828
- recall5: number;
829
- mrr: number;
830
- fixtureCount: number;
831
- passed: number;
832
- failed: number;
833
- }[];
834
- }>;
239
+ }, z.core.$strip>>;
240
+ }, z.core.$strip>;
835
241
  export declare const EvalCompareResponseSchema: z.ZodObject<{
836
242
  runA: z.ZodObject<{
837
243
  runId: z.ZodString;
838
244
  timestamp: z.ZodString;
839
- }, "strip", z.ZodTypeAny, {
840
- timestamp: string;
841
- runId: string;
842
- }, {
843
- timestamp: string;
844
- runId: string;
845
- }>;
245
+ }, z.core.$strip>;
846
246
  runB: z.ZodObject<{
847
247
  runId: z.ZodString;
848
248
  timestamp: z.ZodString;
849
- }, "strip", z.ZodTypeAny, {
850
- timestamp: string;
851
- runId: string;
852
- }, {
853
- timestamp: string;
854
- runId: string;
855
- }>;
249
+ }, z.core.$strip>;
856
250
  metrics: z.ZodRecord<z.ZodString, z.ZodUnknown>;
857
251
  summary: z.ZodRecord<z.ZodString, z.ZodUnknown>;
858
252
  tierDistribution: z.ZodRecord<z.ZodString, z.ZodUnknown>;
859
- }, "strip", z.ZodTypeAny, {
860
- metrics: Record<string, unknown>;
861
- summary: Record<string, unknown>;
862
- runA: {
863
- timestamp: string;
864
- runId: string;
865
- };
866
- runB: {
867
- timestamp: string;
868
- runId: string;
869
- };
870
- tierDistribution: Record<string, unknown>;
871
- }, {
872
- metrics: Record<string, unknown>;
873
- summary: Record<string, unknown>;
874
- runA: {
875
- timestamp: string;
876
- runId: string;
877
- };
878
- runB: {
879
- timestamp: string;
880
- runId: string;
881
- };
882
- tierDistribution: Record<string, unknown>;
883
- }>;
253
+ }, z.core.$strip>;
884
254
  export declare const CompositionDetailSchema: z.ZodObject<{
885
255
  steps: z.ZodArray<z.ZodObject<{
886
256
  id: z.ZodString;
@@ -891,175 +261,47 @@ export declare const CompositionDetailSchema: z.ZodObject<{
891
261
  stepName: z.ZodNullable<z.ZodString>;
892
262
  inputMapping: z.ZodNullable<z.ZodUnknown>;
893
263
  onError: z.ZodString;
894
- }, "strip", z.ZodTypeAny, {
895
- id: string;
896
- stepOrder: number;
897
- skillId: string;
898
- skillName: string;
899
- skillSlug: string;
900
- stepName: string | null;
901
- onError: string;
902
- inputMapping?: unknown;
903
- }, {
904
- id: string;
905
- stepOrder: number;
906
- skillId: string;
907
- skillName: string;
908
- skillSlug: string;
909
- stepName: string | null;
910
- onError: string;
911
- inputMapping?: unknown;
912
- }>, "many">;
913
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
914
- steps: z.ZodArray<z.ZodObject<{
915
- id: z.ZodString;
916
- stepOrder: z.ZodNumber;
917
- skillId: z.ZodString;
918
- skillName: z.ZodString;
919
- skillSlug: z.ZodString;
920
- stepName: z.ZodNullable<z.ZodString>;
921
- inputMapping: z.ZodNullable<z.ZodUnknown>;
922
- onError: z.ZodString;
923
- }, "strip", z.ZodTypeAny, {
924
- id: string;
925
- stepOrder: number;
926
- skillId: string;
927
- skillName: string;
928
- skillSlug: string;
929
- stepName: string | null;
930
- onError: string;
931
- inputMapping?: unknown;
932
- }, {
933
- id: string;
934
- stepOrder: number;
935
- skillId: string;
936
- skillName: string;
937
- skillSlug: string;
938
- stepName: string | null;
939
- onError: string;
940
- inputMapping?: unknown;
941
- }>, "many">;
942
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
943
- steps: z.ZodArray<z.ZodObject<{
944
- id: z.ZodString;
945
- stepOrder: z.ZodNumber;
946
- skillId: z.ZodString;
947
- skillName: z.ZodString;
948
- skillSlug: z.ZodString;
949
- stepName: z.ZodNullable<z.ZodString>;
950
- inputMapping: z.ZodNullable<z.ZodUnknown>;
951
- onError: z.ZodString;
952
- }, "strip", z.ZodTypeAny, {
953
- id: string;
954
- stepOrder: number;
955
- skillId: string;
956
- skillName: string;
957
- skillSlug: string;
958
- stepName: string | null;
959
- onError: string;
960
- inputMapping?: unknown;
961
- }, {
962
- id: string;
963
- stepOrder: number;
964
- skillId: string;
965
- skillName: string;
966
- skillSlug: string;
967
- stepName: string | null;
968
- onError: string;
969
- inputMapping?: unknown;
970
- }>, "many">;
971
- }, z.ZodTypeAny, "passthrough">>;
264
+ }, z.core.$strip>>;
265
+ }, z.core.$loose>;
972
266
  export declare const AncestryResponseSchema: z.ZodObject<{
973
- ancestry: z.ZodArray<z.ZodUnknown, "many">;
974
- }, "strip", z.ZodTypeAny, {
975
- ancestry: unknown[];
976
- }, {
977
- ancestry: unknown[];
978
- }>;
267
+ ancestry: z.ZodArray<z.ZodUnknown>;
268
+ }, z.core.$strip>;
979
269
  export declare const ForksResponseSchema: z.ZodObject<{
980
- forks: z.ZodArray<z.ZodUnknown, "many">;
981
- }, "strip", z.ZodTypeAny, {
982
- forks: unknown[];
983
- }, {
984
- forks: unknown[];
985
- }>;
270
+ forks: z.ZodArray<z.ZodUnknown>;
271
+ }, z.core.$strip>;
986
272
  export declare const DependentsResponseSchema: z.ZodObject<{
987
- dependents: z.ZodArray<z.ZodUnknown, "many">;
988
- }, "strip", z.ZodTypeAny, {
989
- dependents: unknown[];
990
- }, {
991
- dependents: unknown[];
992
- }>;
273
+ dependents: z.ZodArray<z.ZodUnknown>;
274
+ }, z.core.$strip>;
993
275
  export declare const StarResultSchema: z.ZodObject<{
994
276
  starred: z.ZodBoolean;
995
277
  starCount: z.ZodNumber;
996
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
997
- starred: z.ZodBoolean;
998
- starCount: z.ZodNumber;
999
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1000
- starred: z.ZodBoolean;
1001
- starCount: z.ZodNumber;
1002
- }, z.ZodTypeAny, "passthrough">>;
278
+ }, z.core.$loose>;
1003
279
  export declare const StarStatusSchema: z.ZodObject<{
1004
280
  starCount: z.ZodNumber;
1005
281
  starred: z.ZodOptional<z.ZodBoolean>;
1006
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1007
- starCount: z.ZodNumber;
1008
- starred: z.ZodOptional<z.ZodBoolean>;
1009
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1010
- starCount: z.ZodNumber;
1011
- starred: z.ZodOptional<z.ZodBoolean>;
1012
- }, z.ZodTypeAny, "passthrough">>;
282
+ }, z.core.$loose>;
1013
283
  export declare const InvocationAcceptedSchema: z.ZodObject<{
1014
284
  accepted: z.ZodBoolean;
1015
285
  count: z.ZodNumber;
1016
- }, "strip", z.ZodTypeAny, {
1017
- accepted: boolean;
1018
- count: number;
1019
- }, {
1020
- accepted: boolean;
1021
- count: number;
1022
- }>;
286
+ }, z.core.$strip>;
1023
287
  export declare const CoOccurrenceResponseSchema: z.ZodObject<{
1024
- cooccurrence: z.ZodArray<z.ZodUnknown, "many">;
1025
- }, "strip", z.ZodTypeAny, {
1026
- cooccurrence: unknown[];
1027
- }, {
1028
- cooccurrence: unknown[];
1029
- }>;
288
+ cooccurrence: z.ZodArray<z.ZodUnknown>;
289
+ }, z.core.$strip>;
1030
290
  export declare const LeaderboardResponseSchema: z.ZodObject<{
1031
- leaderboard: z.ZodArray<z.ZodUnknown, "many">;
1032
- }, "strip", z.ZodTypeAny, {
1033
- leaderboard: unknown[];
1034
- }, {
1035
- leaderboard: unknown[];
1036
- }>;
291
+ leaderboard: z.ZodArray<z.ZodUnknown>;
292
+ }, z.core.$strip>;
1037
293
  export declare const PublishResultSchema: z.ZodObject<{
1038
294
  id: z.ZodString;
1039
295
  slug: z.ZodString;
1040
296
  version: z.ZodString;
1041
297
  status: z.ZodString;
1042
- }, "strip", z.ZodTypeAny, {
1043
- id: string;
1044
- status: string;
1045
- slug: string;
1046
- version: string;
1047
- }, {
1048
- id: string;
1049
- status: string;
1050
- slug: string;
1051
- version: string;
1052
- }>;
298
+ searchIndexed: z.ZodOptional<z.ZodBoolean>;
299
+ searchIndexError: z.ZodOptional<z.ZodString>;
300
+ }, z.core.$strip>;
1053
301
  export declare const DeleteResultSchema: z.ZodObject<{
1054
302
  id: z.ZodString;
1055
303
  status: z.ZodLiteral<"deleted">;
1056
- }, "strip", z.ZodTypeAny, {
1057
- id: string;
1058
- status: "deleted";
1059
- }, {
1060
- id: string;
1061
- status: "deleted";
1062
- }>;
304
+ }, z.core.$strip>;
1063
305
  export declare const AuthorProfileSchema: z.ZodObject<{
1064
306
  id: z.ZodString;
1065
307
  handle: z.ZodString;
@@ -1075,66 +317,14 @@ export declare const AuthorProfileSchema: z.ZodObject<{
1075
317
  totalStars: z.ZodNumber;
1076
318
  totalInvocations: z.ZodNumber;
1077
319
  totalForks: z.ZodNumber;
1078
- }, "strip", z.ZodTypeAny, {
1079
- publishedCount: number;
1080
- totalStars: number;
1081
- totalInvocations: number;
1082
- totalForks: number;
1083
- }, {
1084
- publishedCount: number;
1085
- totalStars: number;
1086
- totalInvocations: number;
1087
- totalForks: number;
1088
- }>;
320
+ }, z.core.$strip>;
1089
321
  createdAt: z.ZodString;
1090
- }, "strip", z.ZodTypeAny, {
1091
- id: string;
1092
- authorType: string;
1093
- createdAt: string;
1094
- handle: string;
1095
- displayName: string | null;
1096
- bio: string | null;
1097
- avatarUrl: string | null;
1098
- homepageUrl: string | null;
1099
- botModel: string | null;
1100
- verified: boolean;
1101
- stats: {
1102
- publishedCount: number;
1103
- totalStars: number;
1104
- totalInvocations: number;
1105
- totalForks: number;
1106
- };
1107
- }, {
1108
- id: string;
1109
- authorType: string;
1110
- createdAt: string;
1111
- handle: string;
1112
- displayName: string | null;
1113
- bio: string | null;
1114
- avatarUrl: string | null;
1115
- homepageUrl: string | null;
1116
- botModel: string | null;
1117
- verified: boolean;
1118
- stats: {
1119
- publishedCount: number;
1120
- totalStars: number;
1121
- totalInvocations: number;
1122
- totalForks: number;
1123
- };
1124
- }>;
322
+ }, z.core.$strip>;
1125
323
  export declare const AuthorSkillsResponseSchema: z.ZodObject<{
1126
- skills: z.ZodArray<z.ZodUnknown, "many">;
324
+ skills: z.ZodArray<z.ZodUnknown>;
1127
325
  limit: z.ZodNumber;
1128
326
  offset: z.ZodNumber;
1129
- }, "strip", z.ZodTypeAny, {
1130
- limit: number;
1131
- offset: number;
1132
- skills: unknown[];
1133
- }, {
1134
- limit: number;
1135
- offset: number;
1136
- skills: unknown[];
1137
- }>;
327
+ }, z.core.$strip>;
1138
328
  declare const AdminSkillsListItemSchema: z.ZodObject<{
1139
329
  id: z.ZodString;
1140
330
  slug: z.ZodString;
@@ -1145,27 +335,7 @@ declare const AdminSkillsListItemSchema: z.ZodObject<{
1145
335
  mothershipUrl: z.ZodNullable<z.ZodString>;
1146
336
  mothershipPublishedAt: z.ZodNullable<z.ZodString>;
1147
337
  createdAt: z.ZodNullable<z.ZodString>;
1148
- }, "strip", z.ZodTypeAny, {
1149
- name: string;
1150
- id: string;
1151
- slug: string;
1152
- version: string;
1153
- source: string;
1154
- createdAt: string | null;
1155
- mothershipPublishStatus: string | null;
1156
- mothershipUrl: string | null;
1157
- mothershipPublishedAt: string | null;
1158
- }, {
1159
- name: string;
1160
- id: string;
1161
- slug: string;
1162
- version: string;
1163
- source: string;
1164
- createdAt: string | null;
1165
- mothershipPublishStatus: string | null;
1166
- mothershipUrl: string | null;
1167
- mothershipPublishedAt: string | null;
1168
- }>;
338
+ }, z.core.$strip>;
1169
339
  export declare const AdminSkillsListResponseSchema: z.ZodObject<{
1170
340
  skills: z.ZodArray<z.ZodObject<{
1171
341
  id: z.ZodString;
@@ -1177,62 +347,45 @@ export declare const AdminSkillsListResponseSchema: z.ZodObject<{
1177
347
  mothershipUrl: z.ZodNullable<z.ZodString>;
1178
348
  mothershipPublishedAt: z.ZodNullable<z.ZodString>;
1179
349
  createdAt: z.ZodNullable<z.ZodString>;
1180
- }, "strip", z.ZodTypeAny, {
1181
- name: string;
1182
- id: string;
1183
- slug: string;
1184
- version: string;
1185
- source: string;
1186
- createdAt: string | null;
1187
- mothershipPublishStatus: string | null;
1188
- mothershipUrl: string | null;
1189
- mothershipPublishedAt: string | null;
1190
- }, {
1191
- name: string;
1192
- id: string;
1193
- slug: string;
1194
- version: string;
1195
- source: string;
1196
- createdAt: string | null;
1197
- mothershipPublishStatus: string | null;
1198
- mothershipUrl: string | null;
1199
- mothershipPublishedAt: string | null;
1200
- }>, "many">;
350
+ }, z.core.$strip>>;
1201
351
  total: z.ZodNumber;
1202
352
  limit: z.ZodNumber;
1203
353
  offset: z.ZodNumber;
1204
- }, "strip", z.ZodTypeAny, {
1205
- limit: number;
1206
- offset: number;
1207
- skills: {
1208
- name: string;
1209
- id: string;
1210
- slug: string;
1211
- version: string;
1212
- source: string;
1213
- createdAt: string | null;
1214
- mothershipPublishStatus: string | null;
1215
- mothershipUrl: string | null;
1216
- mothershipPublishedAt: string | null;
1217
- }[];
1218
- total: number;
1219
- }, {
1220
- limit: number;
1221
- offset: number;
1222
- skills: {
1223
- name: string;
1224
- id: string;
1225
- slug: string;
1226
- version: string;
1227
- source: string;
1228
- createdAt: string | null;
1229
- mothershipPublishStatus: string | null;
1230
- mothershipUrl: string | null;
1231
- mothershipPublishedAt: string | null;
1232
- }[];
1233
- total: number;
1234
- }>;
354
+ }, z.core.$strip>;
1235
355
  export type AdminSkillsListItem = z.infer<typeof AdminSkillsListItemSchema>;
1236
356
  export type AdminSkillsListResponse = z.infer<typeof AdminSkillsListResponseSchema>;
357
+ /** Lifecycle statuses an operator may set directly on the local node. */
358
+ export declare const AdminSkillStatusSchema: z.ZodEnum<{
359
+ deprecated: "deprecated";
360
+ draft: "draft";
361
+ published: "published";
362
+ archived: "archived";
363
+ }>;
364
+ export declare const AdminSkillPatchRequestSchema: z.ZodObject<{
365
+ status: z.ZodEnum<{
366
+ deprecated: "deprecated";
367
+ draft: "draft";
368
+ published: "published";
369
+ archived: "archived";
370
+ }>;
371
+ }, z.core.$strip>;
372
+ export declare const AdminSkillPatchResponseSchema: z.ZodObject<{
373
+ id: z.ZodString;
374
+ slug: z.ZodString;
375
+ version: z.ZodString;
376
+ status: z.ZodString;
377
+ deprecatedAt: z.ZodNullable<z.ZodString>;
378
+ }, z.core.$strip>;
379
+ export declare const AdminSkillDeleteResponseSchema: z.ZodObject<{
380
+ deleted: z.ZodLiteral<true>;
381
+ id: z.ZodString;
382
+ slug: z.ZodString;
383
+ version: z.ZodString;
384
+ embeddingsRemoved: z.ZodNumber;
385
+ }, z.core.$strip>;
386
+ export type AdminSkillStatus = z.infer<typeof AdminSkillStatusSchema>;
387
+ export type AdminSkillPatchRequest = z.infer<typeof AdminSkillPatchRequestSchema>;
388
+ export type AdminSkillPatchResponse = z.infer<typeof AdminSkillPatchResponseSchema>;
389
+ export type AdminSkillDeleteResponse = z.infer<typeof AdminSkillDeleteResponseSchema>;
1237
390
  export {};
1238
391
  //# sourceMappingURL=responses.d.ts.map