diff --git a/bun.lockb b/bun.lockb deleted file mode 100755 index 862f5ae26d9..00000000000 Binary files a/bun.lockb and /dev/null differ diff --git a/packages/plugin-anthropic/package.json b/packages/plugin-anthropic/package.json index 1771a5ea1ff..bf4d6cde0d8 100644 --- a/packages/plugin-anthropic/package.json +++ b/packages/plugin-anthropic/package.json @@ -18,9 +18,10 @@ "dist" ], "dependencies": { + "@ai-sdk/anthropic": "^1.1.6", "@elizaos/core": "workspace:*", - "zod": "3.21.4", - "tsup": "8.3.5" + "tsup": "8.3.5", + "zod": "3.21.4" }, "scripts": { "build": "tsup --format esm --dts", @@ -37,12 +38,12 @@ "zod": "3.24.1" }, "agentConfig": { - "pluginType": "elizaos:plugin:1.0.0", - "pluginParameters": { - "ANTHROPIC_API_KEY": { - "type": "string", - "description": "API key for the service" - } - } + "pluginType": "elizaos:plugin:1.0.0", + "pluginParameters": { + "ANTHROPIC_API_KEY": { + "type": "string", + "description": "API key for the service" + } + } } } diff --git a/packages/plugin-telegram/src/index.ts b/packages/plugin-telegram/src/index.ts index ae30b8d1716..acdb32b03c8 100644 --- a/packages/plugin-telegram/src/index.ts +++ b/packages/plugin-telegram/src/index.ts @@ -1,11 +1,13 @@ import { logger, + type Client, + type IAgentRuntime, type Plugin, } from "@elizaos/core"; -import type { Client, IAgentRuntime } from "@elizaos/core"; import { TelegramClient } from "./telegramClient.ts"; import { validateTelegramConfig } from "./environment.ts"; + const TelegramClientInterface: Client = { name: 'telegram', start: async (runtime: IAgentRuntime) => {