vibeview 0.42.0 → 0.43.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.
|
@@ -982,6 +982,16 @@ function nativeAndroidDefaults(cwd, production) {
|
|
|
982
982
|
artifact: `${m}/build/outputs/apk/debug/*.apk`
|
|
983
983
|
};
|
|
984
984
|
}
|
|
985
|
+
var FVM_CONFIGS = [".fvmrc", ".fvm/fvm_config.json"];
|
|
986
|
+
function flutterCommand(cwd) {
|
|
987
|
+
let ig = null;
|
|
988
|
+
try {
|
|
989
|
+
ig = ignore().add(readFileSync5(join5(cwd, ".gitignore"), "utf-8"));
|
|
990
|
+
} catch {
|
|
991
|
+
}
|
|
992
|
+
const pinned = FVM_CONFIGS.some((f) => isFile(join5(cwd, f)) && !ig?.ignores(f));
|
|
993
|
+
return pinned ? "fvm flutter" : "flutter";
|
|
994
|
+
}
|
|
985
995
|
var FLUTTER_ANDROID_ARTIFACT = "build/app/outputs/flutter-apk/app-debug.apk";
|
|
986
996
|
var FLUTTER_IOS_ARTIFACT = "build/ios/iphonesimulator/Runner.app";
|
|
987
997
|
var FLUTTER_ANDROID_PRODUCTION_ARTIFACT = "build/app/outputs/bundle/release/app-release.aab";
|
|
@@ -1117,13 +1127,17 @@ function defaultsFor(cwd, platform, evaluatedIosName) {
|
|
|
1117
1127
|
function otherFrameworkDefaults(cwd, flavor, platform, production) {
|
|
1118
1128
|
if (flavor === "flutter") {
|
|
1119
1129
|
if (!existsSync3(join5(cwd, platform))) return {};
|
|
1130
|
+
const flutter = flutterCommand(cwd);
|
|
1120
1131
|
if (platform === "android") {
|
|
1121
1132
|
return production ? {
|
|
1122
|
-
buildCommand:
|
|
1133
|
+
buildCommand: `${flutter} build appbundle --release`,
|
|
1123
1134
|
artifact: FLUTTER_ANDROID_PRODUCTION_ARTIFACT
|
|
1124
|
-
} : { buildCommand:
|
|
1135
|
+
} : { buildCommand: `${flutter} build apk --debug`, artifact: FLUTTER_ANDROID_ARTIFACT };
|
|
1125
1136
|
}
|
|
1126
|
-
return production ? {} : {
|
|
1137
|
+
return production ? {} : {
|
|
1138
|
+
buildCommand: `${flutter} build ios --simulator --debug`,
|
|
1139
|
+
artifact: FLUTTER_IOS_ARTIFACT
|
|
1140
|
+
};
|
|
1127
1141
|
}
|
|
1128
1142
|
if (flavor === "capacitor") return capacitorDefaults(cwd, platform, production);
|
|
1129
1143
|
if (platform === "android") return nativeAndroidDefaults(cwd, production);
|
package/dist/cli.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
runAgentVerb,
|
|
31
31
|
runStepsNotChecked,
|
|
32
32
|
stepsNotCheckedLabel
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-6XJIGZIG.js";
|
|
34
34
|
import {
|
|
35
35
|
ApiClient,
|
|
36
36
|
ApiStatusError,
|
|
@@ -4461,7 +4461,7 @@ program.command("dev-reload").description(
|
|
|
4461
4461
|
program.command("mcp").description(
|
|
4462
4462
|
"Run an MCP stdio server exposing the agent verbs (tap, swipe, type, ...) plus dev_start/dev_stop/dev_reload as tools"
|
|
4463
4463
|
).option("--token <token>", "API token (or set VIBEVIEW_API_TOKEN)").action(async (opts) => {
|
|
4464
|
-
const { runMcpServer } = await import("./server-
|
|
4464
|
+
const { runMcpServer } = await import("./server-6JK7PP5N.js");
|
|
4465
4465
|
await runMcpServer({ ...opts, version: pkg.version });
|
|
4466
4466
|
});
|
|
4467
4467
|
program.command("agent-setup").description(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibeview",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.43.0",
|
|
4
4
|
"description": "VibeView CLI -- run your app on cloud iOS simulators, Android emulators, Apple TV, Android TV and Roku devices: a React Native dev loop, device control for you or your coding agent (CLI or MCP), and tests from CI",
|
|
5
5
|
"mcpName": "io.github.vibeview/vibeview",
|
|
6
6
|
"type": "module",
|