diff --git a/.agents/skills/omniclaw-cli/SKILL.md b/.agents/skills/omniclaw-cli/SKILL.md index b7fefc7..18c1db6 100644 --- a/.agents/skills/omniclaw-cli/SKILL.md +++ b/.agents/skills/omniclaw-cli/SKILL.md @@ -40,7 +40,14 @@ omniclaw-cli ping ## Configuration (one-time setup) -Before using any payment commands, you must configure the CLI with your server details: +**IMPORTANT:** Your owner must provide these values before your session starts. Do NOT look for them yourself - ask your owner if they are missing. + +Your owner gives you: +- `--server-url`: OmniClaw server URL (e.g., `https://api.omniclaw.com` or `http://localhost:8080`) +- `--token`: Your scoped agent token (from your owner) +- `--wallet`: Your wallet alias (e.g., `primary`) + +**Configure the CLI:** ```bash omniclaw-cli configure \ @@ -49,17 +56,14 @@ omniclaw-cli configure \ --wallet ``` -**Where to get these values:** -- `--server-url`: Your OmniClaw server URL (e.g., `https://api.omniclaw.com` or `http://localhost:8080`) -- `--token`: Your scoped agent token (from your owner) -- `--wallet`: Your wallet alias (e.g., `primary`) - **Verify configuration:** ```bash omniclaw-cli configure --show ``` +**If credentials are missing:** Stop and ask your owner. Do not proceed without them. + --- ## Verify Setup diff --git a/README.md b/README.md index d6b9c62..e05d706 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,30 @@ uv sync --extra dev ## Quick Start +### For Agents Using the CLI + +```bash +pip install omniclaw +omniclaw-cli configure --server-url --token --wallet primary +``` + +### For Owners Running the Server + +```bash +# Clone and start +git clone https://github.com/omniclaw/omniclaw.git +cd omniclaw +docker-compose up -d + +# Server runs at http://localhost:8088 +``` + +**Required environment variables:** +``` +CIRCLE_API_KEY=your_circle_api_key +ENTITY_SECRET=your_entity_secret +``` + 1. Create a `.env` file: ``` diff --git a/build.sh b/build.sh index d81a385..0d5bcb5 100755 --- a/build.sh +++ b/build.sh @@ -21,7 +21,7 @@ echo "Running release-oriented SDK checks..." uv run pytest tests/test_setup.py tests/test_payment_intents.py tests/test_client.py tests/test_webhook_verification.py echo "Building sdist and wheel..." -uv run python -m build +uv run python3 -m build echo "Validating package metadata..." uv run twine check dist/* diff --git a/pyproject.toml b/pyproject.toml index 0756d53..cbde67c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -91,6 +91,7 @@ omniclaw-cli = "omniclaw.cli_agent:main" [dependency-groups] dev = [ + "build>=1.4.0", "python-dotenv>=1.2.1", "uvicorn>=0.42.0", ] diff --git a/uv.lock b/uv.lock index 2c68d92..968404d 100644 --- a/uv.lock +++ b/uv.lock @@ -2123,6 +2123,7 @@ dev = [ [package.dev-dependencies] dev = [ + { name = "build" }, { name = "python-dotenv" }, { name = "uvicorn" }, ] @@ -2158,6 +2159,7 @@ provides-extras = ["dev"] [package.metadata.requires-dev] dev = [ + { name = "build", specifier = ">=1.4.0" }, { name = "python-dotenv", specifier = ">=1.2.1" }, { name = "uvicorn", specifier = ">=0.42.0" }, ]