feat(ui): ensure cross-platform one-click setup and default Showcase UI routing
- Add explicit root route (/) in server.py to guarantee Showcase UI is served by default, routing /admin to the Admin Debug Console - Enhance dynamic Angular dist detection across multiple standard output paths - Add automated Node.js/npm detection and installation fallbacks to start scripts and installers across macOS, Linux, and Windows - Automatically build Showcase UI when launching via start.sh, start.bat/start.ps1, or artemis ui if frontend artifacts are missing - Add Node.js / npm and Showcase UI status inspection rows to artemis doctor - Support artemis mcp --install for one-click IDE integration and add make build-ui target
This commit is contained in:
1 parent
6fa4768893
commit
fc6ddad655
15 files changed
+598
-64
No files matched your search
@@ -105,28 +105,40 @@ start.bat
|
||||
|
||||
ARTEMIS includes a native **Model Context Protocol (MCP)** server. Connect your real phone directly into AI IDEs:
|
||||
|
||||
### 1. Generate MCP Config
|
||||
### 1. One-Click Auto Install (Recommended)
|
||||
|
||||
Run the built-in generator to produce ready-to-use JSON configuration:
|
||||
Run the built-in installer to automatically configure or update your AI IDE (automatically resolves your virtual environment Python and repository path):
|
||||
|
||||
```bash
|
||||
artemis mcp --generate-config antigravity
|
||||
# Or generate configs for all IDEs:
|
||||
artemis mcp --generate-config all
|
||||
# Auto-install for Antigravity / Jetski:
|
||||
artemis mcp --install antigravity
|
||||
|
||||
# Or install for all detected AI IDEs (Antigravity, Cursor, Claude Desktop/Code, OpenClaw):
|
||||
artemis mcp --install all
|
||||
```
|
||||
|
||||
### 2. Copy Config to Your IDE
|
||||
> 💡 **Tip**: You can also configure MCP interactively during first-time setup via `artemis init`.
|
||||
|
||||
* **Antigravity** (MCP config file or Settings ➔ MCP Servers):
|
||||
### 2. Manual Configuration (Optional)
|
||||
|
||||
If you prefer to configure manually, run `artemis mcp --generate-config antigravity` (or `all`) to output the exact JSON snippet, or paste the following into your IDE configuration (replace `/path/to/artemis` with your actual repo path and point `command` to your `.venv` Python executable):
|
||||
|
||||
* **Antigravity** (`~/.gemini/jetski/mcp_config.json`):
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"artemis": {
|
||||
"command": "python",
|
||||
"command": "/path/to/artemis/.venv/bin/python",
|
||||
"args": ["-m", "mcp_server"],
|
||||
"cwd": "/path/to/artemis",
|
||||
"env": {
|
||||
"PYTHONUNBUFFERED": "1"
|
||||
},
|
||||
"tools": {
|
||||
"mobile_run_task": { "eager": true },
|
||||
"mobile_manage_task": { "eager": true },
|
||||
"mobile_get_device_state": { "eager": true },
|
||||
"mobile_inspect_trace": { "eager": true }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -138,7 +150,7 @@ artemis mcp --generate-config all
|
||||
{
|
||||
"mcpServers": {
|
||||
"artemis": {
|
||||
"command": "python",
|
||||
"command": "/path/to/artemis/.venv/bin/python",
|
||||
"args": ["-m", "mcp_server"],
|
||||
"cwd": "/path/to/artemis"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user