@nicotinetool/o7-cli 1.1.8 → 1.2.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.
package/bin/o7 CHANGED
@@ -4,7 +4,7 @@ import { existsSync, readFileSync, writeFileSync, unlinkSync, mkdirSync } from '
4
4
  import { join, dirname } from 'path';
5
5
  import { homedir, hostname, platform, arch, release } from 'os';
6
6
 
7
- const VERSION = '1.1.8';
7
+ const VERSION = '1.2.0';
8
8
  const O7_ADMIN_URL = 'https://o7-os-admin-production.up.railway.app';
9
9
  const MC_DIR = process.env.O7_MC_DIR || join(homedir(), 'Projects/unified-mc');
10
10
  const STATE_DIR = join(homedir(), '.openclaw');
package/bin/o7-setup CHANGED
@@ -5,7 +5,7 @@ import { join, dirname } from 'path';
5
5
  import { fileURLToPath } from 'url';
6
6
  import { homedir, platform, hostname, release } from 'os';
7
7
 
8
- const VERSION = '1.1.8';
8
+ const VERSION = '1.2.0';
9
9
  const O7_ADMIN_URL = 'https://o7-os-admin-production.up.railway.app';
10
10
  const __filename = fileURLToPath(import.meta.url);
11
11
  const __dirname = dirname(__filename);
package/bin/o7-setup.js CHANGED
@@ -5,7 +5,7 @@ import { join, dirname } from 'path';
5
5
  import { fileURLToPath } from 'url';
6
6
  import { homedir, platform, hostname, release } from 'os';
7
7
 
8
- const VERSION = '1.1.8';
8
+ const VERSION = '1.2.0';
9
9
  const O7_ADMIN_URL = 'https://o7-os-admin-production.up.railway.app';
10
10
  const __filename = fileURLToPath(import.meta.url);
11
11
  const __dirname = dirname(__filename);
package/bin/o7.js CHANGED
@@ -4,7 +4,7 @@ import { existsSync, readFileSync, writeFileSync, unlinkSync, mkdirSync } from '
4
4
  import { join, dirname } from 'path';
5
5
  import { homedir, hostname, platform, arch, release } from 'os';
6
6
 
7
- const VERSION = '1.1.8';
7
+ const VERSION = '1.2.0';
8
8
  const O7_ADMIN_URL = 'https://o7-os-admin-production.up.railway.app';
9
9
  const MC_DIR = process.env.O7_MC_DIR || join(homedir(), 'Projects/unified-mc');
10
10
  const STATE_DIR = join(homedir(), '.openclaw');
@@ -55,6 +55,7 @@ log "=== INSTALL STARTED $(date) ==="
55
55
  EXISTING_INSTALL=false
56
56
  SKIP_AUTH=false
57
57
  SKIP_GATEWAY=false
58
+ AUTH_RESULTS=()
58
59
  if [[ -f "${HOME}/.openclaw/openclaw.json" ]] && command -v openclaw &>/dev/null; then
59
60
  EXISTING_INSTALL=true
60
61
  echo
@@ -186,7 +187,7 @@ MC_REPO="https://github.com/erenes1667/unified-mc.git"
186
187
  if ! state_check "mc"; then
187
188
  if [[ -d "$MC_DIR/.git" ]]; then
188
189
  info "Mission Control already cloned. Pulling latest..."
189
- git -C "$MC_DIR" pull --quiet &
190
+ git -C "$MC_DIR" pull --rebase --quiet &
190
191
  spin $! "Updating Mission Control..."
191
192
  wait $!
192
193
  else
@@ -21,7 +21,7 @@ setup_antigravity() {
21
21
  if [[ -z "$gemini_key" ]]; then
22
22
  # Check if they set up Gemini in auth phase
23
23
  local has_gemini=false
24
- for result in "${AUTH_RESULTS[@]}"; do
24
+ for result in "${AUTH_RESULTS[@]+"${AUTH_RESULTS[@]}"}"; do
25
25
  if [[ "$result" == "gemini:ok" ]]; then
26
26
  has_gemini=true
27
27
  break
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicotinetool/o7-cli",
3
- "version": "1.1.8",
3
+ "version": "1.2.0",
4
4
  "description": "Optimum7 OpenClaw installer and lifecycle manager",
5
5
  "type": "module",
6
6
  "bin": {