@wix/create-app 0.0.242 → 0.0.243
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 +12 -4
- package/build/index.js.map +1 -1
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -31097,6 +31097,7 @@ var require_dist4 = __commonJS({
|
|
|
31097
31097
|
var OPENCODE = "opencode";
|
|
31098
31098
|
var GITHUB_COPILOT = "github-copilot";
|
|
31099
31099
|
var GITHUB_COPILOT_CLI = "github-copilot-cli";
|
|
31100
|
+
var V0 = "v0";
|
|
31100
31101
|
var KNOWN_AGENTS = {
|
|
31101
31102
|
CURSOR,
|
|
31102
31103
|
CURSOR_CLI,
|
|
@@ -31109,7 +31110,8 @@ var require_dist4 = __commonJS({
|
|
|
31109
31110
|
ANTIGRAVITY,
|
|
31110
31111
|
AUGMENT_CLI,
|
|
31111
31112
|
OPENCODE,
|
|
31112
|
-
GITHUB_COPILOT
|
|
31113
|
+
GITHUB_COPILOT,
|
|
31114
|
+
V0
|
|
31113
31115
|
};
|
|
31114
31116
|
async function determineAgent2() {
|
|
31115
31117
|
if (process.env.AI_AGENT) {
|
|
@@ -31121,6 +31123,12 @@ var require_dist4 = __commonJS({
|
|
|
31121
31123
|
agent: { name: GITHUB_COPILOT }
|
|
31122
31124
|
};
|
|
31123
31125
|
}
|
|
31126
|
+
if (name === V0) {
|
|
31127
|
+
return {
|
|
31128
|
+
isAgent: true,
|
|
31129
|
+
agent: { name: V0 }
|
|
31130
|
+
};
|
|
31131
|
+
}
|
|
31124
31132
|
return {
|
|
31125
31133
|
isAgent: true,
|
|
31126
31134
|
agent: { name }
|
|
@@ -31130,7 +31138,7 @@ var require_dist4 = __commonJS({
|
|
|
31130
31138
|
if (process.env.CURSOR_TRACE_ID) {
|
|
31131
31139
|
return { isAgent: true, agent: { name: CURSOR } };
|
|
31132
31140
|
}
|
|
31133
|
-
if (process.env.CURSOR_AGENT) {
|
|
31141
|
+
if (process.env.CURSOR_AGENT || process.env.CURSOR_EXTENSION_HOST_ROLE === "agent-exec") {
|
|
31134
31142
|
return { isAgent: true, agent: { name: CURSOR_CLI } };
|
|
31135
31143
|
}
|
|
31136
31144
|
if (process.env.GEMINI_CLI) {
|
|
@@ -56796,7 +56804,7 @@ init_esm_shims();
|
|
|
56796
56804
|
var package_default = {
|
|
56797
56805
|
name: "@wix/create-app",
|
|
56798
56806
|
description: "Create Wix apps",
|
|
56799
|
-
version: "0.0.
|
|
56807
|
+
version: "0.0.243",
|
|
56800
56808
|
author: "Ihor Machuzhak",
|
|
56801
56809
|
bin: "bin/index.cjs",
|
|
56802
56810
|
devDependencies: {
|
|
@@ -56806,7 +56814,7 @@ var package_default = {
|
|
|
56806
56814
|
"@types/react": "^18.3.3",
|
|
56807
56815
|
"@types/semver": "^7.5.8",
|
|
56808
56816
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
56809
|
-
"@vercel/detect-agent": "^1.2.
|
|
56817
|
+
"@vercel/detect-agent": "^1.2.3",
|
|
56810
56818
|
"@wix/bi-logger-dev-tools-data": "^1.169.0",
|
|
56811
56819
|
"@wix/cli-auth": "workspace:*",
|
|
56812
56820
|
"@wix/cli-error": "workspace:*",
|