v2.0.0
What's Changed
Breaking
- Removes the retired wallet-level agent designation:
opensea accounts mark-agentandopensea accounts remove-agentare gone, along withclient.accounts.markAgentandclient.accounts.removeAgentonOpenSeaCLI. The endpoints they called no longer exist (ProjectOpenSea/os2-core#52946). WalletAgentStatusResponseis no longer re-exported fromtypes/api.
Added
-
A new
agentcommand group:declare,withdraw,propose,confirm,revoke,listandprofile, plus a matchingclient.agentnamespace onOpenSeaCLI.An agent is an account, not a flag on a wallet, and ownership is a relationship between two accounts that both confirm. It is a declaration and not an authorization: naming an account as your agent grants it no ability to act for you, and it is self-reported rather than verified by OpenSea. Only confirmed relationships are public.
The scopes differ: every write takes
write:walletsbutagent listtakesread:wallets, so drive the whole handshake withopensea login --scopes read:wallets,write:wallets.read:walletsis now in the default OAuth grant.
Internal
- Hand-rolled API types replaced with the generated ones from
@opensea/api-types. type-checknow covers the package'stest/directory through atsconfig.check.json. It previously compiledsrc/only, which hid a test importingWalletAdapterfrom a module that does not exist: vitest erases types, so the suite passed.
Full Changelog: ProjectOpenSea/opensea-devtools@cli-v1.18.0...cli-v2.0.0