@nicotinetool/o7-cli 1.1.9 → 1.2.1
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 +9 -6
- 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.1
|
|
7
|
+
const VERSION = '1.2.1';
|
|
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
|
+
const VERSION = '1.2.1';
|
|
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
|
+
const VERSION = '1.2.1';
|
|
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
|
|
7
|
+
const VERSION = '1.2.1';
|
|
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
|
@@ -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
|
|
@@ -247,6 +248,8 @@ if ! state_check "mc-daemon" && [[ -d "$MC_DIR" ]]; then
|
|
|
247
248
|
<string>${NODE_DIR}:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin</string>
|
|
248
249
|
<key>NODE_ENV</key>
|
|
249
250
|
<string>development</string>
|
|
251
|
+
<key>PORT</key>
|
|
252
|
+
<string>18790</string>
|
|
250
253
|
</dict>
|
|
251
254
|
<key>RunAtLoad</key>
|
|
252
255
|
<true/>
|
|
@@ -264,14 +267,14 @@ PLIST
|
|
|
264
267
|
launchctl load "$MC_PLIST"
|
|
265
268
|
|
|
266
269
|
sleep 5
|
|
267
|
-
if curl -s -o /dev/null -w "%{http_code}" http://localhost:
|
|
268
|
-
ok "Mission Control running at http://localhost:
|
|
270
|
+
if curl -s -o /dev/null -w "%{http_code}" http://localhost:18790 --max-time 10 | grep -qE "200|307"; then
|
|
271
|
+
ok "Mission Control running at http://localhost:18790"
|
|
269
272
|
log "OK: Mission Control daemon installed"
|
|
270
273
|
state_done "mc-daemon"
|
|
271
|
-
open "http://localhost:
|
|
274
|
+
open "http://localhost:18790" 2>/dev/null || true
|
|
272
275
|
else
|
|
273
276
|
warn "Mission Control is starting (can take 30s on first boot)"
|
|
274
|
-
info "It will be available at http://localhost:
|
|
277
|
+
info "It will be available at http://localhost:18790 shortly"
|
|
275
278
|
log "WARN: MC not yet responding, but daemon installed"
|
|
276
279
|
state_done "mc-daemon"
|
|
277
280
|
fi
|
|
@@ -303,11 +306,11 @@ done
|
|
|
303
306
|
echo
|
|
304
307
|
echo -e "${BOLD} Services:${RESET}"
|
|
305
308
|
summary_row " 🦞 OpenClaw Gateway" "localhost:18789 (auto-start)"
|
|
306
|
-
summary_row " 📊 Mission Control" "http://localhost:
|
|
309
|
+
summary_row " 📊 Mission Control" "http://localhost:18790 (auto-start)"
|
|
307
310
|
summary_row " 🛡️ Antigravity" "every 30 min (auto-heal)"
|
|
308
311
|
echo
|
|
309
312
|
echo -e "${BOLD} Quick links:${RESET}"
|
|
310
|
-
echo -e " ${CYAN}→ Mission Control:${RESET} http://localhost:
|
|
313
|
+
echo -e " ${CYAN}→ Mission Control:${RESET} http://localhost:18790"
|
|
311
314
|
echo -e " ${CYAN}→ Docs:${RESET} https://docs.openclaw.ai"
|
|
312
315
|
echo -e " ${CYAN}→ Discord:${RESET} https://discord.gg/clawd"
|
|
313
316
|
echo
|
|
@@ -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
|