@vm0/cli 9.59.3 → 9.59.4

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.
Files changed (2) hide show
  1. package/index.js +35 -35
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -45,7 +45,7 @@ if (DSN) {
45
45
  Sentry.init({
46
46
  dsn: DSN,
47
47
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
48
- release: "9.59.3",
48
+ release: "9.59.4",
49
49
  sendDefaultPii: false,
50
50
  tracesSampleRate: 0,
51
51
  shutdownTimeout: 500,
@@ -64,7 +64,7 @@ if (DSN) {
64
64
  }
65
65
  });
66
66
  Sentry.setContext("cli", {
67
- version: "9.59.3",
67
+ version: "9.59.4",
68
68
  command: process.argv.slice(2).join(" ")
69
69
  });
70
70
  Sentry.setContext("runtime", {
@@ -673,7 +673,7 @@ function getConfigPath() {
673
673
  return join2(homedir2(), ".vm0", "config.json");
674
674
  }
675
675
  var infoCommand = new Command6().name("info").description("Display environment and debug information").action(async () => {
676
- console.log(chalk4.bold(`VM0 CLI v${"9.59.3"}`));
676
+ console.log(chalk4.bold(`VM0 CLI v${"9.59.4"}`));
677
677
  console.log();
678
678
  const config = await loadConfig();
679
679
  const hasEnvToken = !!process.env.VM0_TOKEN;
@@ -6451,7 +6451,7 @@ var computerConnectorContract = c18.router({
6451
6451
 
6452
6452
  // ../../packages/core/src/contracts/services.ts
6453
6453
  function bearerAuth(secretName) {
6454
- return { headers: { Authorization: `Bearer \${secrets.${secretName}}` } };
6454
+ return { headers: { Authorization: `Bearer \${{ secrets.${secretName} }}` } };
6455
6455
  }
6456
6456
  var FULL_ACCESS_PERMISSION = {
6457
6457
  name: "full-access",
@@ -6620,7 +6620,7 @@ var SERVICE_CONFIGS = {
6620
6620
  apis: [
6621
6621
  api("https://api.notion.com/v1", {
6622
6622
  headers: {
6623
- Authorization: "Bearer ${secrets.NOTION_TOKEN}",
6623
+ Authorization: "Bearer ${{ secrets.NOTION_TOKEN }}",
6624
6624
  "Notion-Version": "2022-06-28"
6625
6625
  }
6626
6626
  })
@@ -6672,14 +6672,14 @@ var SERVICE_CONFIGS = {
6672
6672
  hume: {
6673
6673
  apis: [
6674
6674
  api("https://api.hume.ai", {
6675
- headers: { "X-Hume-Api-Key": "${secrets.HUME_TOKEN}" }
6675
+ headers: { "X-Hume-Api-Key": "${{ secrets.HUME_TOKEN }}" }
6676
6676
  })
6677
6677
  ]
6678
6678
  },
6679
6679
  heygen: {
6680
6680
  apis: [
6681
6681
  api("https://api.heygen.com", {
6682
- headers: { "x-api-key": "${secrets.HEYGEN_TOKEN}" }
6682
+ headers: { "x-api-key": "${{ secrets.HEYGEN_TOKEN }}" }
6683
6683
  })
6684
6684
  ]
6685
6685
  },
@@ -6724,12 +6724,12 @@ var SERVICE_CONFIGS = {
6724
6724
  apis: [
6725
6725
  api("https://api.jotform.com", {
6726
6726
  headers: {
6727
- APIKEY: "${secrets.JOTFORM_TOKEN}"
6727
+ APIKEY: "${{ secrets.JOTFORM_TOKEN }}"
6728
6728
  }
6729
6729
  }),
6730
6730
  api("https://eu-api.jotform.com", {
6731
6731
  headers: {
6732
- APIKEY: "${secrets.JOTFORM_TOKEN}"
6732
+ APIKEY: "${{ secrets.JOTFORM_TOKEN }}"
6733
6733
  }
6734
6734
  })
6735
6735
  ]
@@ -6741,22 +6741,22 @@ var SERVICE_CONFIGS = {
6741
6741
  apis: [
6742
6742
  api("https://eu1.make.com/api/v2", {
6743
6743
  headers: {
6744
- Authorization: "Token ${secrets.MAKE_TOKEN}"
6744
+ Authorization: "Token ${{ secrets.MAKE_TOKEN }}"
6745
6745
  }
6746
6746
  }),
6747
6747
  api("https://eu2.make.com/api/v2", {
6748
6748
  headers: {
6749
- Authorization: "Token ${secrets.MAKE_TOKEN}"
6749
+ Authorization: "Token ${{ secrets.MAKE_TOKEN }}"
6750
6750
  }
6751
6751
  }),
6752
6752
  api("https://us1.make.com/api/v2", {
6753
6753
  headers: {
6754
- Authorization: "Token ${secrets.MAKE_TOKEN}"
6754
+ Authorization: "Token ${{ secrets.MAKE_TOKEN }}"
6755
6755
  }
6756
6756
  }),
6757
6757
  api("https://us2.make.com/api/v2", {
6758
6758
  headers: {
6759
- Authorization: "Token ${secrets.MAKE_TOKEN}"
6759
+ Authorization: "Token ${{ secrets.MAKE_TOKEN }}"
6760
6760
  }
6761
6761
  })
6762
6762
  ]
@@ -6765,7 +6765,7 @@ var SERVICE_CONFIGS = {
6765
6765
  apis: [
6766
6766
  api("https://api.metabase.com", {
6767
6767
  headers: {
6768
- "x-api-key": "${secrets.METABASE_TOKEN}"
6768
+ "x-api-key": "${{ secrets.METABASE_TOKEN }}"
6769
6769
  }
6770
6770
  })
6771
6771
  ]
@@ -6861,7 +6861,7 @@ var SERVICE_CONFIGS = {
6861
6861
  similarweb: {
6862
6862
  apis: [
6863
6863
  api("https://api.similarweb.com", {
6864
- headers: { "api-key": "${secrets.SIMILARWEB_API_KEY}" }
6864
+ headers: { "api-key": "${{ secrets.SIMILARWEB_API_KEY }}" }
6865
6865
  })
6866
6866
  ]
6867
6867
  },
@@ -6892,14 +6892,14 @@ var SERVICE_CONFIGS = {
6892
6892
  pdf4me: {
6893
6893
  apis: [
6894
6894
  api("https://api.pdf4me.com", {
6895
- headers: { Authorization: "${secrets.PDF4ME_TOKEN}" }
6895
+ headers: { Authorization: "${{ secrets.PDF4ME_TOKEN }}" }
6896
6896
  })
6897
6897
  ]
6898
6898
  },
6899
6899
  pdfco: {
6900
6900
  apis: [
6901
6901
  api("https://api.pdf.co/v1", {
6902
- headers: { "x-api-key": "${secrets.PDFCO_TOKEN}" }
6902
+ headers: { "x-api-key": "${{ secrets.PDFCO_TOKEN }}" }
6903
6903
  })
6904
6904
  ]
6905
6905
  },
@@ -6912,7 +6912,7 @@ var SERVICE_CONFIGS = {
6912
6912
  browserbase: {
6913
6913
  apis: [
6914
6914
  api("https://api.browserbase.com/v1", {
6915
- headers: { "X-BB-API-Key": "${secrets.BROWSERBASE_TOKEN}" }
6915
+ headers: { "X-BB-API-Key": "${{ secrets.BROWSERBASE_TOKEN }}" }
6916
6916
  })
6917
6917
  ]
6918
6918
  },
@@ -6924,7 +6924,7 @@ var SERVICE_CONFIGS = {
6924
6924
  explorium: {
6925
6925
  apis: [
6926
6926
  api("https://api.explorium.ai", {
6927
- headers: { api_key: "${secrets.EXPLORIUM_TOKEN}" }
6927
+ headers: { api_key: "${{ secrets.EXPLORIUM_TOKEN }}" }
6928
6928
  })
6929
6929
  ]
6930
6930
  },
@@ -6934,21 +6934,21 @@ var SERVICE_CONFIGS = {
6934
6934
  scrapeninja: {
6935
6935
  apis: [
6936
6936
  api("https://scrapeninja.p.rapidapi.com", {
6937
- headers: { "X-RapidAPI-Key": "${secrets.SCRAPENINJA_TOKEN}" }
6937
+ headers: { "X-RapidAPI-Key": "${{ secrets.SCRAPENINJA_TOKEN }}" }
6938
6938
  })
6939
6939
  ]
6940
6940
  },
6941
6941
  elevenlabs: {
6942
6942
  apis: [
6943
6943
  api("https://api.elevenlabs.io", {
6944
- headers: { "xi-api-key": "${secrets.ELEVENLABS_TOKEN}" }
6944
+ headers: { "xi-api-key": "${{ secrets.ELEVENLABS_TOKEN }}" }
6945
6945
  })
6946
6946
  ]
6947
6947
  },
6948
6948
  devto: {
6949
6949
  apis: [
6950
6950
  api("https://dev.to/api", {
6951
- headers: { "api-key": "${secrets.DEVTO_TOKEN}" }
6951
+ headers: { "api-key": "${{ secrets.DEVTO_TOKEN }}" }
6952
6952
  })
6953
6953
  ]
6954
6954
  },
@@ -6964,7 +6964,7 @@ var SERVICE_CONFIGS = {
6964
6964
  qdrant: {
6965
6965
  apis: [
6966
6966
  api("https://cloud.qdrant.io", {
6967
- headers: { "api-key": "${secrets.QDRANT_TOKEN}" }
6967
+ headers: { "api-key": "${{ secrets.QDRANT_TOKEN }}" }
6968
6968
  })
6969
6969
  ]
6970
6970
  },
@@ -6980,7 +6980,7 @@ var SERVICE_CONFIGS = {
6980
6980
  apis: [
6981
6981
  api("https://api.zeptomail.com/v1.1", {
6982
6982
  headers: {
6983
- Authorization: "Zoho-enczapikey ${secrets.ZEPTOMAIL_TOKEN}"
6983
+ Authorization: "Zoho-enczapikey ${{ secrets.ZEPTOMAIL_TOKEN }}"
6984
6984
  }
6985
6985
  })
6986
6986
  ]
@@ -6991,14 +6991,14 @@ var SERVICE_CONFIGS = {
6991
6991
  shortio: {
6992
6992
  apis: [
6993
6993
  api("https://api.short.io", {
6994
- headers: { Authorization: "${secrets.SHORTIO_TOKEN}" }
6994
+ headers: { Authorization: "${{ secrets.SHORTIO_TOKEN }}" }
6995
6995
  })
6996
6996
  ]
6997
6997
  },
6998
6998
  supadata: {
6999
6999
  apis: [
7000
7000
  api("https://api.supadata.ai/v1", {
7001
- headers: { "x-api-key": "${secrets.SUPADATA_TOKEN}" }
7001
+ headers: { "x-api-key": "${{ secrets.SUPADATA_TOKEN }}" }
7002
7002
  })
7003
7003
  ]
7004
7004
  },
@@ -7008,7 +7008,7 @@ var SERVICE_CONFIGS = {
7008
7008
  tldv: {
7009
7009
  apis: [
7010
7010
  api("https://pasta.tldv.io", {
7011
- headers: { "x-api-key": "${secrets.TLDV_TOKEN}" }
7011
+ headers: { "x-api-key": "${{ secrets.TLDV_TOKEN }}" }
7012
7012
  })
7013
7013
  ]
7014
7014
  },
@@ -9913,7 +9913,7 @@ var composeCommand = new Command7().name("compose").description("Create or updat
9913
9913
  options.autoUpdate = false;
9914
9914
  }
9915
9915
  if (options.autoUpdate !== false) {
9916
- await startSilentUpgrade("9.59.3");
9916
+ await startSilentUpgrade("9.59.4");
9917
9917
  }
9918
9918
  try {
9919
9919
  let result;
@@ -11087,7 +11087,7 @@ var mainRunCommand = new Command8().name("run").description("Run an agent").argu
11087
11087
  withErrorHandler(
11088
11088
  async (identifier, prompt, options) => {
11089
11089
  if (options.autoUpdate !== false) {
11090
- await startSilentUpgrade("9.59.3");
11090
+ await startSilentUpgrade("9.59.4");
11091
11091
  }
11092
11092
  const { org, name, version } = parseIdentifier(identifier);
11093
11093
  if (org && !options.experimentalSharedAgent) {
@@ -12774,7 +12774,7 @@ var cookAction = new Command34().name("cook").description("Quick start: prepare,
12774
12774
  withErrorHandler(
12775
12775
  async (prompt, options) => {
12776
12776
  if (options.autoUpdate !== false) {
12777
- const shouldExit = await checkAndUpgrade("9.59.3", prompt);
12777
+ const shouldExit = await checkAndUpgrade("9.59.4", prompt);
12778
12778
  if (shouldExit) {
12779
12779
  process.exit(0);
12780
12780
  }
@@ -18125,13 +18125,13 @@ var upgradeCommand = new Command90().name("upgrade").description("Upgrade vm0 CL
18125
18125
  if (latestVersion === null) {
18126
18126
  throw new Error("Could not check for updates. Please try again later.");
18127
18127
  }
18128
- if (latestVersion === "9.59.3") {
18129
- console.log(chalk84.green(`\u2713 Already up to date (${"9.59.3"})`));
18128
+ if (latestVersion === "9.59.4") {
18129
+ console.log(chalk84.green(`\u2713 Already up to date (${"9.59.4"})`));
18130
18130
  return;
18131
18131
  }
18132
18132
  console.log(
18133
18133
  chalk84.yellow(
18134
- `Current version: ${"9.59.3"} -> Latest version: ${latestVersion}`
18134
+ `Current version: ${"9.59.4"} -> Latest version: ${latestVersion}`
18135
18135
  )
18136
18136
  );
18137
18137
  console.log();
@@ -18158,7 +18158,7 @@ var upgradeCommand = new Command90().name("upgrade").description("Upgrade vm0 CL
18158
18158
  const success = await performUpgrade(packageManager);
18159
18159
  if (success) {
18160
18160
  console.log(
18161
- chalk84.green(`\u2713 Upgraded from ${"9.59.3"} to ${latestVersion}`)
18161
+ chalk84.green(`\u2713 Upgraded from ${"9.59.4"} to ${latestVersion}`)
18162
18162
  );
18163
18163
  return;
18164
18164
  }
@@ -18172,7 +18172,7 @@ var upgradeCommand = new Command90().name("upgrade").description("Upgrade vm0 CL
18172
18172
 
18173
18173
  // src/index.ts
18174
18174
  var program = new Command91();
18175
- program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.59.3");
18175
+ program.name("vm0").description("VM0 CLI - Build and run agents with natural language").version("9.59.4");
18176
18176
  program.addCommand(authCommand);
18177
18177
  program.addCommand(infoCommand);
18178
18178
  program.addCommand(composeCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vm0/cli",
3
- "version": "9.59.3",
3
+ "version": "9.59.4",
4
4
  "description": "CLI application",
5
5
  "repository": {
6
6
  "type": "git",