@wix/create-new 0.0.103 → 0.0.104

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.
package/build/index.js CHANGED
@@ -47946,6 +47946,7 @@ var require_dist4 = __commonJS({
47946
47946
  var OPENCODE = "opencode";
47947
47947
  var GITHUB_COPILOT = "github-copilot";
47948
47948
  var GITHUB_COPILOT_CLI = "github-copilot-cli";
47949
+ var V0 = "v0";
47949
47950
  var KNOWN_AGENTS = {
47950
47951
  CURSOR,
47951
47952
  CURSOR_CLI,
@@ -47958,7 +47959,8 @@ var require_dist4 = __commonJS({
47958
47959
  ANTIGRAVITY,
47959
47960
  AUGMENT_CLI,
47960
47961
  OPENCODE,
47961
- GITHUB_COPILOT
47962
+ GITHUB_COPILOT,
47963
+ V0
47962
47964
  };
47963
47965
  async function determineAgent2() {
47964
47966
  if (process.env.AI_AGENT) {
@@ -47970,6 +47972,12 @@ var require_dist4 = __commonJS({
47970
47972
  agent: { name: GITHUB_COPILOT }
47971
47973
  };
47972
47974
  }
47975
+ if (name === V0) {
47976
+ return {
47977
+ isAgent: true,
47978
+ agent: { name: V0 }
47979
+ };
47980
+ }
47973
47981
  return {
47974
47982
  isAgent: true,
47975
47983
  agent: { name }
@@ -47979,7 +47987,7 @@ var require_dist4 = __commonJS({
47979
47987
  if (process.env.CURSOR_TRACE_ID) {
47980
47988
  return { isAgent: true, agent: { name: CURSOR } };
47981
47989
  }
47982
- if (process.env.CURSOR_AGENT) {
47990
+ if (process.env.CURSOR_AGENT || process.env.CURSOR_EXTENSION_HOST_ROLE === "agent-exec") {
47983
47991
  return { isAgent: true, agent: { name: CURSOR_CLI } };
47984
47992
  }
47985
47993
  if (process.env.GEMINI_CLI) {
@@ -95295,11 +95303,11 @@ import { randomUUID as randomUUID3 } from "node:crypto";
95295
95303
  var package_default = {
95296
95304
  name: "@wix/create-new",
95297
95305
  description: "General entry point for creating Wix projects",
95298
- version: "0.0.103",
95306
+ version: "0.0.104",
95299
95307
  bin: "bin/index.cjs",
95300
95308
  devDependencies: {
95301
95309
  "@commander-js/extra-typings": "^13.0.0",
95302
- "@vercel/detect-agent": "^1.2.1",
95310
+ "@vercel/detect-agent": "^1.2.3",
95303
95311
  "@wix/app-command": "workspace:*",
95304
95312
  "@wix/cli-auth": "workspace:*",
95305
95313
  "@wix/cli-error-reporting": "workspace:*",