@sherwoodagent/cli 0.75.0 → 0.76.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/dist/index.js CHANGED
@@ -3888,7 +3888,24 @@ async function verifyBinding(params) {
3888
3888
  return false;
3889
3889
  }
3890
3890
  }
3891
+ var robinhoodChain = {
3892
+ id: 4663,
3893
+ name: "Robinhood Chain",
3894
+ nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
3895
+ rpcUrls: { default: { http: ["https://rpc.mainnet.chain.robinhood.com"] } },
3896
+ blockExplorers: {
3897
+ default: {
3898
+ name: "Robinhood Chain Explorer",
3899
+ url: "https://explorer.mainnet.chain.robinhood.com"
3900
+ }
3901
+ }
3902
+ };
3903
+ var DEFAULT_ISSUING_CHAIN_ID = robinhoodChain.id;
3891
3904
  var ISSUING_CHAINS = {
3905
+ [robinhoodChain.id]: {
3906
+ chain: robinhoodChain,
3907
+ identityRegistry: "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
3908
+ },
3892
3909
  [base.id]: {
3893
3910
  chain: base,
3894
3911
  identityRegistry: "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432"
@@ -3908,6 +3925,7 @@ var OWNER_OF_ABI = [
3908
3925
  }
3909
3926
  ];
3910
3927
  var ISSUING_RPC_ENV = {
3928
+ [robinhoodChain.id]: "ROBINHOOD_RPC_URL",
3911
3929
  [base.id]: "BASE_RPC_URL",
3912
3930
  [baseSepolia.id]: "BASE_SEPOLIA_RPC_URL"
3913
3931
  };
@@ -4147,7 +4165,7 @@ function registerIdentityCommands(program2) {
4147
4165
  process.exit(1);
4148
4166
  }
4149
4167
  });
4150
- identity.command("link-virtuals").description("Link a Virtuals economyOS agent identity (ERC-8004 on Base) to this Sherwood install").option("--wallet <address>", "economyOS agent wallet (default: auto-detect via `acp wallet address`)").option("--agent-id <tokenId>", "ERC-8004 token ID on the issuing chain (default: resolve via Agent0 SDK)").option("--chain-id <id>", "Issuing chain ID (8453 = Base, 84532 = Base Sepolia)", "8453").option("--binding-sig <hex>", "EIP-191 signature of the binding message by the economyOS wallet").action(async (opts) => {
4168
+ identity.command("link-virtuals").description("Link a Virtuals economyOS agent identity (ERC-8004 on Base) to this Sherwood install").option("--wallet <address>", "economyOS agent wallet (default: auto-detect via `acp wallet address`)").option("--agent-id <tokenId>", "ERC-8004 token ID on the issuing chain (default: resolve via Agent0 SDK)").option("--chain-id <id>", "Issuing chain ID (4663 = Robinhood Chain, 8453 = Base, 84532 = Base Sepolia)", String(DEFAULT_ISSUING_CHAIN_ID)).option("--binding-sig <hex>", "EIP-191 signature of the binding message by the economyOS wallet").action(async (opts) => {
4151
4169
  const account = getAccount();
4152
4170
  const issuingChainId = parseInt(opts.chainId, 10);
4153
4171
  if (!ISSUING_CHAINS[issuingChainId]) {
@@ -9575,7 +9593,7 @@ try {
9575
9593
  } catch {
9576
9594
  }
9577
9595
  var require2 = createRequire(import.meta.url);
9578
- var CLI_VERSION = "0.75.0";
9596
+ var CLI_VERSION = "0.76.0";
9579
9597
  async function loadXmtp() {
9580
9598
  return import("./xmtp-OZ5PJFCT.js");
9581
9599
  }
@@ -10315,7 +10333,7 @@ fund.command("join").description("Request to join a fund (creates an EAS attesta
10315
10333
  const virtualsIdentity = getVirtualsIdentity();
10316
10334
  if (getIdentityProvider() === "virtuals" && virtualsIdentity) {
10317
10335
  joinMessage = appendVidTag(joinMessage, {
10318
- issuingChainId: getIdentityChainId() ?? 8453,
10336
+ issuingChainId: getIdentityChainId() ?? DEFAULT_ISSUING_CHAIN_ID,
10319
10337
  tokenId: BigInt(agentId),
10320
10338
  wallet: virtualsIdentity.wallet,
10321
10339
  signature: virtualsIdentity.binding?.sig ?? "self"