@pincerclaw/agent
v0.1.0
Published
`pincer-agent` pairs with a deployed Pincer Worker, sends signed runtime calls, and submits adapter proposals.
Downloads
6
Readme
pincer-agent
pincer-agent pairs with a deployed Pincer Worker, sends signed runtime calls, and submits adapter proposals.
Fast Path
On the admin machine:
pincer-admin setupOn the OpenClaw host:
pincer-agent connect pincer-worker.example.workers.dev --code ABCD-1234Submit a proposal:
pincer-agent adapters propose --file ./manifest.jsonCall an activated adapter:
pincer-agent call <adapter_id> <action_name> --input '{"key":"value"}'Or load input from a file:
pincer-agent call <adapter_id> <action_name> --input-file ./payload.jsonLocal (No Global Link)
npm run pincer-agent -- connect <worker-host> --code <CODE>
npm run pincer-agent -- adapters propose --file ./manifest.json
npm run pincer-agent -- adapters validate --file ./manifest.json
npm run pincer-agent -- adapters list
npm run pincer-agent -- call <adapter> <action> --input '<json>'Credential Resolution
Credentials are resolved in this order:
- Environment variables (preferred when all three are set):
PINCER_WORKER_URLPINCER_RUNTIME_KEY(format:<keyId>.<keySecret>)PINCER_HMAC_SECRET
- Credentials file at
~/.pincer/credentials.json
Commands
connect <worker-host> --code <CODE>
- Exchanges pairing code via
POST /v1/connect. - Saves credentials.
- Verifies
/v1/health. - Installs OpenClaw skill at
~/.openclaw/skills/pincer/SKILL.md.
call <adapter> <action> [--input '<json>' | --input-file <path>]
- Validates input is a JSON object.
- Signs request with runtime key + HMAC headers.
- Sends
POST /v1/adapter/<adapter>/<action>.
adapters list [--json]
- Sends runtime-authenticated request to
GET /v1/adapters. - Returns enabled adapter IDs and action names.
adapters validate --file <path> [--json]
- Validates a manifest file locally.
- Does not require runtime credentials.
adapters propose (--manifest '<json>' | --file <path>)
- Validates manifest locally.
- Sends runtime-authenticated proposal to
POST /v1/adapters/proposals.
Troubleshooting
No credentials found- Run
pincer-agent connector setPINCER_*env vars.
- Run
Request failed (401/403)- Verify runtime key/HMAC.
- Run
pincer-admin doctor.
invalid_manifest- Validate required fields and schema constraints before proposing.
