@adea-ai/plugins 1.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.
Files changed (79) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +74 -0
  3. package/dist/agent-plugins-catalog.d.ts +26 -0
  4. package/dist/agent-plugins-catalog.js +699 -0
  5. package/dist/agent-plugins-catalog.js.map +1 -0
  6. package/dist/agent-plugins-harness.d.ts +54 -0
  7. package/dist/agent-plugins-harness.js +212 -0
  8. package/dist/agent-plugins-harness.js.map +1 -0
  9. package/dist/agent-plugins-schema.d.ts +402 -0
  10. package/dist/agent-plugins-schema.js +200 -0
  11. package/dist/agent-plugins-schema.js.map +1 -0
  12. package/dist/consumer-index.d.ts +217 -0
  13. package/dist/consumer-index.js +358 -0
  14. package/dist/consumer-index.js.map +1 -0
  15. package/dist/display-name.d.ts +8 -0
  16. package/dist/display-name.js +160 -0
  17. package/dist/display-name.js.map +1 -0
  18. package/dist/harness.d.ts +13 -0
  19. package/dist/harness.js +169 -0
  20. package/dist/harness.js.map +1 -0
  21. package/dist/icon-mirror.d.ts +69 -0
  22. package/dist/icon-mirror.js +147 -0
  23. package/dist/icon-mirror.js.map +1 -0
  24. package/dist/icons.d.ts +65 -0
  25. package/dist/icons.js +268 -0
  26. package/dist/icons.js.map +1 -0
  27. package/dist/index.d.ts +304 -0
  28. package/dist/index.js +1877 -0
  29. package/dist/index.js.map +1 -0
  30. package/dist/portable-catalog.d.ts +9 -0
  31. package/dist/portable-catalog.js +175 -0
  32. package/dist/portable-catalog.js.map +1 -0
  33. package/dist/publication.d.ts +98 -0
  34. package/dist/publication.js +121 -0
  35. package/dist/publication.js.map +1 -0
  36. package/dist/schema.d.ts +705 -0
  37. package/dist/schema.js +267 -0
  38. package/dist/schema.js.map +1 -0
  39. package/dist/site-icons.d.ts +55 -0
  40. package/dist/site-icons.js +155 -0
  41. package/dist/site-icons.js.map +1 -0
  42. package/dist/sources.d.ts +54 -0
  43. package/dist/sources.js +306 -0
  44. package/dist/sources.js.map +1 -0
  45. package/package.json +102 -0
  46. package/schemas/agent-package.v1.json +387 -0
  47. package/schemas/catalog.v1.schema.json +407 -0
  48. package/schemas/compatibility.v1.schema.json +23 -0
  49. package/schemas/harness-profile.v1.json +75 -0
  50. package/schemas/installation-plan.v2.json +695 -0
  51. package/schemas/sources-lock.v1.schema.json +61 -0
  52. package/src/agent-plugins-catalog.test.ts +402 -0
  53. package/src/agent-plugins-catalog.ts +800 -0
  54. package/src/agent-plugins-harness.test.ts +272 -0
  55. package/src/agent-plugins-harness.ts +281 -0
  56. package/src/agent-plugins-schema.test.ts +27 -0
  57. package/src/agent-plugins-schema.ts +219 -0
  58. package/src/artifacts.test.ts +545 -0
  59. package/src/catalog-installation.test.ts +42 -0
  60. package/src/consumer-index.test.ts +465 -0
  61. package/src/consumer-index.ts +592 -0
  62. package/src/display-name.test.ts +56 -0
  63. package/src/display-name.ts +157 -0
  64. package/src/harness.ts +202 -0
  65. package/src/icon-mirror.ts +196 -0
  66. package/src/icons.test.ts +185 -0
  67. package/src/icons.ts +297 -0
  68. package/src/index.test.ts +888 -0
  69. package/src/index.ts +2538 -0
  70. package/src/portable-catalog.test.ts +186 -0
  71. package/src/portable-catalog.ts +203 -0
  72. package/src/publication.test.ts +117 -0
  73. package/src/publication.ts +171 -0
  74. package/src/schema.ts +309 -0
  75. package/src/site-icon-fallback.test.ts +267 -0
  76. package/src/site-icons.test.ts +171 -0
  77. package/src/site-icons.ts +161 -0
  78. package/src/sources.ts +360 -0
  79. package/src/upstream-headers.test.ts +148 -0
