Skip to content

v2.0.0

Choose a tag to compare

@ryanio ryanio released this 21 Aug 20:03
· 1 commit to main since this release

What's Changed

Breaking

  • Removes the retired wallet-level agent designation: opensea accounts mark-agent and opensea accounts remove-agent are gone, along with client.accounts.markAgent and client.accounts.removeAgent on OpenSeaCLI. The endpoints they called no longer exist (ProjectOpenSea/os2-core#52946).
  • WalletAgentStatusResponse is no longer re-exported from types/api.

Added

  • A new agent command group: declare, withdraw, propose, confirm, revoke, list and profile, plus a matching client.agent namespace on OpenSeaCLI.

    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:wallets but agent list takes read:wallets, so drive the whole handshake with opensea login --scopes read:wallets,write:wallets. read:wallets is now in the default OAuth grant.

Internal

  • Hand-rolled API types replaced with the generated ones from @opensea/api-types.
  • type-check now covers the package's test/ directory through a tsconfig.check.json. It previously compiled src/ only, which hid a test importing WalletAdapter from 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