cribl-control-plane 0.0.2 → 0.0.3

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/bin/mcp-server.js CHANGED
@@ -34411,6 +34411,11 @@ var init_schemas = __esm(() => {
34411
34411
  init_sdkvalidationerror();
34412
34412
  });
34413
34413
 
34414
+ // src/types/enums.ts
34415
+ function catchUnrecognizedEnum(value) {
34416
+ return value;
34417
+ }
34418
+
34414
34419
  // src/models/healthstatus.ts
34415
34420
  var Role, Status, Role$inboundSchema, Role$outboundSchema, Role$, Status$inboundSchema, Status$outboundSchema, Status$, HealthStatus$inboundSchema, HealthStatus$outboundSchema, HealthStatus$;
34416
34421
  var init_healthstatus = __esm(() => {
@@ -34424,14 +34429,26 @@ var init_healthstatus = __esm(() => {
34424
34429
  ShuttingDown: "shutting down",
34425
34430
  Standby: "standby"
34426
34431
  };
34427
- Role$inboundSchema = nativeEnumType(Role);
34428
- Role$outboundSchema = Role$inboundSchema;
34432
+ Role$inboundSchema = unionType([
34433
+ nativeEnumType(Role),
34434
+ stringType().transform(catchUnrecognizedEnum)
34435
+ ]);
34436
+ Role$outboundSchema = unionType([
34437
+ nativeEnumType(Role),
34438
+ stringType().and(custom())
34439
+ ]);
34429
34440
  ((Role$) => {
34430
34441
  Role$.inboundSchema = Role$inboundSchema;
34431
34442
  Role$.outboundSchema = Role$outboundSchema;
34432
34443
  })(Role$ ||= {});
34433
- Status$inboundSchema = nativeEnumType(Status);
34434
- Status$outboundSchema = Status$inboundSchema;
34444
+ Status$inboundSchema = unionType([
34445
+ nativeEnumType(Status),
34446
+ stringType().transform(catchUnrecognizedEnum)
34447
+ ]);
34448
+ Status$outboundSchema = unionType([
34449
+ nativeEnumType(Status),
34450
+ stringType().and(custom())
34451
+ ]);
34435
34452
  ((Status$) => {
34436
34453
  Status$.inboundSchema = Status$inboundSchema;
34437
34454
  Status$.outboundSchema = Status$outboundSchema;
@@ -34794,9 +34811,9 @@ var init_config = __esm(() => {
34794
34811
  SDK_METADATA = {
34795
34812
  language: "typescript",
34796
34813
  openapiDocVersion: "4.12.2-4b17c8d4",
34797
- sdkVersion: "0.0.2",
34814
+ sdkVersion: "0.0.3",
34798
34815
  genVersion: "2.656.5",
34799
- userAgent: "speakeasy-sdk/typescript 0.0.2 2.656.5 4.12.2-4b17c8d4 cribl-control-plane"
34816
+ userAgent: "speakeasy-sdk/typescript 0.0.3 2.656.5 4.12.2-4b17c8d4 cribl-control-plane"
34800
34817
  };
34801
34818
  });
34802
34819
 
@@ -35962,7 +35979,7 @@ var init_diagGetHealthInfo2 = __esm(() => {
35962
35979
  function createMCPServer(deps) {
35963
35980
  const server = new McpServer({
35964
35981
  name: "CriblControlPlane",
35965
- version: "0.0.2"
35982
+ version: "0.0.3"
35966
35983
  });
35967
35984
  const client = new CriblControlPlaneCore({
35968
35985
  security: deps.security,
@@ -37198,7 +37215,7 @@ var routes = an({
37198
37215
  var app = He(routes, {
37199
37216
  name: "mcp",
37200
37217
  versionInfo: {
37201
- currentVersion: "0.0.2"
37218
+ currentVersion: "0.0.3"
37202
37219
  }
37203
37220
  });
37204
37221
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -37206,5 +37223,5 @@ export {
37206
37223
  app
37207
37224
  };
37208
37225
 
37209
- //# debugId=087A737CDD22E72C64756E2164756E21
37226
+ //# debugId=07E1357080905A5264756E2164756E21
37210
37227
  //# sourceMappingURL=mcp-server.js.map