@agimon-ai/po-core 0.0.0-alpha.163 → 0.0.0-alpha.164

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.
@@ -1272,26 +1272,29 @@ const PluginInstallOperationSchema = typebox.Type.Object({
1272
1272
  })),
1273
1273
  rollbackError: typebox.Type.Optional(typebox.Type.String())
1274
1274
  });
1275
- const PluginMarketplaceCatalogSchema = typebox.Type.Object({ layers: typebox.Type.Array(typebox.Type.Object({
1276
- id: typebox.Type.String(),
1277
- name: typebox.Type.String(),
1278
- description: typebox.Type.String(),
1279
- category: typebox.Type.String(),
1280
- icon: typebox.Type.String(),
1281
- logo: typebox.Type.Optional(typebox.Type.String()),
1282
- publisher: typebox.Type.String(),
1283
- tier: typebox.Type.Union([
1284
- typebox.Type.Literal("core"),
1285
- typebox.Type.Literal("foundation"),
1286
- typebox.Type.Literal("default"),
1287
- typebox.Type.Literal("mode"),
1288
- typebox.Type.Literal("plugin")
1289
- ]),
1290
- packages: typebox.Type.Array(typebox.Type.String()),
1291
- installable: typebox.Type.Boolean(),
1292
- installed: typebox.Type.Boolean(),
1293
- version: typebox.Type.Optional(typebox.Type.String())
1294
- })) });
1275
+ const PluginMarketplaceCatalogSchema = typebox.Type.Object({
1276
+ supportedScopes: typebox.Type.Optional(typebox.Type.Array(typebox.Type.Union([typebox.Type.Literal("host"), typebox.Type.Literal("workspace")]))),
1277
+ layers: typebox.Type.Array(typebox.Type.Object({
1278
+ id: typebox.Type.String(),
1279
+ name: typebox.Type.String(),
1280
+ description: typebox.Type.String(),
1281
+ category: typebox.Type.String(),
1282
+ icon: typebox.Type.String(),
1283
+ logo: typebox.Type.Optional(typebox.Type.String()),
1284
+ publisher: typebox.Type.String(),
1285
+ tier: typebox.Type.Union([
1286
+ typebox.Type.Literal("core"),
1287
+ typebox.Type.Literal("foundation"),
1288
+ typebox.Type.Literal("default"),
1289
+ typebox.Type.Literal("mode"),
1290
+ typebox.Type.Literal("plugin")
1291
+ ]),
1292
+ packages: typebox.Type.Array(typebox.Type.String()),
1293
+ installable: typebox.Type.Boolean(),
1294
+ installed: typebox.Type.Boolean(),
1295
+ version: typebox.Type.Optional(typebox.Type.String())
1296
+ }))
1297
+ });
1295
1298
  const pluginMarketplaceHttpContracts = [
1296
1299
  {
1297
1300
  id: "marketplace.catalog",