@nicotinetool/o7-cli 1.2.2 → 1.2.4
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 +1 -1
- package/bin/o7-setup +1 -1
- package/bin/o7-setup.js +1 -1
- package/bin/o7.js +1 -1
- package/installer/install.sh +7 -2
- package/installer/lib/antigravity.sh +1 -1
- package/package.json +1 -1
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.2.
|
|
7
|
+
const VERSION = '1.2.4';
|
|
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.2.
|
|
8
|
+
const VERSION = '1.2.4';
|
|
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.2.
|
|
8
|
+
const VERSION = '1.2.4';
|
|
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.2.
|
|
7
|
+
const VERSION = '1.2.4';
|
|
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/installer/install.sh
CHANGED
|
@@ -284,7 +284,12 @@ else
|
|
|
284
284
|
fi
|
|
285
285
|
|
|
286
286
|
# ── PHASE 9: Antigravity ──────────────────────────────────────
|
|
287
|
-
|
|
287
|
+
if [[ "$SKIP_AUTH" != "true" ]]; then
|
|
288
|
+
setup_antigravity
|
|
289
|
+
else
|
|
290
|
+
section 9 "Antigravity Self-Healer"
|
|
291
|
+
ok "Antigravity skipped — preserving existing config"
|
|
292
|
+
fi
|
|
288
293
|
|
|
289
294
|
# ── PHASE 10: Summary ─────────────────────────────────────────
|
|
290
295
|
section 10 "Setup Complete"
|
|
@@ -294,7 +299,7 @@ echo
|
|
|
294
299
|
echo -e "${BOLD} What's set up:${RESET}"
|
|
295
300
|
|
|
296
301
|
# Auth results
|
|
297
|
-
for result in "${AUTH_RESULTS[@]}"; do
|
|
302
|
+
for result in "${AUTH_RESULTS[@]+"${AUTH_RESULTS[@]}"}"; do
|
|
298
303
|
provider=$(echo "$result" | cut -d: -f1)
|
|
299
304
|
status=$(echo "$result" | cut -d: -f2)
|
|
300
305
|
case "$status" in
|
|
@@ -16,7 +16,7 @@ setup_antigravity() {
|
|
|
16
16
|
|
|
17
17
|
# Check for Gemini API key (required for Antigravity)
|
|
18
18
|
local gemini_key
|
|
19
|
-
gemini_key=$(grep -o '"GEMINI_API_KEY"[[:space:]]*:[[:space:]]*"[^"]*"' ~/.openclaw/openclaw.json 2>/dev/null | head -1 | sed 's/.*: *"//;s/"//')
|
|
19
|
+
gemini_key=$(grep -o '"GEMINI_API_KEY"[[:space:]]*:[[:space:]]*"[^"]*"' ~/.openclaw/openclaw.json 2>/dev/null | head -1 | sed 's/.*: *"//;s/"//' || true)
|
|
20
20
|
|
|
21
21
|
if [[ -z "$gemini_key" ]]; then
|
|
22
22
|
# Check if they set up Gemini in auth phase
|