@@ -0,0 +1,705 @@
1
+ import { z } from 'zod';
2
+ export declare const DIGEST_RE: RegExp;
3
+ export declare const SHA_RE: RegExp;
4
+ export declare const DigestSchema: z.ZodString;
5
+ export declare const ShaSchema: z.ZodString;
6
+ export declare const TimestampSchema: z.ZodString;
7
+ export declare const MarketplaceDialectSchema: z.ZodEnum<{
8
+ openai: "openai";
9
+ cursor: "cursor";
10
+ claude: "claude";
11
+ }>;
12
+ export declare const TrustClassificationSchema: z.ZodEnum<{
13
+ official: "official";
14
+ }>;
15
+ export declare const SyncStatusSchema: z.ZodEnum<{
16
+ synchronized: "synchronized";
17
+ unchanged: "unchanged";
18
+ failed: "failed";
19
+ }>;
20
+ export declare const CapabilityTypeSchema: z.ZodEnum<{
21
+ unknown: "unknown";
22
+ command: "command";
23
+ skill: "skill";
24
+ "mcp-server": "mcp-server";
25
+ connector: "connector";
26
+ agent: "agent";
27
+ hook: "hook";
28
+ rule: "rule";
29
+ browser: "browser";
30
+ "scheduled-task": "scheduled-task";
31
+ "ui-component": "ui-component";
32
+ executable: "executable";
33
+ }>;
34
+ export declare const HarnessSchema: z.ZodEnum<{
35
+ cursor: "cursor";
36
+ codex: "codex";
37
+ "claude-code": "claude-code";
38
+ pi: "pi";
39
+ hermes: "hermes";
40
+ opencode: "opencode";
41
+ "generic-skill-mcp": "generic-skill-mcp";
42
+ }>;
43
+ export type Harness = z.output<typeof HarnessSchema>;
44
+ export declare const CompatibilityStatusSchema: z.ZodEnum<{
45
+ unknown: "unknown";
46
+ portable: "portable";
47
+ unsupported: "unsupported";
48
+ native: "native";
49
+ "requires-translation": "requires-translation";
50
+ "partially-supported": "partially-supported";
51
+ "blocked-by-policy": "blocked-by-policy";
52
+ }>;
53
+ export declare const JsonObjectSchema: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
54
+ export declare const CatalogSourceSchema: z.ZodObject<{
55
+ sourceId: z.ZodString;
56
+ displayName: z.ZodString;
57
+ repositoryUrl: z.ZodString;
58
+ marketplaceDialect: z.ZodEnum<{
59
+ openai: "openai";
60
+ cursor: "cursor";
61
+ claude: "claude";
62
+ }>;
63
+ manifestPath: z.ZodString;
64
+ defaultBranch: z.ZodString;
65
+ resolvedCommitSha: z.ZodString;
66
+ retrievalTimestamp: z.ZodString;
67
+ trustClassification: z.ZodEnum<{
68
+ official: "official";
69
+ }>;
70
+ sourceManifestDigest: z.ZodString;
71
+ synchronizationStatus: z.ZodEnum<{
72
+ synchronized: "synchronized";
73
+ unchanged: "unchanged";
74
+ failed: "failed";
75
+ }>;
76
+ }, z.core.$strict>;
77
+ export declare const CapabilitySchema: z.ZodObject<{
78
+ type: z.ZodEnum<{
79
+ unknown: "unknown";
80
+ command: "command";
81
+ skill: "skill";
82
+ "mcp-server": "mcp-server";
83
+ connector: "connector";
84
+ agent: "agent";
85
+ hook: "hook";
86
+ rule: "rule";
87
+ browser: "browser";
88
+ "scheduled-task": "scheduled-task";
89
+ "ui-component": "ui-component";
90
+ executable: "executable";
91
+ }>;
92
+ name: z.ZodString;
93
+ paths: z.ZodArray<z.ZodString>;
94
+ metadata: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
95
+ securityImpact: z.ZodEnum<{
96
+ none: "none";
97
+ review: "review";
98
+ sensitive: "sensitive";
99
+ }>;
100
+ }, z.core.$strict>;
101
+ export declare const HarnessCompatibilitySchema: z.ZodObject<{
102
+ status: z.ZodEnum<{
103
+ unknown: "unknown";
104
+ portable: "portable";
105
+ unsupported: "unsupported";
106
+ native: "native";
107
+ "requires-translation": "requires-translation";
108
+ "partially-supported": "partially-supported";
109
+ "blocked-by-policy": "blocked-by-policy";
110
+ }>;
111
+ reasons: z.ZodArray<z.ZodString>;
112
+ responsibleCapabilities: z.ZodArray<z.ZodEnum<{
113
+ unknown: "unknown";
114
+ command: "command";
115
+ skill: "skill";
116
+ "mcp-server": "mcp-server";
117
+ connector: "connector";
118
+ agent: "agent";
119
+ hook: "hook";
120
+ rule: "rule";
121
+ browser: "browser";
122
+ "scheduled-task": "scheduled-task";
123
+ "ui-component": "ui-component";
124
+ executable: "executable";
125
+ }>>;
126
+ }, z.core.$strict>;
127
+ export declare const LicenseMetadataSchema: z.ZodObject<{
128
+ name: z.ZodString;
129
+ spdxId: z.ZodOptional<z.ZodString>;
130
+ url: z.ZodOptional<z.ZodString>;
131
+ source: z.ZodEnum<{
132
+ unknown: "unknown";
133
+ "plugin-manifest": "plugin-manifest";
134
+ "package-manifest": "package-manifest";
135
+ "marketplace-entry": "marketplace-entry";
136
+ }>;
137
+ }, z.core.$strict>;
138
+ export declare const SecurityClassificationSchema: z.ZodObject<{
139
+ level: z.ZodEnum<{
140
+ review: "review";
141
+ sensitive: "sensitive";
142
+ low: "low";
143
+ }>;
144
+ reasons: z.ZodArray<z.ZodString>;
145
+ permissionSensitiveChanges: z.ZodArray<z.ZodString>;
146
+ contentResolution: z.ZodEnum<{
147
+ complete: "complete";
148
+ "metadata-only": "metadata-only";
149
+ }>;
150
+ }, z.core.$strict>;
151
+ export declare const PluginProvenanceSchema: z.ZodObject<{
152
+ sourceId: z.ZodString;
153
+ repositoryUrl: z.ZodString;
154
+ manifestPath: z.ZodString;
155
+ pluginSubdirectory: z.ZodString;
156
+ resolvedCommitSha: z.ZodString;
157
+ sourceManifestDigest: z.ZodString;
158
+ upstreamEntryDigest: z.ZodString;
159
+ }, z.core.$strict>;
160
+ export declare const IconContentTypeSchema: z.ZodEnum<{
161
+ "image/png": "image/png";
162
+ "image/jpeg": "image/jpeg";
163
+ "image/gif": "image/gif";
164
+ "image/webp": "image/webp";
165
+ "image/svg+xml": "image/svg+xml";
166
+ "image/x-icon": "image/x-icon";
167
+ }>;
168
+ export declare const PluginReleaseSchema: z.ZodObject<{
169
+ releaseId: z.ZodString;
170
+ upstreamVersion: z.ZodOptional<z.ZodString>;
171
+ resolvedRepositoryUrl: z.ZodString;
172
+ resolvedCommitSha: z.ZodString;
173
+ pluginSubdirectory: z.ZodString;
174
+ canonicalContentDigest: z.ZodString;
175
+ manifestDigest: z.ZodString;
176
+ contentResolution: z.ZodEnum<{
177
+ complete: "complete";
178
+ "metadata-only": "metadata-only";
179
+ }>;
180
+ releaseMetadata: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
181
+ capabilities: z.ZodArray<z.ZodObject<{
182
+ type: z.ZodEnum<{
183
+ unknown: "unknown";
184
+ command: "command";
185
+ skill: "skill";
186
+ "mcp-server": "mcp-server";
187
+ connector: "connector";
188
+ agent: "agent";
189
+ hook: "hook";
190
+ rule: "rule";
191
+ browser: "browser";
192
+ "scheduled-task": "scheduled-task";
193
+ "ui-component": "ui-component";
194
+ executable: "executable";
195
+ }>;
196
+ name: z.ZodString;
197
+ paths: z.ZodArray<z.ZodString>;
198
+ metadata: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
199
+ securityImpact: z.ZodEnum<{
200
+ none: "none";
201
+ review: "review";
202
+ sensitive: "sensitive";
203
+ }>;
204
+ }, z.core.$strict>>;
205
+ requiredConnectors: z.ZodArray<z.ZodString>;
206
+ requiredCredentials: z.ZodArray<z.ZodString>;
207
+ permissionSensitiveChanges: z.ZodArray<z.ZodString>;
208
+ fileIndex: z.ZodArray<z.ZodString>;
209
+ publicationTimestamp: z.ZodString;
210
+ icon: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
211
+ kind: z.ZodLiteral<"content">;
212
+ path: z.ZodString;
213
+ contentType: z.ZodEnum<{
214
+ "image/png": "image/png";
215
+ "image/jpeg": "image/jpeg";
216
+ "image/gif": "image/gif";
217
+ "image/webp": "image/webp";
218
+ "image/svg+xml": "image/svg+xml";
219
+ "image/x-icon": "image/x-icon";
220
+ }>;
221
+ digest: z.ZodString;
222
+ bytes: z.ZodNumber;
223
+ }, z.core.$strict>, z.ZodObject<{
224
+ kind: z.ZodLiteral<"favicon">;
225
+ url: z.ZodString;
226
+ homepage: z.ZodString;
227
+ contentType: z.ZodEnum<{
228
+ "image/png": "image/png";
229
+ "image/jpeg": "image/jpeg";
230
+ "image/gif": "image/gif";
231
+ "image/webp": "image/webp";
232
+ "image/svg+xml": "image/svg+xml";
233
+ "image/x-icon": "image/x-icon";
234
+ }>;
235
+ digest: z.ZodString;
236
+ bytes: z.ZodNumber;
237
+ }, z.core.$strict>], "kind">>;
238
+ }, z.core.$strict>;
239
+ export declare const PluginSchema: z.ZodObject<{
240
+ pluginId: z.ZodString;
241
+ displayName: z.ZodString;
242
+ description: z.ZodString;
243
+ productGroupingKey: z.ZodString;
244
+ categories: z.ZodArray<z.ZodString>;
245
+ keywords: z.ZodArray<z.ZodString>;
246
+ authors: z.ZodArray<z.ZodString>;
247
+ homepage: z.ZodOptional<z.ZodString>;
248
+ icons: z.ZodArray<z.ZodString>;
249
+ sourceId: z.ZodString;
250
+ upstreamPluginName: z.ZodString;
251
+ currentReleaseId: z.ZodString;
252
+ availableReleases: z.ZodArray<z.ZodObject<{
253
+ releaseId: z.ZodString;
254
+ upstreamVersion: z.ZodOptional<z.ZodString>;
255
+ resolvedRepositoryUrl: z.ZodString;
256
+ resolvedCommitSha: z.ZodString;
257
+ pluginSubdirectory: z.ZodString;
258
+ canonicalContentDigest: z.ZodString;
259
+ manifestDigest: z.ZodString;
260
+ contentResolution: z.ZodEnum<{
261
+ complete: "complete";
262
+ "metadata-only": "metadata-only";
263
+ }>;
264
+ releaseMetadata: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
265
+ capabilities: z.ZodArray<z.ZodObject<{
266
+ type: z.ZodEnum<{
267
+ unknown: "unknown";
268
+ command: "command";
269
+ skill: "skill";
270
+ "mcp-server": "mcp-server";
271
+ connector: "connector";
272
+ agent: "agent";
273
+ hook: "hook";
274
+ rule: "rule";
275
+ browser: "browser";
276
+ "scheduled-task": "scheduled-task";
277
+ "ui-component": "ui-component";
278
+ executable: "executable";
279
+ }>;
280
+ name: z.ZodString;
281
+ paths: z.ZodArray<z.ZodString>;
282
+ metadata: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
283
+ securityImpact: z.ZodEnum<{
284
+ none: "none";
285
+ review: "review";
286
+ sensitive: "sensitive";
287
+ }>;
288
+ }, z.core.$strict>>;
289
+ requiredConnectors: z.ZodArray<z.ZodString>;
290
+ requiredCredentials: z.ZodArray<z.ZodString>;
291
+ permissionSensitiveChanges: z.ZodArray<z.ZodString>;
292
+ fileIndex: z.ZodArray<z.ZodString>;
293
+ publicationTimestamp: z.ZodString;
294
+ icon: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
295
+ kind: z.ZodLiteral<"content">;
296
+ path: z.ZodString;
297
+ contentType: z.ZodEnum<{
298
+ "image/png": "image/png";
299
+ "image/jpeg": "image/jpeg";
300
+ "image/gif": "image/gif";
301
+ "image/webp": "image/webp";
302
+ "image/svg+xml": "image/svg+xml";
303
+ "image/x-icon": "image/x-icon";
304
+ }>;
305
+ digest: z.ZodString;
306
+ bytes: z.ZodNumber;
307
+ }, z.core.$strict>, z.ZodObject<{
308
+ kind: z.ZodLiteral<"favicon">;
309
+ url: z.ZodString;
310
+ homepage: z.ZodString;
311
+ contentType: z.ZodEnum<{
312
+ "image/png": "image/png";
313
+ "image/jpeg": "image/jpeg";
314
+ "image/gif": "image/gif";
315
+ "image/webp": "image/webp";
316
+ "image/svg+xml": "image/svg+xml";
317
+ "image/x-icon": "image/x-icon";
318
+ }>;
319
+ digest: z.ZodString;
320
+ bytes: z.ZodNumber;
321
+ }, z.core.$strict>], "kind">>;
322
+ }, z.core.$strict>>;
323
+ capabilitySummary: z.ZodRecord<z.ZodEnum<{
324
+ unknown: "unknown";
325
+ command: "command";
326
+ skill: "skill";
327
+ "mcp-server": "mcp-server";
328
+ connector: "connector";
329
+ agent: "agent";
330
+ hook: "hook";
331
+ rule: "rule";
332
+ browser: "browser";
333
+ "scheduled-task": "scheduled-task";
334
+ "ui-component": "ui-component";
335
+ executable: "executable";
336
+ }> & z.core.$partial, z.ZodNumber>;
337
+ harnessCompatibility: z.ZodRecord<z.ZodEnum<{
338
+ cursor: "cursor";
339
+ codex: "codex";
340
+ "claude-code": "claude-code";
341
+ pi: "pi";
342
+ hermes: "hermes";
343
+ opencode: "opencode";
344
+ "generic-skill-mcp": "generic-skill-mcp";
345
+ }>, z.ZodObject<{
346
+ status: z.ZodEnum<{
347
+ unknown: "unknown";
348
+ portable: "portable";
349
+ unsupported: "unsupported";
350
+ native: "native";
351
+ "requires-translation": "requires-translation";
352
+ "partially-supported": "partially-supported";
353
+ "blocked-by-policy": "blocked-by-policy";
354
+ }>;
355
+ reasons: z.ZodArray<z.ZodString>;
356
+ responsibleCapabilities: z.ZodArray<z.ZodEnum<{
357
+ unknown: "unknown";
358
+ command: "command";
359
+ skill: "skill";
360
+ "mcp-server": "mcp-server";
361
+ connector: "connector";
362
+ agent: "agent";
363
+ hook: "hook";
364
+ rule: "rule";
365
+ browser: "browser";
366
+ "scheduled-task": "scheduled-task";
367
+ "ui-component": "ui-component";
368
+ executable: "executable";
369
+ }>>;
370
+ }, z.core.$strict>>;
371
+ license: z.ZodObject<{
372
+ name: z.ZodString;
373
+ spdxId: z.ZodOptional<z.ZodString>;
374
+ url: z.ZodOptional<z.ZodString>;
375
+ source: z.ZodEnum<{
376
+ unknown: "unknown";
377
+ "plugin-manifest": "plugin-manifest";
378
+ "package-manifest": "package-manifest";
379
+ "marketplace-entry": "marketplace-entry";
380
+ }>;
381
+ }, z.core.$strict>;
382
+ provenance: z.ZodObject<{
383
+ sourceId: z.ZodString;
384
+ repositoryUrl: z.ZodString;
385
+ manifestPath: z.ZodString;
386
+ pluginSubdirectory: z.ZodString;
387
+ resolvedCommitSha: z.ZodString;
388
+ sourceManifestDigest: z.ZodString;
389
+ upstreamEntryDigest: z.ZodString;
390
+ }, z.core.$strict>;
391
+ securityClassification: z.ZodObject<{
392
+ level: z.ZodEnum<{
393
+ review: "review";
394
+ sensitive: "sensitive";
395
+ low: "low";
396
+ }>;
397
+ reasons: z.ZodArray<z.ZodString>;
398
+ permissionSensitiveChanges: z.ZodArray<z.ZodString>;
399
+ contentResolution: z.ZodEnum<{
400
+ complete: "complete";
401
+ "metadata-only": "metadata-only";
402
+ }>;
403
+ }, z.core.$strict>;
404
+ }, z.core.$strict>;
405
+ export declare const CatalogSchema: z.ZodObject<{
406
+ schemaVersion: z.ZodLiteral<1>;
407
+ catalogId: z.ZodString;
408
+ generatedAt: z.ZodString;
409
+ sources: z.ZodArray<z.ZodObject<{
410
+ sourceId: z.ZodString;
411
+ displayName: z.ZodString;
412
+ repositoryUrl: z.ZodString;
413
+ marketplaceDialect: z.ZodEnum<{
414
+ openai: "openai";
415
+ cursor: "cursor";
416
+ claude: "claude";
417
+ }>;
418
+ manifestPath: z.ZodString;
419
+ defaultBranch: z.ZodString;
420
+ resolvedCommitSha: z.ZodString;
421
+ retrievalTimestamp: z.ZodString;
422
+ trustClassification: z.ZodEnum<{
423
+ official: "official";
424
+ }>;
425
+ sourceManifestDigest: z.ZodString;
426
+ synchronizationStatus: z.ZodEnum<{
427
+ synchronized: "synchronized";
428
+ unchanged: "unchanged";
429
+ failed: "failed";
430
+ }>;
431
+ }, z.core.$strict>>;
432
+ plugins: z.ZodArray<z.ZodObject<{
433
+ pluginId: z.ZodString;
434
+ displayName: z.ZodString;
435
+ description: z.ZodString;
436
+ productGroupingKey: z.ZodString;
437
+ categories: z.ZodArray<z.ZodString>;
438
+ keywords: z.ZodArray<z.ZodString>;
439
+ authors: z.ZodArray<z.ZodString>;
440
+ homepage: z.ZodOptional<z.ZodString>;
441
+ icons: z.ZodArray<z.ZodString>;
442
+ sourceId: z.ZodString;
443
+ upstreamPluginName: z.ZodString;
444
+ currentReleaseId: z.ZodString;
445
+ availableReleases: z.ZodArray<z.ZodObject<{
446
+ releaseId: z.ZodString;
447
+ upstreamVersion: z.ZodOptional<z.ZodString>;
448
+ resolvedRepositoryUrl: z.ZodString;
449
+ resolvedCommitSha: z.ZodString;
450
+ pluginSubdirectory: z.ZodString;
451
+ canonicalContentDigest: z.ZodString;
452
+ manifestDigest: z.ZodString;
453
+ contentResolution: z.ZodEnum<{
454
+ complete: "complete";
455
+ "metadata-only": "metadata-only";
456
+ }>;
457
+ releaseMetadata: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
458
+ capabilities: z.ZodArray<z.ZodObject<{
459
+ type: z.ZodEnum<{
460
+ unknown: "unknown";
461
+ command: "command";
462
+ skill: "skill";
463
+ "mcp-server": "mcp-server";
464
+ connector: "connector";
465
+ agent: "agent";
466
+ hook: "hook";
467
+ rule: "rule";
468
+ browser: "browser";
469
+ "scheduled-task": "scheduled-task";
470
+ "ui-component": "ui-component";
471
+ executable: "executable";
472
+ }>;
473
+ name: z.ZodString;
474
+ paths: z.ZodArray<z.ZodString>;
475
+ metadata: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
476
+ securityImpact: z.ZodEnum<{
477
+ none: "none";
478
+ review: "review";
479
+ sensitive: "sensitive";
480
+ }>;
481
+ }, z.core.$strict>>;
482
+ requiredConnectors: z.ZodArray<z.ZodString>;
483
+ requiredCredentials: z.ZodArray<z.ZodString>;
484
+ permissionSensitiveChanges: z.ZodArray<z.ZodString>;
485
+ fileIndex: z.ZodArray<z.ZodString>;
486
+ publicationTimestamp: z.ZodString;
487
+ icon: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
488
+ kind: z.ZodLiteral<"content">;
489
+ path: z.ZodString;
490
+ contentType: z.ZodEnum<{
491
+ "image/png": "image/png";
492
+ "image/jpeg": "image/jpeg";
493
+ "image/gif": "image/gif";
494
+ "image/webp": "image/webp";
495
+ "image/svg+xml": "image/svg+xml";
496
+ "image/x-icon": "image/x-icon";
497
+ }>;
498
+ digest: z.ZodString;
499
+ bytes: z.ZodNumber;
500
+ }, z.core.$strict>, z.ZodObject<{
501
+ kind: z.ZodLiteral<"favicon">;
502
+ url: z.ZodString;
503
+ homepage: z.ZodString;
504
+ contentType: z.ZodEnum<{
505
+ "image/png": "image/png";
506
+ "image/jpeg": "image/jpeg";
507
+ "image/gif": "image/gif";
508
+ "image/webp": "image/webp";
509
+ "image/svg+xml": "image/svg+xml";
510
+ "image/x-icon": "image/x-icon";
511
+ }>;
512
+ digest: z.ZodString;
513
+ bytes: z.ZodNumber;
514
+ }, z.core.$strict>], "kind">>;
515
+ }, z.core.$strict>>;
516
+ capabilitySummary: z.ZodRecord<z.ZodEnum<{
517
+ unknown: "unknown";
518
+ command: "command";
519
+ skill: "skill";
520
+ "mcp-server": "mcp-server";
521
+ connector: "connector";
522
+ agent: "agent";
523
+ hook: "hook";
524
+ rule: "rule";
525
+ browser: "browser";
526
+ "scheduled-task": "scheduled-task";
527
+ "ui-component": "ui-component";
528
+ executable: "executable";
529
+ }> & z.core.$partial, z.ZodNumber>;
530
+ harnessCompatibility: z.ZodRecord<z.ZodEnum<{
531
+ cursor: "cursor";
532
+ codex: "codex";
533
+ "claude-code": "claude-code";
534
+ pi: "pi";
535
+ hermes: "hermes";
536
+ opencode: "opencode";
537
+ "generic-skill-mcp": "generic-skill-mcp";
538
+ }>, z.ZodObject<{
539
+ status: z.ZodEnum<{
540
+ unknown: "unknown";
541
+ portable: "portable";
542
+ unsupported: "unsupported";
543
+ native: "native";
544
+ "requires-translation": "requires-translation";
545
+ "partially-supported": "partially-supported";
546
+ "blocked-by-policy": "blocked-by-policy";
547
+ }>;
548
+ reasons: z.ZodArray<z.ZodString>;
549
+ responsibleCapabilities: z.ZodArray<z.ZodEnum<{
550
+ unknown: "unknown";
551
+ command: "command";
552
+ skill: "skill";
553
+ "mcp-server": "mcp-server";
554
+ connector: "connector";
555
+ agent: "agent";
556
+ hook: "hook";
557
+ rule: "rule";
558
+ browser: "browser";
559
+ "scheduled-task": "scheduled-task";
560
+ "ui-component": "ui-component";
561
+ executable: "executable";
562
+ }>>;
563
+ }, z.core.$strict>>;
564
+ license: z.ZodObject<{
565
+ name: z.ZodString;
566
+ spdxId: z.ZodOptional<z.ZodString>;
567
+ url: z.ZodOptional<z.ZodString>;
568
+ source: z.ZodEnum<{
569
+ unknown: "unknown";
570
+ "plugin-manifest": "plugin-manifest";
571
+ "package-manifest": "package-manifest";
572
+ "marketplace-entry": "marketplace-entry";
573
+ }>;
574
+ }, z.core.$strict>;
575
+ provenance: z.ZodObject<{
576
+ sourceId: z.ZodString;
577
+ repositoryUrl: z.ZodString;
578
+ manifestPath: z.ZodString;
579
+ pluginSubdirectory: z.ZodString;
580
+ resolvedCommitSha: z.ZodString;
581
+ sourceManifestDigest: z.ZodString;
582
+ upstreamEntryDigest: z.ZodString;
583
+ }, z.core.$strict>;
584
+ securityClassification: z.ZodObject<{
585
+ level: z.ZodEnum<{
586
+ review: "review";
587
+ sensitive: "sensitive";
588
+ low: "low";
589
+ }>;
590
+ reasons: z.ZodArray<z.ZodString>;
591
+ permissionSensitiveChanges: z.ZodArray<z.ZodString>;
592
+ contentResolution: z.ZodEnum<{
593
+ complete: "complete";
594
+ "metadata-only": "metadata-only";
595
+ }>;
596
+ }, z.core.$strict>;
597
+ }, z.core.$strict>>;
598
+ }, z.core.$strict>;
599
+ export declare const SourceLockEntrySchema: z.ZodObject<{
600
+ sourceId: z.ZodString;
601
+ repositoryUrl: z.ZodString;
602
+ defaultBranch: z.ZodString;
603
+ resolvedCommitSha: z.ZodString;
604
+ manifestPath: z.ZodString;
605
+ marketplaceDialect: z.ZodEnum<{
606
+ openai: "openai";
607
+ cursor: "cursor";
608
+ claude: "claude";
609
+ }>;
610
+ sourceManifestDigest: z.ZodString;
611
+ retrievedAt: z.ZodString;
612
+ synchronizationStatus: z.ZodEnum<{
613
+ synchronized: "synchronized";
614
+ unchanged: "unchanged";
615
+ failed: "failed";
616
+ }>;
617
+ pluginPins: z.ZodArray<z.ZodObject<{
618
+ pluginName: z.ZodString;
619
+ repositoryUrl: z.ZodString;
620
+ pluginSubdirectory: z.ZodString;
621
+ resolvedCommitSha: z.ZodString;
622
+ }, z.core.$strict>>;
623
+ }, z.core.$strict>;
624
+ export declare const SourcesLockSchema: z.ZodObject<{
625
+ schemaVersion: z.ZodLiteral<1>;
626
+ lockId: z.ZodString;
627
+ sources: z.ZodArray<z.ZodObject<{
628
+ sourceId: z.ZodString;
629
+ repositoryUrl: z.ZodString;
630
+ defaultBranch: z.ZodString;
631
+ resolvedCommitSha: z.ZodString;
632
+ manifestPath: z.ZodString;
633
+ marketplaceDialect: z.ZodEnum<{
634
+ openai: "openai";
635
+ cursor: "cursor";
636
+ claude: "claude";
637
+ }>;
638
+ sourceManifestDigest: z.ZodString;
639
+ retrievedAt: z.ZodString;
640
+ synchronizationStatus: z.ZodEnum<{
641
+ synchronized: "synchronized";
642
+ unchanged: "unchanged";
643
+ failed: "failed";
644
+ }>;
645
+ pluginPins: z.ZodArray<z.ZodObject<{
646
+ pluginName: z.ZodString;
647
+ repositoryUrl: z.ZodString;
648
+ pluginSubdirectory: z.ZodString;
649
+ resolvedCommitSha: z.ZodString;
650
+ }, z.core.$strict>>;
651
+ }, z.core.$strict>>;
652
+ }, z.core.$strict>;
653
+ export declare const MaterializationPlanSchema: z.ZodObject<{
654
+ planVersion: z.ZodLiteral<1>;
655
+ pluginId: z.ZodString;
656
+ releaseId: z.ZodString;
657
+ harness: z.ZodEnum<{
658
+ cursor: "cursor";
659
+ codex: "codex";
660
+ "claude-code": "claude-code";
661
+ pi: "pi";
662
+ hermes: "hermes";
663
+ opencode: "opencode";
664
+ "generic-skill-mcp": "generic-skill-mcp";
665
+ }>;
666
+ source: z.ZodObject<{
667
+ repositoryUrl: z.ZodString;
668
+ commitSha: z.ZodString;
669
+ pluginSubdirectory: z.ZodString;
670
+ contentDigest: z.ZodString;
671
+ }, z.core.$strict>;
672
+ targetLayout: z.ZodObject<{
673
+ root: z.ZodString;
674
+ notes: z.ZodArray<z.ZodString>;
675
+ }, z.core.$strict>;
676
+ files: z.ZodArray<z.ZodObject<{
677
+ sourcePath: z.ZodString;
678
+ targetPath: z.ZodString;
679
+ action: z.ZodEnum<{
680
+ copy: "copy";
681
+ unsupported: "unsupported";
682
+ translate: "translate";
683
+ ignore: "ignore";
684
+ }>;
685
+ reason: z.ZodString;
686
+ }, z.core.$strict>>;
687
+ configuration: z.ZodRecord<z.ZodString, z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
688
+ requiredConnectors: z.ZodArray<z.ZodString>;
689
+ requiredCredentials: z.ZodArray<z.ZodString>;
690
+ policyConstraints: z.ZodArray<z.ZodString>;
691
+ }, z.core.$strict>;
692
+ export type CatalogSource = z.output<typeof CatalogSourceSchema>;
693
+ export type Capability = z.output<typeof CapabilitySchema>;
694
+ export type HarnessCompatibility = z.output<typeof HarnessCompatibilitySchema>;
695
+ export type LicenseMetadata = z.output<typeof LicenseMetadataSchema>;
696
+ export type SecurityClassification = z.output<typeof SecurityClassificationSchema>;
697
+ export type PluginProvenance = z.output<typeof PluginProvenanceSchema>;
698
+ export type PluginRelease = z.output<typeof PluginReleaseSchema>;
699
+ export type Plugin = z.output<typeof PluginSchema>;
700
+ export type Catalog = z.output<typeof CatalogSchema>;
701
+ export type SourceLockEntry = z.output<typeof SourceLockEntrySchema>;
702
+ export type SourcesLock = z.output<typeof SourcesLockSchema>;
703
+ export type MaterializationPlan = z.output<typeof MaterializationPlanSchema>;
704
+ export declare function parseCatalog(input: unknown): Catalog;
705
+ export declare function parseSourcesLock(input: unknown): SourcesLock;