@mesh-tech/mesh-cli 0.12.1 → 0.12.2

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/bin/mesh.js CHANGED
@@ -3398,7 +3398,7 @@ var init_hub_roles = __esm({
3398
3398
 
3399
3399
  // libs/api-registry/src/index.ts
3400
3400
  import { z as z2 } from "zod";
3401
- var apiSurfaceSchema, apiRegistryEntrySchema;
3401
+ var apiSurfaceSchema, apiRegistryEntrySchema, integrationStatusSchema;
3402
3402
  var init_src2 = __esm({
3403
3403
  "libs/api-registry/src/index.ts"() {
3404
3404
  "use strict";
@@ -3417,7 +3417,28 @@ var init_src2 = __esm({
3417
3417
  surfaces: apiSurfaceSchema,
3418
3418
  credentials: z2.object({ keyedBy: z2.string().nullish() }).optional(),
3419
3419
  docs: z2.object({ url: z2.string().min(1), contentHash: z2.string().min(1) }),
3420
- enabledOps: z2.array(z2.string())
3420
+ enabledOps: z2.array(z2.string()),
3421
+ // The consumer schema strips unknown keys, so a producer-side field that is
3422
+ // not mirrored here never reaches a consumer — mirror every addition.
3423
+ status: z2.object({ url: z2.string().min(1) }).optional(),
3424
+ appVersion: z2.string().min(1).optional()
3425
+ });
3426
+ integrationStatusSchema = z2.object({
3427
+ contract: z2.literal("v1"),
3428
+ name: z2.string().min(1),
3429
+ provider: z2.string().optional(),
3430
+ type: z2.string().optional(),
3431
+ title: z2.string().optional(),
3432
+ definitionVersion: z2.string().optional(),
3433
+ packageVersion: z2.string().min(1).optional(),
3434
+ tenant: z2.string().min(1),
3435
+ instanceKey: z2.string().optional(),
3436
+ surfaces: z2.array(z2.enum(["http", "nexus"])),
3437
+ coreMode: z2.enum(["mock", "live"]),
3438
+ coreModeSource: z2.string().optional(),
3439
+ enabledOps: z2.array(z2.string()),
3440
+ credentialsWired: z2.boolean(),
3441
+ startedAt: z2.string().min(1)
3421
3442
  });
3422
3443
  }
3423
3444
  });