diff --git a/agent/package.json b/agent/package.json index 00db322f32..0bd91219c9 100644 --- a/agent/package.json +++ b/agent/package.json @@ -99,6 +99,7 @@ "@elizaos/plugin-quai": "workspace:*", "@elizaos/plugin-b2": "workspace:*", "@elizaos/plugin-nft-collections": "workspace:*", + "@elizaos/plugin-fuse": "workspace:*", "readline": "1.3.0", "ws": "8.18.0", "yargs": "17.7.2" @@ -110,4 +111,4 @@ "ts-node": "10.9.2", "tsup": "8.3.5" } -} \ No newline at end of file +} diff --git a/agent/src/index.ts b/agent/src/index.ts index 7ba4418bdf..3a829095aa 100644 --- a/agent/src/index.ts +++ b/agent/src/index.ts @@ -68,6 +68,7 @@ import { cronosZkEVMPlugin } from "@elizaos/plugin-cronoszkevm"; import { evmPlugin } from "@elizaos/plugin-evm"; import { flowPlugin } from "@elizaos/plugin-flow"; import { fuelPlugin } from "@elizaos/plugin-fuel"; +import { fusePlugin } from "@elizaos/plugin-fuse"; import { genLayerPlugin } from "@elizaos/plugin-genlayer"; import { giphyPlugin } from "@elizaos/plugin-giphy"; import { gitcoinPassportPlugin } from "@elizaos/plugin-gitcoin-passport"; @@ -109,7 +110,6 @@ import path from "path"; import { fileURLToPath } from "url"; import yargs from "yargs"; - const __filename = fileURLToPath(import.meta.url); // get the resolved path to the file const __dirname = path.dirname(__filename); // get the name of the directory @@ -930,6 +930,7 @@ export async function createAgent( getSecret(character, "RESERVOIR_API_KEY") ? createNFTCollectionsPlugin() : null, + getSecret(character, "FUSE_PRIVATE_KEY") ? fusePlugin : null, ].filter(Boolean), providers: [], actions: [],