feat: composio_parse.py - parse secrets via Instant Exa + claim starter credit notes
This commit is contained in:
@@ -22,6 +22,31 @@ Pure HTTP replay dies in three places:
|
||||
A real Chrome (headless=False) walks through all three by itself. `wave.py` only fills fields,
|
||||
types the OTP and clicks the skip button.
|
||||
|
||||
## Parsing through Composio itself
|
||||
|
||||
`composio_parse.py` uses the account's **Instant** allowance instead of any external API key:
|
||||
|
||||
1. `EXA_SEARCH` (max 10 results, **no content add-ons** in Instant mode) -> URLs
|
||||
2. `EXA_GET_CONTENTS_ACTION` with `text: true` -> full page text ($0.001 per call, charged from the $2 starter credit)
|
||||
3. local regex over the returned text -> `parsed_keys.json`
|
||||
|
||||
Prerequisites: the $2 starter credit must be **claimed**, otherwise `COMPOSIO_MULTI_EXECUTE_TOOL` answers
|
||||
"The user's Composio wallet is out of credits, so Instant calls are paused". Claim it from the browser
|
||||
session with the tRPC mutation:
|
||||
|
||||
```
|
||||
POST /api/trpc/consumer.wallet.claimStarterCredit?batch=1
|
||||
body {"0":{"json":{"orgId":"<ok_... from starterCreditStatus input>"}}}
|
||||
-> {"status":"granted","amount_cents":200}
|
||||
```
|
||||
|
||||
Multi-tool calls take `arguments`, not `params`; `params` is silently dropped and the upstream reports
|
||||
"missing field 'query'".
|
||||
|
||||
Reality check: Exa Instant is semantic search, not a code index. It returns public write-ups, `.env.example`
|
||||
files and masked snippets, so yield is low (2 hits per 6 queries x 8 pages). Use it for targeted follow-up on
|
||||
specific gists/repos, not as a replacement for GitHub code search with aged PATs.
|
||||
|
||||
## Where to use the keys
|
||||
See [USAGE.md](USAGE.md): MCP clients (Claude Code / Codex / Cursor / Hermes / n8n), raw curl tools/call,
|
||||
pool layout across accounts, and concrete scenarios (mail, CRM, dev tickets, docs, research, media, infra).
|
||||
@@ -33,6 +58,7 @@ pool layout across accounts, and concrete scenarios (mail, CRM, dev tickets, doc
|
||||
| `wave.py` | farm N accounts: signup -> OTP -> passkey skip -> key -> bank |
|
||||
| `login_one.py` | single existing account: login -> skip -> key (debug/recovery) |
|
||||
| `verify_key.py` | check keys against `https://connect.composio.dev/mcp` |
|
||||
| `composio_parse.py` | parse secrets via Composio Instant Exa (search -> contents -> regex) |
|
||||
| `USAGE.md` | where and how to apply the keys |
|
||||
|
||||
## Install
|
||||
|
||||
Reference in New Issue
Block a user