pipely-ai 1.2.0 → 1.3.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.
Files changed (2) hide show
  1. package/index.js +8 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -963,6 +963,11 @@ async function install() {
963
963
  const os = detectOS();
964
964
  console.log(` Sistema: ${c.bold}${os.label}${c.reset} (${os.arch})\n`);
965
965
 
966
+ if (forceLocal) {
967
+ console.log(` Modo: ${c.cyan}Local (--local)${c.reset}\n`);
968
+ return installLocal();
969
+ }
970
+
966
971
  process.stdout.write(` Verificando Docker... `);
967
972
  const docker = checkDocker();
968
973
 
@@ -1186,8 +1191,9 @@ function isLocalMode() {
1186
1191
  // ══════════════════════════════════════════════════════
1187
1192
 
1188
1193
  const args = process.argv.slice(2);
1189
- const command = args[0];
1190
- const local = isLocalMode();
1194
+ const forceLocal = args.includes("--local");
1195
+ const command = args.filter((a) => a !== "--local")[0];
1196
+ const local = forceLocal || isLocalMode();
1191
1197
 
1192
1198
  switch (command) {
1193
1199
  case "status":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipely-ai",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Pipely AI — Instale, gerencie e atualize com um unico comando",
5
5
  "type": "module",
6
6
  "bin": {