@vm0/cli 9.163.0 → 9.163.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.
@@ -74083,7 +74083,7 @@ if (DSN) {
74083
74083
  init2({
74084
74084
  dsn: DSN,
74085
74085
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
74086
- release: "9.163.0",
74086
+ release: "9.163.2",
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.163.0",
74105
+ version: "9.163.2",
74106
74106
  command: process.argv.slice(2).join(" ")
74107
74107
  });
74108
74108
  setContext("runtime", {
@@ -74236,8 +74236,7 @@ var FEATURE_SWITCHES = {
74236
74236
  ["base44Connector" /* Base44Connector */]: {
74237
74237
  maintainer: "liangyou@vm0.ai",
74238
74238
  description: "Enable the Base44 connector",
74239
- enabled: false,
74240
- enabledOrgIdHashes: STAFF_ORG_ID_HASHES
74239
+ enabled: true
74241
74240
  },
74242
74241
  ["bentomlConnector" /* BentomlConnector */]: {
74243
74242
  maintainer: "ethan@vm0.ai",
@@ -74369,9 +74368,8 @@ var FEATURE_SWITCHES = {
74369
74368
  },
74370
74369
  ["githubIntegration" /* GitHubIntegration */]: {
74371
74370
  maintainer: "linghan@vm0.ai",
74372
- description: "Show the GitHub integration card on the Works page for installing GitHub, connecting users, and managing label listeners.",
74373
- enabled: false,
74374
- enabledOrgIdHashes: STAFF_ORG_ID_HASHES
74371
+ description: "Show the GitHub integration card on the Works page for installing GitHub, connecting users, and managing label listeners. Off by default; individuals opt in via the feature-switch overrides API.",
74372
+ enabled: false
74375
74373
  },
74376
74374
  ["dataExport" /* DataExport */]: {
74377
74375
  maintainer: "ethan@vm0.ai",
@@ -74395,15 +74393,13 @@ var FEATURE_SWITCHES = {
74395
74393
  },
74396
74394
  ["localBrowserUse" /* LocalBrowserUse */]: {
74397
74395
  maintainer: "ethan@vm0.ai",
74398
- description: "Enable the Local Browser connector and user-authorized browser host lifecycle",
74399
- enabled: false,
74400
- enabledOrgIdHashes: STAFF_ORG_ID_HASHES
74396
+ description: "Enable the Local Browser connector and user-authorized browser host lifecycle. Off by default; individuals opt in via the feature-switch overrides API.",
74397
+ enabled: false
74401
74398
  },
74402
74399
  ["localAgentConnector" /* LocalAgentConnector */]: {
74403
74400
  maintainer: "ethan@vm0.ai",
74404
- description: "Show the Local Agent connector entry on the Connectors settings page. Staff-only while adoption is being re-evaluated.",
74405
- enabled: false,
74406
- enabledOrgIdHashes: STAFF_ORG_ID_HASHES
74401
+ description: "Show the Local Agent connector entry on the Connectors settings page. Off by default; individuals opt in via the feature-switch overrides API.",
74402
+ enabled: false
74407
74403
  },
74408
74404
  ["lab" /* Lab */]: {
74409
74405
  maintainer: "ethan@vm0.ai",
@@ -74441,11 +74437,6 @@ var FEATURE_SWITCHES = {
74441
74437
  description: "Show an icon button in assistant message group actions that scrolls back to the start of that message group.",
74442
74438
  enabled: false
74443
74439
  },
74444
- ["chatMarkdownMath" /* ChatMarkdownMath */]: {
74445
- maintainer: "ethan@vm0.ai",
74446
- description: "Enable synchronous math rendering for inline and block formulas in chat Markdown.",
74447
- enabled: true
74448
- },
74449
74440
  ["chatThreadRename" /* ChatThreadRename */]: {
74450
74441
  maintainer: "ethan@vm0.ai",
74451
74442
  description: "Adds a Rename chat item to the sidebar thread kebab menu. When the user renames a thread, automated title generation is suppressed for that thread.",
@@ -74483,11 +74474,6 @@ var FEATURE_SWITCHES = {
74483
74474
  enabled: false,
74484
74475
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
74485
74476
  },
74486
- ["connectorCategories" /* ConnectorCategories */]: {
74487
- maintainer: "ethan@vm0.ai",
74488
- description: "Show category sections and the hover-reveal outline menu on the Connectors settings page.",
74489
- enabled: true
74490
- },
74491
74477
  ["zapierConnector" /* ZapierConnector */]: {
74492
74478
  maintainer: "ethan@vm0.ai",
74493
74479
  description: "Enable the Zapier connector. When disabled, Zapier is hidden from the connectors list and cannot be connected.",
@@ -107347,12 +107333,6 @@ var zoom = {
107347
107333
  };
107348
107334
 
107349
107335
  // ../../packages/connectors/src/connectors.ts
107350
- var CONNECTOR_AUTH_METHOD_TYPES = [
107351
- "oauth",
107352
- "api-token",
107353
- "api",
107354
- "cli-auth"
107355
- ];
107356
107336
  var CONNECTOR_TYPES_DEF = {
107357
107337
  ...github,
107358
107338
  ...gmail,
@@ -111258,6 +111238,11 @@ var computerUseHeartbeatResponseSchema = external_exports.object({
111258
111238
  ok: external_exports.literal(true),
111259
111239
  hostId: external_exports.string()
111260
111240
  });
111241
+ var computerUseHostStopBodySchema = external_exports.object({});
111242
+ var computerUseHostStopResponseSchema = external_exports.object({
111243
+ ok: external_exports.literal(true),
111244
+ hostId: external_exports.string()
111245
+ });
111261
111246
  var computerUseHostListResponseSchema = external_exports.object({
111262
111247
  hosts: external_exports.array(computerUseHostSchema)
111263
111248
  });
@@ -111382,9 +111367,21 @@ var zeroComputerUseHeartbeatContract = c27.router({
111382
111367
  body: computerUseRuntimeBodySchema,
111383
111368
  responses: {
111384
111369
  200: computerUseHeartbeatResponseSchema,
111385
- 401: apiErrorSchema
111370
+ 401: apiErrorSchema,
111371
+ 409: apiErrorSchema
111386
111372
  },
111387
111373
  summary: "Refresh a desktop computer-use host heartbeat"
111374
+ },
111375
+ stop: {
111376
+ method: "POST",
111377
+ path: "/api/zero/computer-use/host/stop",
111378
+ headers: authHeadersSchema,
111379
+ body: computerUseHostStopBodySchema,
111380
+ responses: {
111381
+ 200: computerUseHostStopResponseSchema,
111382
+ 401: apiErrorSchema
111383
+ },
111384
+ summary: "Stop a desktop computer-use host"
111388
111385
  }
111389
111386
  });
111390
111387
  var zeroComputerUseCommandContract = c27.router({
@@ -117818,11 +117815,18 @@ var GOOGLE_OAUTH_CONNECTOR_TYPES = [
117818
117815
  var GOOGLE_OAUTH_CONNECTOR_TYPE_SET = new Set(GOOGLE_OAUTH_CONNECTOR_TYPES);
117819
117816
 
117820
117817
  // ../../packages/connectors/src/connector-utils.ts
117821
- function getConnectorAuthMethods(type) {
117822
- return CONNECTOR_TYPES[type].authMethods;
117818
+ function lookupConnectorAuthMethod(type, authMethod) {
117819
+ for (const [methodId, method] of Object.entries(
117820
+ CONNECTOR_TYPES[type].authMethods
117821
+ )) {
117822
+ if (methodId === authMethod) {
117823
+ return method;
117824
+ }
117825
+ }
117826
+ return void 0;
117823
117827
  }
117824
117828
  function getConnectorAuthMethod(type, authMethod) {
117825
- return getConnectorAuthMethods(type)[authMethod];
117829
+ return lookupConnectorAuthMethod(type, authMethod);
117826
117830
  }
117827
117831
  function connectorAuthMethodValues(type) {
117828
117832
  return Object.values(CONNECTOR_TYPES[type].authMethods);
@@ -117883,8 +117887,7 @@ function getConnectorGenerationTypes(type) {
117883
117887
  const config4 = CONNECTOR_TYPES[type];
117884
117888
  return "generation" in config4 ? config4.generation ?? [] : [];
117885
117889
  }
117886
- function getConnectorSecretNames(type, authMethod) {
117887
- const method = getConnectorAuthMethod(type, authMethod);
117890
+ function connectorMethodSecretNames(method) {
117888
117891
  if (!method) {
117889
117892
  return [];
117890
117893
  }
@@ -117920,8 +117923,8 @@ function getConnectorDerivedNames(secretName) {
117920
117923
  const allTypes = CONNECTOR_TYPE_KEYS;
117921
117924
  for (const type of allTypes) {
117922
117925
  const config4 = CONNECTOR_TYPES[type];
117923
- const found = CONNECTOR_AUTH_METHOD_TYPES.some((authMethod) => {
117924
- return getConnectorSecretNames(type, authMethod).includes(secretName);
117926
+ const found = Object.values(config4.authMethods).some((method) => {
117927
+ return connectorMethodSecretNames(method).includes(secretName);
117925
117928
  });
117926
117929
  if (!found) {
117927
117930
  continue;
@@ -117975,8 +117978,8 @@ function getConnectorTypeForSecretName(name) {
117975
117978
  return type;
117976
117979
  }
117977
117980
  }
117978
- for (const authMethod of CONNECTOR_AUTH_METHOD_TYPES) {
117979
- if (getConnectorSecretNames(type, authMethod).includes(name)) {
117981
+ for (const method of Object.values(config4.authMethods)) {
117982
+ if (connectorMethodSecretNames(method).includes(name)) {
117980
117983
  return type;
117981
117984
  }
117982
117985
  }
@@ -135349,4 +135352,4 @@ undici/lib/web/fetch/body.js:
135349
135352
  undici/lib/web/websocket/frame.js:
135350
135353
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
135351
135354
  */
135352
- //# sourceMappingURL=chunk-QZUAFJQ7.js.map
135355
+ //# sourceMappingURL=chunk-ZIKDZRII.js.map