@vm0/cli 9.165.3 → 9.166.0

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.165.3",
74086
+ release: "9.166.0",
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.165.3",
74105
+ version: "9.166.0",
74106
74106
  command: process.argv.slice(2).join(" ")
74107
74107
  });
74108
74108
  setContext("runtime", {
@@ -74303,6 +74303,11 @@ var FEATURE_SWITCHES = {
74303
74303
  description: "Enable the Webflow site management connector",
74304
74304
  enabled: false
74305
74305
  },
74306
+ ["slockConnector" /* SlockConnector */]: {
74307
+ maintainer: "liangyou@vm0.ai",
74308
+ description: "Enable the Slock connector for user-auth control API access.",
74309
+ enabled: false
74310
+ },
74306
74311
  ["outlookMailConnector" /* OutlookMailConnector */]: {
74307
74312
  maintainer: "ethan@vm0.ai",
74308
74313
  description: "Enable the Outlook Mail connector",
@@ -98000,6 +98005,47 @@ var slack = {
98000
98005
  }
98001
98006
  };
98002
98007
 
98008
+ // ../../packages/connectors/src/connectors/slock.ts
98009
+ init_esm_shims();
98010
+ var SLOCK_API_BASE_URL = "https://api.slock.ai";
98011
+ var slock = {
98012
+ slock: {
98013
+ label: "Slock",
98014
+ category: "ai-agent-apps",
98015
+ helpText: "Connect your Slock account to let agents access Slock agents, machines, channels, and messages.",
98016
+ authMethods: {
98017
+ oauth: {
98018
+ featureFlag: "slockConnector" /* SlockConnector */,
98019
+ label: "OAuth Device Authorization",
98020
+ helpText: "Sign in with Slock using a device code.",
98021
+ grant: {
98022
+ kind: "device-auth",
98023
+ deviceAuthUrl: `${SLOCK_API_BASE_URL}/api/auth/device/authorize`,
98024
+ tokenUrl: `${SLOCK_API_BASE_URL}/api/auth/device/token`,
98025
+ client: {
98026
+ clientRegistration: "static",
98027
+ clientType: "public",
98028
+ tokenEndpointAuthMethod: "none",
98029
+ clientId: "vm0"
98030
+ },
98031
+ scopes: []
98032
+ },
98033
+ access: {
98034
+ kind: "refresh-token",
98035
+ accessToken: "SLOCK_ACCESS_TOKEN",
98036
+ refreshToken: "SLOCK_REFRESH_TOKEN",
98037
+ outputs: {
98038
+ SLOCK_TOKEN: "$secrets.SLOCK_ACCESS_TOKEN",
98039
+ SLOCK_SERVER_ID: "$secrets.SLOCK_SERVER_ID"
98040
+ }
98041
+ },
98042
+ revoke: { kind: "none" }
98043
+ }
98044
+ },
98045
+ defaultAuthMethod: "oauth"
98046
+ }
98047
+ };
98048
+
98003
98049
  // ../../packages/connectors/src/connectors/google-sheets.ts
98004
98050
  init_esm_shims();
98005
98051
  var googleSheets = {
@@ -107339,6 +107385,7 @@ var CONNECTOR_TYPES_DEF = {
107339
107385
  ...x,
107340
107386
  ...googleDrive,
107341
107387
  ...slack,
107388
+ ...slock,
107342
107389
  ...googleSheets,
107343
107390
  ...googleCalendar,
107344
107391
  ...googleDocs,
@@ -126362,6 +126409,29 @@ var slackWebhookFirewall = {
126362
126409
  ]
126363
126410
  };
126364
126411
 
126412
+ // ../../packages/connectors/src/firewalls/slock.generated.ts
126413
+ init_esm_shims();
126414
+ var slockFirewall = {
126415
+ name: "slock",
126416
+ description: "Slock API",
126417
+ placeholders: {
126418
+ SLOCK_TOKEN: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.CoffeeSafeLocalCoffeeSafeLocalCoffeeSafeLocalCoffeeSafeLocal.c0ffee5afe10ca1c0ffee5afe10ca1c0ffee5afe10ca1c0ffee5afe10ca1c0ff",
126419
+ SLOCK_SERVER_ID: "c0ffee5a-fe10-ca1c-0ffe-e5afe10ca1c0"
126420
+ },
126421
+ apis: [
126422
+ {
126423
+ base: "https://api.slock.ai",
126424
+ auth: {
126425
+ headers: {
126426
+ Authorization: "Bearer ${{ secrets.SLOCK_TOKEN }}",
126427
+ "X-Server-Id": "${{ secrets.SLOCK_SERVER_ID }}"
126428
+ }
126429
+ },
126430
+ permissions: []
126431
+ }
126432
+ ]
126433
+ };
126434
+
126365
126435
  // ../../packages/connectors/src/firewalls/sociavault.generated.ts
126366
126436
  init_esm_shims();
126367
126437
  var sociavaultFirewall = {
@@ -129376,6 +129446,7 @@ var CONNECTOR_FIREWALLS = {
129376
129446
  similarweb: similarwebFirewall,
129377
129447
  slack: slackFirewall,
129378
129448
  "slack-webhook": slackWebhookFirewall,
129449
+ slock: slockFirewall,
129379
129450
  sociavault: sociavaultFirewall,
129380
129451
  sponge: spongeFirewall,
129381
129452
  sproutgigs: sproutgigsFirewall,
@@ -135346,4 +135417,4 @@ undici/lib/web/fetch/body.js:
135346
135417
  undici/lib/web/websocket/frame.js:
135347
135418
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
135348
135419
  */
135349
- //# sourceMappingURL=chunk-X7OEKYPB.js.map
135420
+ //# sourceMappingURL=chunk-TRRVYMW2.js.map