@nicotinetool/o7-cli 1.2.3 → 1.2.5
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 -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.5';
|
|
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.5';
|
|
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.5';
|
|
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.5';
|
|
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
|
@@ -242,6 +242,8 @@ if ! state_check "mc-daemon" && [[ -d "$MC_DIR" ]]; then
|
|
|
242
242
|
<string>dev</string>
|
|
243
243
|
<string>--hostname</string>
|
|
244
244
|
<string>127.0.0.1</string>
|
|
245
|
+
<string>--port</string>
|
|
246
|
+
<string>18790</string>
|
|
245
247
|
</array>
|
|
246
248
|
<key>EnvironmentVariables</key>
|
|
247
249
|
<dict>
|
|
@@ -284,7 +286,12 @@ else
|
|
|
284
286
|
fi
|
|
285
287
|
|
|
286
288
|
# ── PHASE 9: Antigravity ──────────────────────────────────────
|
|
287
|
-
|
|
289
|
+
if [[ "$SKIP_AUTH" != "true" ]]; then
|
|
290
|
+
setup_antigravity
|
|
291
|
+
else
|
|
292
|
+
section 9 "Antigravity Self-Healer"
|
|
293
|
+
ok "Antigravity skipped — preserving existing config"
|
|
294
|
+
fi
|
|
288
295
|
|
|
289
296
|
# ── PHASE 10: Summary ─────────────────────────────────────────
|
|
290
297
|
section 10 "Setup Complete"
|
|
@@ -313,7 +320,6 @@ echo
|
|
|
313
320
|
echo -e "${BOLD} Quick links:${RESET}"
|
|
314
321
|
echo -e " ${CYAN}→ Mission Control:${RESET} http://localhost:18790"
|
|
315
322
|
echo -e " ${CYAN}→ Docs:${RESET} https://docs.openclaw.ai"
|
|
316
|
-
echo -e " ${CYAN}→ Discord:${RESET} https://discord.gg/clawd"
|
|
317
323
|
echo
|
|
318
324
|
echo -e "${BOLD} Useful commands:${RESET}"
|
|
319
325
|
echo -e " ${DIM}openclaw gateway status${RESET} — check gateway"
|
|
@@ -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
|