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