@vm0/cli 9.160.3 → 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.3",
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.3",
74105
+ version: "9.160.5",
74106
74106
  command: process.argv.slice(2).join(" ")
74107
74107
  });
74108
74108
  setContext("runtime", {
@@ -74419,12 +74419,6 @@ var FEATURE_SWITCHES = {
74419
74419
  description: "Replace the Invite people button in the agent chat page header with a New button that creates a new chat thread",
74420
74420
  enabled: false
74421
74421
  },
74422
- ["agentPhoneAppUi" /* AgentPhoneAppUi */]: {
74423
- maintainer: "linghan@vm0.ai",
74424
- description: "Show first-class AgentPhone app surfaces: Works card and onboarding entry points.",
74425
- enabled: false,
74426
- enabledOrgIdHashes: STAFF_ORG_ID_HASHES
74427
- },
74428
74422
  ["chatMessageStartButton" /* ChatMessageStartButton */]: {
74429
74423
  maintainer: "linghan@vm0.ai",
74430
74424
  description: "Show an icon button in assistant message group actions that scrolls back to the start of that message group.",
@@ -105142,9 +105136,10 @@ var CONNECTOR_TYPES_DEF = {
105142
105136
  ...zoom
105143
105137
  };
105144
105138
  var CONNECTOR_TYPES = CONNECTOR_TYPES_DEF;
105145
- var connectorTypeSchema = external_exports.enum(
105139
+ var CONNECTOR_TYPE_KEYS = Object.freeze(
105146
105140
  Object.keys(CONNECTOR_TYPES_DEF)
105147
105141
  );
105142
+ var connectorTypeSchema = external_exports.enum(CONNECTOR_TYPE_KEYS);
105148
105143
 
105149
105144
  // ../../packages/api-contracts/src/contracts/connector-schemas.ts
105150
105145
  init_esm_shims();
@@ -114943,11 +114938,15 @@ var vercelFirewall = {
114943
114938
 
114944
114939
  // ../../packages/connectors/src/connector-utils.ts
114945
114940
  init_esm_shims();
114941
+ function getConnectorGenerationTypes(type) {
114942
+ const config4 = CONNECTOR_TYPES[type];
114943
+ return "generation" in config4 ? config4.generation ?? [] : [];
114944
+ }
114946
114945
  function getConnectorEnvironmentMapping(type) {
114947
114946
  return CONNECTOR_TYPES[type].environmentMapping;
114948
114947
  }
114949
114948
  function getConnectorDerivedNames(secretName) {
114950
- const allTypes = Object.keys(CONNECTOR_TYPES);
114949
+ const allTypes = CONNECTOR_TYPE_KEYS;
114951
114950
  for (const type of allTypes) {
114952
114951
  const config4 = CONNECTOR_TYPES[type];
114953
114952
  const authMethods = config4.authMethods;
@@ -115005,7 +115004,7 @@ function getScopeDiff(connectorType, storedScopes) {
115005
115004
  };
115006
115005
  }
115007
115006
  function getConnectorTypeForSecretName(name) {
115008
- const allTypes = Object.keys(CONNECTOR_TYPES);
115007
+ const allTypes = CONNECTOR_TYPE_KEYS;
115009
115008
  for (const type of allTypes) {
115010
115009
  const config4 = CONNECTOR_TYPES[type];
115011
115010
  for (const method of Object.values(config4.authMethods)) {
@@ -115138,7 +115137,7 @@ function searchConnectors(keyword, limit, filter) {
115138
115137
  const keywordLower = trimmed.toLowerCase();
115139
115138
  const keywordTokens = tokenize(trimmed);
115140
115139
  const hits = [];
115141
- for (const type of Object.keys(CONNECTOR_TYPES)) {
115140
+ for (const type of CONNECTOR_TYPE_KEYS) {
115142
115141
  if (filter && !filter(type)) continue;
115143
115142
  const config4 = CONNECTOR_TYPES[type];
115144
115143
  const hit = scoreConnector(keywordLower, keywordTokens, type, config4);
@@ -130733,8 +130732,7 @@ var zeroIntegrationsAgentPhoneContract = c107.router({
130733
130732
  headers: authHeadersSchema,
130734
130733
  responses: {
130735
130734
  200: agentPhoneLinkStatusResponseSchema,
130736
- 401: apiErrorSchema,
130737
- 403: apiErrorSchema
130735
+ 401: apiErrorSchema
130738
130736
  },
130739
130737
  summary: "Check the authenticated user's AgentPhone link status"
130740
130738
  },
@@ -130747,7 +130745,6 @@ var zeroIntegrationsAgentPhoneContract = c107.router({
130747
130745
  200: agentPhoneStartLinkResponseSchema,
130748
130746
  400: apiErrorSchema,
130749
130747
  401: apiErrorSchema,
130750
- 403: apiErrorSchema,
130751
130748
  429: apiErrorSchema,
130752
130749
  409: apiErrorSchema,
130753
130750
  503: apiErrorSchema
@@ -130762,7 +130759,6 @@ var zeroIntegrationsAgentPhoneContract = c107.router({
130762
130759
  responses: {
130763
130760
  204: c107.noBody(),
130764
130761
  401: apiErrorSchema,
130765
- 403: apiErrorSchema,
130766
130762
  404: apiErrorSchema
130767
130763
  },
130768
130764
  summary: "Disconnect the authenticated user's AgentPhone link"
@@ -132303,6 +132299,7 @@ export {
132303
132299
  updateSkill,
132304
132300
  deleteSkill,
132305
132301
  CONNECTOR_TYPES,
132302
+ CONNECTOR_TYPE_KEYS,
132306
132303
  connectorTypeSchema,
132307
132304
  listZeroConnectors,
132308
132305
  searchZeroConnectors,
@@ -132372,6 +132369,7 @@ export {
132372
132369
  promptConfirm,
132373
132370
  promptSelect,
132374
132371
  promptPassword,
132372
+ getConnectorGenerationTypes,
132375
132373
  getConnectorEnvironmentMapping,
132376
132374
  getConnectorDerivedNames,
132377
132375
  hasRequiredScopes,
@@ -132411,4 +132409,4 @@ undici/lib/web/fetch/body.js:
132411
132409
  undici/lib/web/websocket/frame.js:
132412
132410
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
132413
132411
  */
132414
- //# sourceMappingURL=chunk-DNDGD7ZL.js.map
132412
+ //# sourceMappingURL=chunk-VQV2QUPA.js.map