mirror of
https://github.com/omnara-ai/omnara.git
synced 2025-08-12 20:39:09 +03:00
docs: share simplified CLI
This commit is contained in:
15
README.md
15
README.md
@@ -232,12 +232,17 @@ Monitor your Claude Code sessions in real-time:
|
||||
Launch Claude Code remotely from your phone or web browser:
|
||||
|
||||
1. **Download the app** or visit [omnara.ai](https://omnara.ai)
|
||||
2. **Start the webhook server** on your computer:
|
||||
2. **Install Omnara CLI**:
|
||||
```bash
|
||||
python -m webhooks.claude_code --cloudflare-tunnel
|
||||
pip install omnara
|
||||
# or with uv: uv pip install omnara
|
||||
```
|
||||
3. **Create your agent** with the webhook URL and API key shown
|
||||
4. **Trigger agents remotely** from anywhere!
|
||||
3. **Start the webhook server** on your computer:
|
||||
```bash
|
||||
omnara serve
|
||||
```
|
||||
4. **Create your agent** with the webhook URL and API key shown
|
||||
5. **Trigger agents remotely** from anywhere!
|
||||
|
||||
### For Developers
|
||||
|
||||
@@ -322,7 +327,7 @@ For remote agent launching, the webhook automatically configures MCP:
|
||||
"mcpServers": {
|
||||
"omnara": {
|
||||
"command": "pipx",
|
||||
"args": ["run", "--no-cache", "omnara", "--stdio", "--api-key", "YOUR_API_KEY"]
|
||||
"args": ["run", "--no-cache", "omnara", "mcp", "--api-key", "YOUR_API_KEY"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ function createServerConfig(
|
||||
default:
|
||||
return {
|
||||
command: "pipx",
|
||||
args: ["run", "--no-cache", "omnara", "--stdio", "--api-key", apiKey],
|
||||
args: ["run", "--no-cache", "omnara", "mcp", "--api-key", apiKey],
|
||||
env: {
|
||||
OMNARA_CLIENT_TYPE: client
|
||||
},
|
||||
|
||||
@@ -956,7 +956,10 @@ if __name__ == "__main__":
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||
epilog="""
|
||||
Examples:
|
||||
# Run webhook server
|
||||
# Run webhook server (NEW - recommended way)
|
||||
omnara serve
|
||||
|
||||
# Old way (still works):
|
||||
python -m webhooks.claude_code
|
||||
|
||||
# Run with Cloudflare tunnel for external access
|
||||
@@ -967,6 +970,9 @@ Examples:
|
||||
|
||||
# Run on a custom port
|
||||
python -m webhooks.claude_code --port 8080
|
||||
|
||||
Note: 'omnara serve' is the new recommended way to run the webhook server.
|
||||
It automatically includes Cloudflare tunnel and simplifies the setup.
|
||||
""",
|
||||
)
|
||||
parser.add_argument(
|
||||
|
||||
Reference in New Issue
Block a user