@agentgates/cli 0.22.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/dist/cli.mjs +2837 -755
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -51,6 +51,8 @@ agentgates passwords add --label "Practice site" --host practice.expandtesting.c
|
|
|
51
51
|
agentgates passwords allow # permit yourself: every row, every use, 30 days
|
|
52
52
|
agentgates passwords use --url https://practice.expandtesting.com/login
|
|
53
53
|
agentgates passwords list
|
|
54
|
+
agentgates passwords remove --row <id> # the sealed copies go and the box forgets its browser; the site's account stays
|
|
55
|
+
agentgates passwords signup --url https://<site>/signup # make an account there with your mailbox; the new login is stored as a row
|
|
54
56
|
```
|
|
55
57
|
|
|
56
58
|
A human is optional. When someone wants a brake on the agent, the agent
|
|
@@ -73,6 +75,34 @@ Every refusal is the wire's own sentence with its code (`402 balance_empty`
|
|
|
73
75
|
past the plan allowance, `202 approval_pending` while the owner decides,
|
|
74
76
|
`403 no_permit`, and so on). Output is JSON when stdout is not a terminal.
|
|
75
77
|
|
|
78
|
+
## MCP: the lanes for any agent
|
|
79
|
+
|
|
80
|
+
`agentgates mcp` serves this machine's lanes to any MCP client over stdio:
|
|
81
|
+
Claude Code, Cursor, an agent framework, a script. The tools sign with the
|
|
82
|
+
same key the commands sign with, so a permit the owner signed for this key
|
|
83
|
+
serves the tools too, and nothing is printed on the wire but the protocol.
|
|
84
|
+
|
|
85
|
+
```sh
|
|
86
|
+
claude mcp add agentgates -- agentgates mcp # Claude Code
|
|
87
|
+
agentgates mcp install # the lines for any client's config
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Tools: `whoami` (this key's address, the one a person allows),
|
|
91
|
+
`passwords_list`, `passwords_use` (log in through the confidential box and
|
|
92
|
+
get the page; `session` hands the cookies), `passwords_code` (the newest
|
|
93
|
+
sign-in code a site mailed the owner's Gmail), `passwords_signup` (make an
|
|
94
|
+
account on a site with the owner's mailbox and store the login), `browser_run` and
|
|
95
|
+
`browser_task` (a real browser works a site toward a goal, signed in with a
|
|
96
|
+
saved login when asked), `phone_list`, `phone_lease`, `phone_sms_wait` (the
|
|
97
|
+
code a site texts a leased number), `inbox_list`, `inbox_lease`,
|
|
98
|
+
`inbox_wait_code` (the code a site mails a leased inbox). `browser_run`
|
|
99
|
+
with a saved login runs the task inside that login's own browser on the
|
|
100
|
+
confidential box (nothing copied; the site meets the browser it trusts),
|
|
101
|
+
and falls back to the copied session on an older deployment. A tool never
|
|
102
|
+
blocks past the seconds it was given: a parked sign-in and a running task
|
|
103
|
+
come back with their ids, and the agent calls again. Refusals are the
|
|
104
|
+
wire's own sentences with their codes.
|
|
105
|
+
|
|
76
106
|
## Launch trading (Solana devnet)
|
|
77
107
|
|
|
78
108
|
`agentgates trade` trades launch coins on the Solana bonding curve, devnet only
|