@vm0/cli 9.160.4 → 9.160.5

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.
@@ -74083,7 +74083,7 @@ if (DSN) {
74083
74083
  init2({
74084
74084
  dsn: DSN,
74085
74085
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
74086
- release: "9.160.4",
74086
+ release: "9.160.5",
74087
74087
  sendDefaultPii: false,
74088
74088
  tracesSampleRate: 0,
74089
74089
  shutdownTimeout: 500,
@@ -74102,7 +74102,7 @@ if (DSN) {
74102
74102
  }
74103
74103
  });
74104
74104
  setContext("cli", {
74105
- version: "9.160.4",
74105
+ version: "9.160.5",
74106
74106
  command: process.argv.slice(2).join(" ")
74107
74107
  });
74108
74108
  setContext("runtime", {
@@ -105136,9 +105136,10 @@ var CONNECTOR_TYPES_DEF = {
105136
105136
  ...zoom
105137
105137
  };
105138
105138
  var CONNECTOR_TYPES = CONNECTOR_TYPES_DEF;
105139
- var connectorTypeSchema = external_exports.enum(
105139
+ var CONNECTOR_TYPE_KEYS = Object.freeze(
105140
105140
  Object.keys(CONNECTOR_TYPES_DEF)
105141
105141
  );
105142
+ var connectorTypeSchema = external_exports.enum(CONNECTOR_TYPE_KEYS);
105142
105143
 
105143
105144
  // ../../packages/api-contracts/src/contracts/connector-schemas.ts
105144
105145
  init_esm_shims();
@@ -114937,11 +114938,15 @@ var vercelFirewall = {
114937
114938
 
114938
114939
  // ../../packages/connectors/src/connector-utils.ts
114939
114940
  init_esm_shims();
114941
+ function getConnectorGenerationTypes(type) {
114942
+ const config4 = CONNECTOR_TYPES[type];
114943
+ return "generation" in config4 ? config4.generation ?? [] : [];
114944
+ }
114940
114945
  function getConnectorEnvironmentMapping(type) {
114941
114946
  return CONNECTOR_TYPES[type].environmentMapping;
114942
114947
  }
114943
114948
  function getConnectorDerivedNames(secretName) {
114944
- const allTypes = Object.keys(CONNECTOR_TYPES);
114949
+ const allTypes = CONNECTOR_TYPE_KEYS;
114945
114950
  for (const type of allTypes) {
114946
114951
  const config4 = CONNECTOR_TYPES[type];
114947
114952
  const authMethods = config4.authMethods;
@@ -114999,7 +115004,7 @@ function getScopeDiff(connectorType, storedScopes) {
114999
115004
  };
115000
115005
  }
115001
115006
  function getConnectorTypeForSecretName(name) {
115002
- const allTypes = Object.keys(CONNECTOR_TYPES);
115007
+ const allTypes = CONNECTOR_TYPE_KEYS;
115003
115008
  for (const type of allTypes) {
115004
115009
  const config4 = CONNECTOR_TYPES[type];
115005
115010
  for (const method of Object.values(config4.authMethods)) {
@@ -115132,7 +115137,7 @@ function searchConnectors(keyword, limit, filter) {
115132
115137
  const keywordLower = trimmed.toLowerCase();
115133
115138
  const keywordTokens = tokenize(trimmed);
115134
115139
  const hits = [];
115135
- for (const type of Object.keys(CONNECTOR_TYPES)) {
115140
+ for (const type of CONNECTOR_TYPE_KEYS) {
115136
115141
  if (filter && !filter(type)) continue;
115137
115142
  const config4 = CONNECTOR_TYPES[type];
115138
115143
  const hit = scoreConnector(keywordLower, keywordTokens, type, config4);
@@ -132294,6 +132299,7 @@ export {
132294
132299
  updateSkill,
132295
132300
  deleteSkill,
132296
132301
  CONNECTOR_TYPES,
132302
+ CONNECTOR_TYPE_KEYS,
132297
132303
  connectorTypeSchema,
132298
132304
  listZeroConnectors,
132299
132305
  searchZeroConnectors,
@@ -132363,6 +132369,7 @@ export {
132363
132369
  promptConfirm,
132364
132370
  promptSelect,
132365
132371
  promptPassword,
132372
+ getConnectorGenerationTypes,
132366
132373
  getConnectorEnvironmentMapping,
132367
132374
  getConnectorDerivedNames,
132368
132375
  hasRequiredScopes,
@@ -132402,4 +132409,4 @@ undici/lib/web/fetch/body.js:
132402
132409
  undici/lib/web/websocket/frame.js:
132403
132410
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
132404
132411
  */
132405
- //# sourceMappingURL=chunk-MO4QBOYJ.js.map
132412
+ //# sourceMappingURL=chunk-VQV2QUPA.js.map