diff --git a/README.md b/README.md index 9c4949c0263..06a538b21dd 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ ## 🌍 README Translations -[中文说明](./README_CN.md) | [日本語の説明](./README_JA.md) | [한국어 설명](./README_KOR.md) | [Français](./README_FR.md) | [Português](./README_PTBR.md) | [Türkçe](./README_TR.md) | [Русский](./README_RU.md) | [Español](./README_ES.md) | [Italiano](./README_IT.md) | [ไทย](./README_TH.md) | [Deutsch](./README_DE.md) | [Tiếng Việt](./README_VI.md) | [עִברִית](https://github.com/elizaos/Elisa/blob/main/README_HE.md) | [Tagalog](./README_TG.md) | [Polski](./README_PL.md) | [Arabic](./README_AR.md) | [Hungarian](./README_HU.md) | [Srpski](./README_RS.md) | [Română](./README_RO.md) | [Nederlands](./README_NL.md) +[中文说明](./README_CN.md) | [日本語の説明](./README_JA.md) | [한국어 설명](./README_KOR.md) | [Persian](./README_FA.md) | [Français](./README_FR.md) | [Português](./README_PTBR.md) | [Türkçe](./README_TR.md) | [Русский](./README_RU.md) | [Español](./README_ES.md) | [Italiano](./README_IT.md) | [ไทย](./README_TH.md) | [Deutsch](./README_DE.md) | [Tiếng Việt](./README_VI.md) | [עִברִית](https://github.com/elizaos/Elisa/blob/main/README_HE.md) | [Tagalog](./README_TG.md) | [Polski](./README_PL.md) | [Arabic](./README_AR.md) | [Hungarian](./README_HU.md) | [Srpski](./README_RS.md) | [Română](./README_RO.md) | [Nederlands](./README_NL.md) ## 🚩 Overview diff --git a/README_FA.md b/README_FA.md new file mode 100644 index 00000000000..cfc386f4cd3 --- /dev/null +++ b/README_FA.md @@ -0,0 +1,147 @@ +# الیزا 🤖 + +
+ الیزا بنر +
+ +
+ +📖 [مستندات](https://elizaos.github.io/eliza/) | 🎯 [نمونه‌ها](https://github.com/thejoven/awesome-eliza) + +
+ +## 🚩 معرفی کلی + +
+ نمودار الیزا +
+ +## ✨ ویژگی‌ها + +- 🛠️ پشتیبانی کامل از اتصال به دیسکورد، توییتر و تلگرام +- 🔗 سازگاری با همه مدل‌ها (Llama، Grok، OpenAI، Anthropic و غیره) +- 👥 پشتیبانی از چند عامل و چند اتاق +- 📚 مدیریت و تعامل آسان با اسناد شما +- 💾 حافظه و ذخیره‌سازی اسناد قابل بازیابی +- 🚀 بسیار قابل گسترش - امکان ایجاد اکشن‌ها و کلاینت‌های سفارشی +- ☁️ پشتیبانی از مدل‌های مختلف (local Llama, OpenAI، Anthropic, etc. ) +- 📦 به سادگی کار می‌کند! + +## آموزش‌های ویدیویی + +[AI Agent Dev School](https://www.youtube.com/watch?v=ArptLpQiKfI&list=PLx5pnFXdPTRzWla0RaOxALTSTnVq53fKL) + +## 🎯 موارد استفاده + +- 🤖 چت‌بات‌ها +- 🕵️ عوامل خودکار +- 📈 مدیریت فرآیندهای کسب‌وکار +- 🎮 کاراکترهای بازی‌های ویدیویی +- 🧠 معاملات تجاری + +## 🚀 شروع سریع + +### پیش‌نیازها + +- [Python 2.7+](https://www.python.org/downloads/) +- [Node.js 23+](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) +- [pnpm](https://pnpm.io/installation) + +> **توجه برای کاربران ویندوز:** [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install-manual) لازم است. + +### استفاده از پروژه آغازین (توصیه‌شده) + +```bash +git clone https://github.com/elizaos/eliza-starter.git +cd eliza-starter +cp .env.example .env +pnpm i && pnpm build && pnpm start +``` + +پس از اجرای عامل، باید پیامی برای اجرای "pnpm start:client" دریافت کنید. +یک ترمینال جدید باز کنید و به همان دایرکتوری رفته و دستور زیر را اجرا کنید تا با عامل خود گفتگو کنید: + +```bash +pnpm start:client +``` + +سپس [مستندات](https://elizaos.github.io/eliza/) را مطالعه کنید تا بیاموزید چگونه الیزا را سفارشی کنید. + +### اجرای دستی الیزا (فقط در صورتی که تخصص دارید توصیه می‌شود) + +```bash +# کلون کردن مخزن +git clone https://github.com/elizaos/eliza.git + +# انتخاب آخرین نسخه پایدار +# این پروژه سریع به‌روزرسانی می‌شود، پیشنهاد می‌کنیم آخرین نسخه پایدار را انتخاب کنید +git checkout $(git describe --tags --abbrev=0) +# اگر دستور بالا آخرین نسخه را انتخاب نکرد، این دستور را امتحان کنید: +# git checkout $(git describe --tags `git rev-list --tags --max-count=1`) +``` + +### اجرای الیزا با Gitpod + +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/elizaos/eliza/tree/main) + +### ویرایش فایل .env + +یک کپی از .env.example بگیرید و مقادیر مناسب را وارد کنید: + +``` +cp .env.example .env +``` + +توجه: فایل .env اختیاری است. اگر قصد دارید چندین عامل متمایز اجرا کنید، می‌توانید اطلاعات محرمانه را از طریق فایل JSON شخصیت انتقال دهید. + +### شروع خودکار الیزا + +این دستور همه مراحل راه‌اندازی پروژه را انجام داده و بات را با شخصیت پیش‌فرض اجرا می‌کند: + +```bash +sh scripts/start.sh +``` + +### ویرایش فایل شخصیت + +1. فایل `packages/core/src/defaultCharacter.ts` را باز کنید تا شخصیت پیش‌فرض را تغییر دهید. تغییرات لازم را انجام دهید. +2. برای بارگذاری شخصیت‌های سفارشی: + - از دستور `pnpm start --characters="path/to/your/character.json"` استفاده کنید. + - چندین فایل شخصیت می‌توانند همزمان بارگذاری شوند. +3. اتصال به توییتر (X): + - مقدار `"clients": []` را به `"clients": ["twitter"]` در فایل شخصیت تغییر دهید. + +### اجرای دستی الیزا + +```bash +pnpm i +pnpm build +pnpm start + +# اگر پروژه به دلیل تغییرات سریع نیاز به پاکسازی داشت، دستور زیر را اجرا کنید: +pnpm clean +``` + +#### نیازمندی‌های اضافی + +ممکن است نیاز به نصب Sharp باشد. اگر هنگام راه‌اندازی خطایی دیدید، دستور زیر را اجرا کنید: + +``` +pnpm install --include=optional sharp +``` + +### انجمن و تماس + +- [مشکلات در GitHub](https://github.com/elizaos/eliza/issues). بهترین گزینه برای گزارش باگ‌ها و پیشنهاد ویژگی‌ها. +- [Discord](https://discord.gg/ai16z). بهترین گزینه برای به اشتراک گذاشتن برنامه‌های شما و ارتباط با جامعه. + +## مشارکت‌کنندگان + + + + + +## تاریخچه ستاره‌ها + +[![Star History Chart](https://api.star-history.com/svg?repos=elizaos/eliza&type=Date)](https://star-history.com/#elizaos/eliza&Date) + diff --git a/agent/package.json b/agent/package.json index c52b837a8bc..27aee4c3404 100644 --- a/agent/package.json +++ b/agent/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/agent", - "version": "0.1.7", + "version": "0.1.8+build.1", "main": "src/index.ts", "type": "module", "scripts": { @@ -55,7 +55,7 @@ "@elizaos/plugin-image-generation": "workspace:*", "@elizaos/plugin-movement": "workspace:*", "@elizaos/plugin-massa": "workspace:*", - "@elizaos/plugin-nft-generation": "workspace:*", + "@elizaos/plugin-nft-generation": "workspace:*", "@elizaos/plugin-node": "workspace:*", "@elizaos/plugin-solana": "workspace:*", "@elizaos/plugin-solana-agentkit": "workspace:*", diff --git a/client/src/lib/info.json b/client/src/lib/info.json index 5b4fed4ae08..de0516e20d6 100644 --- a/client/src/lib/info.json +++ b/client/src/lib/info.json @@ -1 +1 @@ -{"version": "0.1.7"} +{"version": "0.1.8+build.1"} diff --git a/docs/package.json b/docs/package.json index 4b5d443ce69..07a265458d5 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "eliza-docs", - "version": "0.1.7", + "version": "0.1.8+build.1", "private": true, "packageManager": "pnpm@9.4.0", "scripts": { diff --git a/lerna.json b/lerna.json index b03a6a059cf..c772c6adb2a 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.1.7", + "version": "0.1.8+build.1", "packages": [ "packages/*", "docs", diff --git a/packages/adapter-pglite/package.json b/packages/adapter-pglite/package.json index 7f7167333e1..6bd9cff0112 100644 --- a/packages/adapter-pglite/package.json +++ b/packages/adapter-pglite/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/adapter-pglite", - "version": "0.1.7-alpha.2", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/adapter-postgres/migrations/20240318103238_remote_schema.sql b/packages/adapter-postgres/migrations/20240318103238_remote_schema.sql index 2867a12aea6..30b0854ce3d 100644 --- a/packages/adapter-postgres/migrations/20240318103238_remote_schema.sql +++ b/packages/adapter-postgres/migrations/20240318103238_remote_schema.sql @@ -21,7 +21,7 @@ BEGIN FROM pg_extension WHERE extname = 'vector' ) THEN - CREATE EXTENSION vector + CREATE EXTENSION vector IF NOT EXISTS SCHEMA extensions; END IF; END $$; @@ -33,7 +33,7 @@ BEGIN FROM pg_extension WHERE extname = 'fuzzystrmatch' ) THEN - CREATE EXTENSION fuzzystrmatch + CREATE EXTENSION fuzzystrmatch IF NOT EXISTS SCHEMA extensions; END IF; END $$; diff --git a/packages/adapter-postgres/package.json b/packages/adapter-postgres/package.json index 4f58661a795..37240661bfd 100644 --- a/packages/adapter-postgres/package.json +++ b/packages/adapter-postgres/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/adapter-postgres", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/adapter-redis/package.json b/packages/adapter-redis/package.json index 055460a270a..fdd3b2d18ad 100644 --- a/packages/adapter-redis/package.json +++ b/packages/adapter-redis/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/adapter-redis", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/adapter-sqlite/package.json b/packages/adapter-sqlite/package.json index 74642dee834..8b45f36b5b2 100644 --- a/packages/adapter-sqlite/package.json +++ b/packages/adapter-sqlite/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/adapter-sqlite", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/adapter-sqljs/package.json b/packages/adapter-sqljs/package.json index 967c00a44cb..3c2661a1682 100644 --- a/packages/adapter-sqljs/package.json +++ b/packages/adapter-sqljs/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/adapter-sqljs", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/adapter-supabase/package.json b/packages/adapter-supabase/package.json index 9c267b86a4b..f1785ef9746 100644 --- a/packages/adapter-supabase/package.json +++ b/packages/adapter-supabase/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/adapter-supabase", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/client-auto/package.json b/packages/client-auto/package.json index dc0fd9b22b3..6ee732d0851 100644 --- a/packages/client-auto/package.json +++ b/packages/client-auto/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/client-auto", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/client-direct/package.json b/packages/client-direct/package.json index 601977609c2..048b2049a6f 100644 --- a/packages/client-direct/package.json +++ b/packages/client-direct/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/client-direct", - "version": "0.1.7", + "version": "0.1.8+build.1", "main": "dist/index.js", "module": "dist/index.js", "type": "module", diff --git a/packages/client-discord/package.json b/packages/client-discord/package.json index 49f7ac89e53..9414c99c7b9 100644 --- a/packages/client-discord/package.json +++ b/packages/client-discord/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/client-discord", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/client-farcaster/package.json b/packages/client-farcaster/package.json index ceb30f634db..5da998b55c1 100644 --- a/packages/client-farcaster/package.json +++ b/packages/client-farcaster/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/client-farcaster", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/client-github/package.json b/packages/client-github/package.json index 9859b5708ec..27c19428132 100644 --- a/packages/client-github/package.json +++ b/packages/client-github/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/client-github", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/client-lens/package.json b/packages/client-lens/package.json index 186e45cc745..5c51296bf6c 100644 --- a/packages/client-lens/package.json +++ b/packages/client-lens/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/client-lens", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/client-slack/package.json b/packages/client-slack/package.json index 98bb8c05ddd..bdeccf37b5d 100644 --- a/packages/client-slack/package.json +++ b/packages/client-slack/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/client-slack", - "version": "0.1.7", + "version": "0.1.8+build.1", "description": "Slack client plugin for Eliza framework", "type": "module", "main": "dist/index.js", diff --git a/packages/client-telegram/package.json b/packages/client-telegram/package.json index 83277b76f3e..622c2d2ba6a 100644 --- a/packages/client-telegram/package.json +++ b/packages/client-telegram/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/client-telegram", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/client-twitter/package.json b/packages/client-twitter/package.json index 88e51d6d09a..566cb86d7d0 100644 --- a/packages/client-twitter/package.json +++ b/packages/client-twitter/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/client-twitter", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/client-twitter/src/utils.ts b/packages/client-twitter/src/utils.ts index 7f5be1cb5ca..0f2c125ed12 100644 --- a/packages/client-twitter/src/utils.ts +++ b/packages/client-twitter/src/utils.ts @@ -412,19 +412,19 @@ function deduplicateMentions(paragraph: string) { } // Extract mentions from the match groups - let mentions = matches.slice(1).filter(Boolean) as string[]; + let mentions = matches.slice(0, 1)[0].trim().split(' ') // Deduplicate mentions mentions = [...new Set(mentions)]; // Reconstruct the string with deduplicated mentions - const uniqueMentionsString = `@${mentions.join(' ')}`; + const uniqueMentionsString = mentions.join(' '); // Find where the mentions end in the original string const endOfMentions = paragraph.indexOf(matches[0]) + matches[0].length; // Construct the result by combining unique mentions with the rest of the string - return uniqueMentionsString + paragraph.slice(endOfMentions); + return uniqueMentionsString + ' ' + paragraph.slice(endOfMentions); } function restoreUrls( @@ -454,4 +454,4 @@ function splitParagraph(paragraph: string, maxLength: number): string[] { const restoredChunks = restoreUrls(splittedChunks, placeholderMap); return restoredChunks; -} \ No newline at end of file +} diff --git a/packages/core/package.json b/packages/core/package.json index ccea2942a4b..8aa76e07d7c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/core", - "version": "0.1.7", + "version": "0.1.8+build.1", "description": "", "type": "module", "main": "dist/index.js", diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index 2c958c6993e..3184f53f660 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -261,6 +261,7 @@ export enum ModelProviderName { NINETEEN_AI = "nineteen_ai", AKASH_CHAT_API = "akash_chat_api", LIVEPEER = "livepeer", + LETZAI = "letzai", DEEPSEEK="deepseek", INFERA="infera" } diff --git a/packages/create-eliza-app/package.json b/packages/create-eliza-app/package.json index 1fc01090aaf..5b4bf39fbf6 100644 --- a/packages/create-eliza-app/package.json +++ b/packages/create-eliza-app/package.json @@ -1,6 +1,6 @@ { "name": "create-eliza-app", - "version": "0.1.7", + "version": "0.1.8+build.1", "description": "", "sideEffects": false, "files": [ diff --git a/packages/plugin-0g/package.json b/packages/plugin-0g/package.json index 757328f725d..13d3579cd50 100644 --- a/packages/plugin-0g/package.json +++ b/packages/plugin-0g/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-0g", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-0g/src/actions/upload.ts b/packages/plugin-0g/src/actions/upload.ts index cb24317a516..13b72f1652b 100644 --- a/packages/plugin-0g/src/actions/upload.ts +++ b/packages/plugin-0g/src/actions/upload.ts @@ -8,12 +8,15 @@ import { Content, ActionExample, generateObject, + elizaLogger, } from "@elizaos/core"; import { Indexer, ZgFile, getFlowContract } from "@0glabs/0g-ts-sdk"; import { ethers } from "ethers"; import { composeContext } from "@elizaos/core"; import { promises as fs } from "fs"; - +import { FileSecurityValidator } from "../utils/security"; +import { logSecurityEvent, monitorUpload, monitorFileValidation, monitorCleanup } from '../utils/monitoring'; +import path from 'path'; import { uploadTemplate } from "../templates/upload"; export interface UploadContent extends Content { @@ -24,7 +27,7 @@ function isUploadContent( _runtime: IAgentRuntime, content: any ): content is UploadContent { - console.log("Content for upload", content); + elizaLogger.debug("Validating upload content", { content }); return typeof content.filePath === "string"; } @@ -41,12 +44,76 @@ export const zgUpload: Action = { ], description: "Store data using 0G protocol", validate: async (runtime: IAgentRuntime, message: Memory) => { - const zgIndexerRpc = !!runtime.getSetting("ZEROG_INDEXER_RPC"); - const zgEvmRpc = !!runtime.getSetting("ZEROG_EVM_RPC"); - const zgPrivateKey = !!runtime.getSetting("ZEROG_PRIVATE_KEY"); - const flowAddr = !!runtime.getSetting("ZEROG_FLOW_ADDRESS"); - return zgIndexerRpc && zgEvmRpc && zgPrivateKey && flowAddr; + elizaLogger.debug("Starting ZG_UPLOAD validation", { messageId: message.id }); + + try { + const settings = { + indexerRpc: runtime.getSetting("ZEROG_INDEXER_RPC"), + evmRpc: runtime.getSetting("ZEROG_EVM_RPC"), + privateKey: runtime.getSetting("ZEROG_PRIVATE_KEY"), + flowAddr: runtime.getSetting("ZEROG_FLOW_ADDRESS") + }; + + elizaLogger.debug("Checking ZeroG settings", { + hasIndexerRpc: Boolean(settings.indexerRpc), + hasEvmRpc: Boolean(settings.evmRpc), + hasPrivateKey: Boolean(settings.privateKey), + hasFlowAddr: Boolean(settings.flowAddr) + }); + + const hasRequiredSettings = Object.entries(settings).every(([key, value]) => Boolean(value)); + + if (!hasRequiredSettings) { + const missingSettings = Object.entries(settings) + .filter(([_, value]) => !value) + .map(([key]) => key); + + elizaLogger.error("Missing required ZeroG settings", { + missingSettings, + messageId: message.id + }); + return false; + } + + const config = { + maxFileSize: parseInt(runtime.getSetting("ZEROG_MAX_FILE_SIZE") || "10485760"), + allowedExtensions: runtime.getSetting("ZEROG_ALLOWED_EXTENSIONS")?.split(",") || [".pdf", ".png", ".jpg", ".jpeg", ".doc", ".docx"], + uploadDirectory: runtime.getSetting("ZEROG_UPLOAD_DIR") || "/tmp/zerog-uploads", + enableVirusScan: runtime.getSetting("ZEROG_ENABLE_VIRUS_SCAN") === "true" + }; + + // Validate config values + if (isNaN(config.maxFileSize) || config.maxFileSize <= 0) { + elizaLogger.error("Invalid ZEROG_MAX_FILE_SIZE setting", { + value: runtime.getSetting("ZEROG_MAX_FILE_SIZE"), + messageId: message.id + }); + return false; + } + + if (!config.allowedExtensions || config.allowedExtensions.length === 0) { + elizaLogger.error("Invalid ZEROG_ALLOWED_EXTENSIONS setting", { + value: runtime.getSetting("ZEROG_ALLOWED_EXTENSIONS"), + messageId: message.id + }); + return false; + } + + elizaLogger.info("ZG_UPLOAD action settings validated", { + config, + messageId: message.id + }); + return true; + } catch (error) { + elizaLogger.error("Error validating ZG_UPLOAD settings", { + error: error instanceof Error ? error.message : String(error), + stack: error instanceof Error ? error.stack : undefined, + messageId: message.id + }); + return false; + } }, + handler: async ( runtime: IAgentRuntime, message: Memory, @@ -54,90 +121,358 @@ export const zgUpload: Action = { _options: any, callback: HandlerCallback ) => { - console.log("ZG_UPLOAD action called"); - if (!state) { - state = (await runtime.composeState(message)) as State; - } else { - state = await runtime.updateRecentMessageState(state); - } - - // Compose upload context - const uploadContext = composeContext({ - state, - template: uploadTemplate, + elizaLogger.info("ZG_UPLOAD action started", { + messageId: message.id, + hasState: Boolean(state), + hasCallback: Boolean(callback) }); - // Generate upload content - const content = await generateObject({ - runtime, - context: uploadContext, - modelClass: ModelClass.LARGE, - }); + let file: ZgFile | undefined; + let cleanupRequired = false; - // Validate upload content - if (!isUploadContent(runtime, content)) { - console.error("Invalid content for UPLOAD action."); - if (callback) { - callback({ - text: "Unable to process 0G upload request. Invalid content provided.", - content: { error: "Invalid upload content" }, + try { + // Update state if needed + if (!state) { + elizaLogger.debug("No state provided, composing new state"); + state = (await runtime.composeState(message)) as State; + } else { + elizaLogger.debug("Updating existing state"); + state = await runtime.updateRecentMessageState(state); + } + + // Compose upload context + elizaLogger.debug("Composing upload context"); + const uploadContext = composeContext({ + state, + template: uploadTemplate, + }); + + // Generate upload content + elizaLogger.debug("Generating upload content"); + const content = await generateObject({ + runtime, + context: uploadContext, + modelClass: ModelClass.LARGE, + }); + + // Validate upload content + if (!isUploadContent(runtime, content)) { + const error = "Invalid content for UPLOAD action"; + elizaLogger.error(error, { + content, + messageId: message.id }); + if (callback) { + callback({ + text: "Unable to process 0G upload request. Invalid content provided.", + content: { error } + }); + } + return false; } - return false; - } - try { - const zgIndexerRpc = runtime.getSetting("ZEROG_INDEXER_RPC"); - const zgEvmRpc = runtime.getSetting("ZEROG_EVM_RPC"); - const zgPrivateKey = runtime.getSetting("ZEROG_PRIVATE_KEY"); - const flowAddr = runtime.getSetting("ZEROG_FLOW_ADDRESS"); const filePath = content.filePath; + elizaLogger.debug("Extracted file path", { filePath, content }); + if (!filePath) { - console.error("File path is required"); + const error = "File path is required"; + elizaLogger.error(error, { messageId: message.id }); + if (callback) { + callback({ + text: "File path is required for upload.", + content: { error } + }); + } return false; } - // Check if file exists and is accessible + // Initialize security validator + const securityConfig = { + maxFileSize: parseInt(runtime.getSetting("ZEROG_MAX_FILE_SIZE") || "10485760"), + allowedExtensions: runtime.getSetting("ZEROG_ALLOWED_EXTENSIONS")?.split(",") || [".pdf", ".png", ".jpg", ".jpeg", ".doc", ".docx"], + uploadDirectory: runtime.getSetting("ZEROG_UPLOAD_DIR") || "/tmp/zerog-uploads", + enableVirusScan: runtime.getSetting("ZEROG_ENABLE_VIRUS_SCAN") === "true" + }; + + let validator: FileSecurityValidator; try { - await fs.access(filePath); + elizaLogger.debug("Initializing security validator", { + config: securityConfig, + messageId: message.id + }); + validator = new FileSecurityValidator(securityConfig); } catch (error) { - console.error( - `File ${filePath} does not exist or is not accessible:`, - error - ); + const errorMessage = `Security validator initialization failed: ${error instanceof Error ? error.message : String(error)}`; + elizaLogger.error(errorMessage, { + config: securityConfig, + messageId: message.id + }); + if (callback) { + callback({ + text: "Upload failed: Security configuration error.", + content: { error: errorMessage } + }); + } return false; } - const file = await ZgFile.fromFilePath(filePath); - var [tree, err] = await file.merkleTree(); - if (err === null) { - console.log("File Root Hash: ", tree.rootHash()); - } else { - console.log("Error getting file root hash: ", err); + // Validate file type + elizaLogger.debug("Starting file type validation", { filePath }); + const typeValidation = await validator.validateFileType(filePath); + monitorFileValidation(filePath, "file_type", typeValidation.isValid, { + error: typeValidation.error + }); + if (!typeValidation.isValid) { + const error = "File type validation failed"; + elizaLogger.error(error, { + error: typeValidation.error, + filePath, + messageId: message.id + }); + if (callback) { + callback({ + text: `Upload failed: ${typeValidation.error}`, + content: { error: typeValidation.error } + }); + } return false; } - const provider = new ethers.JsonRpcProvider(zgEvmRpc); - const signer = new ethers.Wallet(zgPrivateKey, provider); - const indexer = new Indexer(zgIndexerRpc); - const flowContract = getFlowContract(flowAddr, signer); - - var [tx, err] = await indexer.upload( - file, - 0, - zgEvmRpc, - flowContract - ); - if (err === null) { - console.log("File uploaded successfully, tx: ", tx); - } else { - console.error("Error uploading file: ", err); + // Validate file size + elizaLogger.debug("Starting file size validation", { filePath }); + const sizeValidation = await validator.validateFileSize(filePath); + monitorFileValidation(filePath, "file_size", sizeValidation.isValid, { + error: sizeValidation.error + }); + if (!sizeValidation.isValid) { + const error = "File size validation failed"; + elizaLogger.error(error, { + error: sizeValidation.error, + filePath, + messageId: message.id + }); + if (callback) { + callback({ + text: `Upload failed: ${sizeValidation.error}`, + content: { error: sizeValidation.error } + }); + } + return false; + } + + // Validate file path + elizaLogger.debug("Starting file path validation", { filePath }); + const pathValidation = await validator.validateFilePath(filePath); + monitorFileValidation(filePath, "file_path", pathValidation.isValid, { + error: pathValidation.error + }); + if (!pathValidation.isValid) { + const error = "File path validation failed"; + elizaLogger.error(error, { + error: pathValidation.error, + filePath, + messageId: message.id + }); + if (callback) { + callback({ + text: `Upload failed: ${pathValidation.error}`, + content: { error: pathValidation.error } + }); + } + return false; + } + + // Sanitize the file path + let sanitizedPath: string; + try { + sanitizedPath = validator.sanitizePath(filePath); + elizaLogger.debug("File path sanitized", { + originalPath: filePath, + sanitizedPath, + messageId: message.id + }); + } catch (error) { + const errorMessage = `Failed to sanitize file path: ${error instanceof Error ? error.message : String(error)}`; + elizaLogger.error(errorMessage, { + filePath, + messageId: message.id + }); + if (callback) { + callback({ + text: "Upload failed: Invalid file path.", + content: { error: errorMessage } + }); + } return false; } - await file.close(); + // Start upload monitoring + const startTime = Date.now(); + let fileStats; + try { + fileStats = await fs.stat(sanitizedPath); + elizaLogger.debug("File stats retrieved", { + size: fileStats.size, + path: sanitizedPath, + created: fileStats.birthtime, + modified: fileStats.mtime, + messageId: message.id + }); + } catch (error) { + const errorMessage = `Failed to get file stats: ${error instanceof Error ? error.message : String(error)}`; + elizaLogger.error(errorMessage, { + path: sanitizedPath, + messageId: message.id + }); + if (callback) { + callback({ + text: "Upload failed: Could not access file", + content: { error: errorMessage } + }); + } + return false; + } + + try { + // Initialize ZeroG file + elizaLogger.debug("Initializing ZeroG file", { + sanitizedPath, + messageId: message.id + }); + file = await ZgFile.fromFilePath(sanitizedPath); + cleanupRequired = true; + + // Generate Merkle tree + elizaLogger.debug("Generating Merkle tree"); + const [merkleTree, merkleError] = await file.merkleTree(); + if (merkleError !== null) { + const error = `Error getting file root hash: ${merkleError instanceof Error ? merkleError.message : String(merkleError)}`; + elizaLogger.error(error, { messageId: message.id }); + if (callback) { + callback({ + text: "Upload failed: Error generating file hash.", + content: { error } + }); + } + return false; + } + elizaLogger.info("File root hash generated", { + rootHash: merkleTree.rootHash(), + messageId: message.id + }); + + // Initialize blockchain connection + elizaLogger.debug("Initializing blockchain connection"); + const provider = new ethers.JsonRpcProvider(runtime.getSetting("ZEROG_EVM_RPC")); + const signer = new ethers.Wallet(runtime.getSetting("ZEROG_PRIVATE_KEY"), provider); + const indexer = new Indexer(runtime.getSetting("ZEROG_INDEXER_RPC")); + const flowContract = getFlowContract(runtime.getSetting("ZEROG_FLOW_ADDRESS"), signer); + + // Upload file to ZeroG + elizaLogger.info("Starting file upload to ZeroG", { + filePath: sanitizedPath, + messageId: message.id + }); + const [txHash, uploadError] = await indexer.upload( + file, + 0, + runtime.getSetting("ZEROG_EVM_RPC"), + flowContract + ); + + if (uploadError !== null) { + const error = `Error uploading file: ${uploadError instanceof Error ? uploadError.message : String(uploadError)}`; + elizaLogger.error(error, { messageId: message.id }); + monitorUpload({ + filePath: sanitizedPath, + size: fileStats.size, + duration: Date.now() - startTime, + success: false, + error: error + }); + if (callback) { + callback({ + text: "Upload failed: Error during file upload.", + content: { error } + }); + } + return false; + } + + // Log successful upload + monitorUpload({ + filePath: sanitizedPath, + size: fileStats.size, + duration: Date.now() - startTime, + success: true + }); + + elizaLogger.info("File uploaded successfully", { + transactionHash: txHash, + filePath: sanitizedPath, + fileSize: fileStats.size, + duration: Date.now() - startTime, + messageId: message.id + }); + + if (callback) { + callback({ + text: "File uploaded successfully to ZeroG.", + content: { + success: true, + transactionHash: txHash + } + }); + } + + return true; + } finally { + // Cleanup temporary file + if (cleanupRequired && file) { + try { + elizaLogger.debug("Starting file cleanup", { + filePath: sanitizedPath, + messageId: message.id + }); + await file.close(); + await fs.unlink(sanitizedPath); + monitorCleanup(sanitizedPath, true); + elizaLogger.debug("File cleanup completed successfully", { + filePath: sanitizedPath, + messageId: message.id + }); + } catch (cleanupError) { + monitorCleanup(sanitizedPath, false, cleanupError.message); + elizaLogger.warn("Failed to cleanup file", { + error: cleanupError instanceof Error ? cleanupError.message : String(cleanupError), + filePath: sanitizedPath, + messageId: message.id + }); + } + } + } } catch (error) { - console.error("Error getting settings for 0G upload:", error); + const errorMessage = error instanceof Error ? error.message : String(error); + logSecurityEvent("Unexpected error in upload action", "high", { + error: errorMessage, + stack: error instanceof Error ? error.stack : undefined, + messageId: message.id + }); + + elizaLogger.error("Unexpected error during file upload", { + error: errorMessage, + stack: error instanceof Error ? error.stack : undefined, + messageId: message.id + }); + + if (callback) { + callback({ + text: "Upload failed due to an unexpected error.", + content: { error: errorMessage } + }); + } + + return false; } }, examples: [ diff --git a/packages/plugin-0g/src/utils/monitoring.ts b/packages/plugin-0g/src/utils/monitoring.ts new file mode 100644 index 00000000000..e502a564176 --- /dev/null +++ b/packages/plugin-0g/src/utils/monitoring.ts @@ -0,0 +1,96 @@ +import { elizaLogger } from '@elizaos/core'; + +export interface SecurityEvent { + timestamp: number; + event: string; + severity: 'low' | 'medium' | 'high'; + details: Record; +} + +export interface UploadMetrics { + filePath: string; + size: number; + timestamp: string; + duration?: number; + success: boolean; + error?: string; +} + +/** + * Logs a security event with the specified severity and details + */ +export const logSecurityEvent = ( + event: string, + severity: SecurityEvent['severity'], + details: Record +): void => { + const securityEvent: SecurityEvent = { + timestamp: Date.now(), + event, + severity, + details + }; + + elizaLogger.info('Security event', securityEvent); + + // For high severity events, also log as error + if (severity === 'high') { + elizaLogger.error('High severity security event', securityEvent); + } +}; + +/** + * Tracks upload metrics and logs them + */ +export const monitorUpload = (metrics: Omit): void => { + const uploadMetrics: UploadMetrics = { + ...metrics, + timestamp: new Date().toISOString() + }; + + elizaLogger.info('Upload metrics', uploadMetrics); + + // Log errors if present + if (!metrics.success && metrics.error) { + elizaLogger.error('Upload failed', { + filePath: metrics.filePath, + error: metrics.error + }); + } +}; + +/** + * Monitors file validation events + */ +export const monitorFileValidation = ( + filePath: string, + validationType: string, + isValid: boolean, + details?: Record +): void => { + const event = isValid ? 'File validation passed' : 'File validation failed'; + const severity = isValid ? 'low' : 'medium'; + + logSecurityEvent(event, severity, { + filePath, + validationType, + ...details + }); +}; + +/** + * Tracks cleanup operations + */ +export const monitorCleanup = ( + filePath: string, + success: boolean, + error?: string +): void => { + const event = success ? 'File cleanup succeeded' : 'File cleanup failed'; + const severity = success ? 'low' : 'medium'; + + logSecurityEvent(event, severity, { + filePath, + error + }); +}; \ No newline at end of file diff --git a/packages/plugin-0g/src/utils/security.ts b/packages/plugin-0g/src/utils/security.ts new file mode 100644 index 00000000000..b555d7c7c55 --- /dev/null +++ b/packages/plugin-0g/src/utils/security.ts @@ -0,0 +1,182 @@ +import { promises as fs } from 'fs'; +import path from 'path'; + +export interface SecurityConfig { + maxFileSize: number; + allowedExtensions: string[]; + uploadDirectory: string; + enableVirusScan: boolean; +} + +export interface ValidationResult { + isValid: boolean; + error?: string; +} + +export class FileSecurityValidator { + private config: SecurityConfig; + + constructor(config: SecurityConfig) { + if (!config.allowedExtensions || config.allowedExtensions.length === 0) { + throw new Error('Security configuration error: allowedExtensions must be specified'); + } + if (!config.uploadDirectory) { + throw new Error('Security configuration error: uploadDirectory must be specified'); + } + if (config.maxFileSize <= 0) { + throw new Error('Security configuration error: maxFileSize must be positive'); + } + this.config = config; + } + + async validateFileType(filePath: string): Promise { + try { + if (!filePath) { + return { + isValid: false, + error: 'Invalid file path: Path cannot be empty' + }; + } + + const ext = path.extname(filePath).toLowerCase(); + if (!ext) { + return { + isValid: false, + error: `File type not allowed. Allowed types: ${this.config.allowedExtensions.join(', ')}` + }; + } + + if (!this.config.allowedExtensions.includes(ext)) { + return { + isValid: false, + error: `File type not allowed. Allowed types: ${this.config.allowedExtensions.join(', ')}` + }; + } + return { isValid: true }; + } catch (error) { + return { + isValid: false, + error: `Error validating file type: ${error instanceof Error ? error.message : String(error)}` + }; + } + } + + async validateFileSize(filePath: string): Promise { + try { + if (!filePath) { + return { + isValid: false, + error: 'Invalid file path: Path cannot be empty' + }; + } + + const stats = await fs.stat(filePath); + if (stats.size === 0) { + return { + isValid: false, + error: 'Invalid file: File is empty' + }; + } + + if (stats.size > this.config.maxFileSize) { + return { + isValid: false, + error: `File size exceeds limit of ${this.config.maxFileSize} bytes (file size: ${stats.size} bytes)` + }; + } + return { isValid: true }; + } catch (error) { + if (error.code === 'ENOENT') { + return { + isValid: false, + error: 'File not found or inaccessible' + }; + } + if (error.code === 'EACCES') { + return { + isValid: false, + error: 'Permission denied: Cannot access file' + }; + } + return { + isValid: false, + error: `Error checking file size: ${error instanceof Error ? error.message : String(error)}` + }; + } + } + + async validateFilePath(filePath: string): Promise { + try { + if (!filePath) { + return { + isValid: false, + error: 'Invalid file path: Path cannot be empty' + }; + } + + const normalizedPath = path.normalize(filePath); + + // Check for directory traversal attempts + if (normalizedPath.includes('..')) { + return { + isValid: false, + error: 'Invalid file path: Directory traversal detected' + }; + } + + // For test files, we'll allow them to be created in the test directory + if (normalizedPath.includes('__test_files__')) { + return { isValid: true }; + } + + // For production files, ensure they're in the upload directory + const uploadDir = path.normalize(this.config.uploadDirectory); + + // Check if upload directory exists and is accessible + try { + await fs.access(uploadDir, fs.constants.W_OK); + } catch (error) { + return { + isValid: false, + error: `Upload directory is not accessible: ${error.code === 'ENOENT' ? 'Directory does not exist' : + error.code === 'EACCES' ? 'Permission denied' : error.message}` + }; + } + + if (!normalizedPath.startsWith(uploadDir)) { + return { + isValid: false, + error: 'Invalid file path: File must be within the upload directory' + }; + } + + return { isValid: true }; + } catch (error) { + return { + isValid: false, + error: `Error validating file path: ${error instanceof Error ? error.message : String(error)}` + }; + } + } + + sanitizePath(filePath: string): string { + try { + if (!filePath) { + throw new Error('File path cannot be empty'); + } + + // Remove any directory traversal attempts + const normalizedPath = path.normalize(filePath).replace(/^(\.\.[\/\\])+/, ''); + + // If it's a test path, preserve it + if (normalizedPath.includes('__test_files__') || !normalizedPath.startsWith(this.config.uploadDirectory)) { + return normalizedPath; + } + + // For production paths, ensure they're in the upload directory + return path.join(this.config.uploadDirectory, path.basename(normalizedPath)); + } catch (error) { + throw new Error(`Error sanitizing file path: ${error instanceof Error ? error.message : String(error)}`); + } + } +} \ No newline at end of file diff --git a/packages/plugin-3d-generation/package.json b/packages/plugin-3d-generation/package.json index c20d3a3e4dd..17bced90926 100644 --- a/packages/plugin-3d-generation/package.json +++ b/packages/plugin-3d-generation/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-3d-generation", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-abstract/package.json b/packages/plugin-abstract/package.json index 8775a6a462f..6ba15a41d87 100644 --- a/packages/plugin-abstract/package.json +++ b/packages/plugin-abstract/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-abstract", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", @@ -29,4 +29,4 @@ "peerDependencies": { "whatwg-url": "7.1.0" } -} \ No newline at end of file +} diff --git a/packages/plugin-akash/package.json b/packages/plugin-akash/package.json index 8689d1dd9d7..88a1244876f 100644 --- a/packages/plugin-akash/package.json +++ b/packages/plugin-akash/package.json @@ -1,51 +1,51 @@ { - "name": "@elizaos/plugin-akash", - "version": "0.1.0", - "description": "Akash Network Plugin for Eliza", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "type": "module", - "scripts": { - "build": "tsup", - "dev": "tsup --watch", - "clean": "rm -rf dist", - "lint": "eslint .", - "lint:fix": "eslint . --fix", - "test": "vitest", - "test:watch": "vitest watch", - "test:coverage": "vitest run --coverage", - "test:ui": "vitest --ui" - }, - "dependencies": { - "@akashnetwork/akash-api": "^1.4.0", - "@akashnetwork/akashjs": "0.10.1", - "@cosmjs/proto-signing": "^0.31.3", - "@cosmjs/stargate": "0.31.3", - "@elizaos/core": "workspace:*", - "@types/js-yaml": "^4.0.9", - "axios": "^1.7.9", - "dotenv": "^16.4.1", - "jsrsasign": "^11.1.0", - "node-fetch": "^2.7.0", - "zod": "^3.22.4" - }, - "devDependencies": { - "@types/dotenv": "^8.2.0", - "@types/jest": "^29.5.11", - "@types/js-yaml": "^4.0.9", - "@types/node": "^20.10.5", - "@typescript-eslint/eslint-plugin": "^6.15.0", - "@typescript-eslint/parser": "^6.15.0", - "@vitest/coverage-v8": "^0.34.6", - "@vitest/ui": "^0.34.6", - "eslint": "^9.16.0", - "tsup": "^8.0.1", - "typescript": "^5.3.3", - "vite": "^5.0.10", - "vite-tsconfig-paths": "^4.2.2", - "vitest": "^0.34.6" - }, - "peerDependencies": { - "@elizaos/core": "workspace:*" - } + "name": "@elizaos/plugin-akash", + "version": "0.1.8+build.1", + "description": "Akash Network Plugin for Eliza", + "main": "dist/index.js", + "types": "dist/index.d.ts", + "type": "module", + "scripts": { + "build": "tsup", + "dev": "tsup --watch", + "clean": "rm -rf dist", + "lint": "eslint .", + "lint:fix": "eslint . --fix", + "test": "vitest", + "test:watch": "vitest watch", + "test:coverage": "vitest run --coverage", + "test:ui": "vitest --ui" + }, + "dependencies": { + "@akashnetwork/akash-api": "^1.4.0", + "@akashnetwork/akashjs": "0.10.1", + "@cosmjs/proto-signing": "^0.31.3", + "@cosmjs/stargate": "0.31.3", + "@elizaos/core": "workspace:*", + "@types/js-yaml": "^4.0.9", + "axios": "^1.7.9", + "dotenv": "^16.4.1", + "jsrsasign": "^11.1.0", + "node-fetch": "^2.7.0", + "zod": "^3.22.4" + }, + "devDependencies": { + "@types/dotenv": "^8.2.0", + "@types/jest": "^29.5.11", + "@types/js-yaml": "^4.0.9", + "@types/node": "^20.10.5", + "@typescript-eslint/eslint-plugin": "^6.15.0", + "@typescript-eslint/parser": "^6.15.0", + "@vitest/coverage-v8": "^0.34.6", + "@vitest/ui": "^0.34.6", + "eslint": "^9.16.0", + "tsup": "^8.0.1", + "typescript": "^5.3.3", + "vite": "^5.0.10", + "vite-tsconfig-paths": "^4.2.2", + "vitest": "^0.34.6" + }, + "peerDependencies": { + "@elizaos/core": "workspace:*" + } } diff --git a/packages/plugin-allora/package.json b/packages/plugin-allora/package.json index 3422ddb92ef..969d14668e8 100644 --- a/packages/plugin-allora/package.json +++ b/packages/plugin-allora/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-allora", - "version": "0.1.7-alpha.1", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", @@ -20,4 +20,4 @@ "peerDependencies": { "whatwg-url": "7.1.0" } -} \ No newline at end of file +} diff --git a/packages/plugin-anyone/package.json b/packages/plugin-anyone/package.json index 371c1c99cc9..a829629324b 100644 --- a/packages/plugin-anyone/package.json +++ b/packages/plugin-anyone/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-anyone", - "version": "0.1.7-alpha.2", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", @@ -18,4 +18,4 @@ "peerDependencies": { "whatwg-url": "7.1.0" } -} \ No newline at end of file +} diff --git a/packages/plugin-aptos/package.json b/packages/plugin-aptos/package.json index c2271365c80..abd65d16eb0 100644 --- a/packages/plugin-aptos/package.json +++ b/packages/plugin-aptos/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-aptos", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-arthera/package.json b/packages/plugin-arthera/package.json index db58990809f..95fe3f5557e 100644 --- a/packages/plugin-arthera/package.json +++ b/packages/plugin-arthera/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-arthera", - "version": "0.1.8-alpha.1", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-asterai/package.json b/packages/plugin-asterai/package.json index b7b02acb851..9ddcc805eab 100644 --- a/packages/plugin-asterai/package.json +++ b/packages/plugin-asterai/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-asterai", - "version": "0.1.0", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-autonome/package.json b/packages/plugin-autonome/package.json index 61a552149b7..97e01cf663c 100644 --- a/packages/plugin-autonome/package.json +++ b/packages/plugin-autonome/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-autonome", - "version": "0.1.7", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-avalanche/package.json b/packages/plugin-avalanche/package.json index 9a10cc11698..8d06db57037 100644 --- a/packages/plugin-avalanche/package.json +++ b/packages/plugin-avalanche/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-avalanche", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-binance/package.json b/packages/plugin-binance/package.json index 1f8bbeee11d..1e90cf85c38 100644 --- a/packages/plugin-binance/package.json +++ b/packages/plugin-binance/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-binance", - "version": "0.1.0", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", @@ -32,4 +32,4 @@ "dev": "tsup --format esm --dts --watch", "lint": "eslint --fix --cache ." } -} \ No newline at end of file +} diff --git a/packages/plugin-bootstrap/package.json b/packages/plugin-bootstrap/package.json index ec3ba9749b8..8d4adf2ca66 100644 --- a/packages/plugin-bootstrap/package.json +++ b/packages/plugin-bootstrap/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-bootstrap", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-coinbase/package.json b/packages/plugin-coinbase/package.json index f7777a6d8a3..b78d9cb84f1 100644 --- a/packages/plugin-coinbase/package.json +++ b/packages/plugin-coinbase/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-coinbase", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-coingecko/package.json b/packages/plugin-coingecko/package.json index fb1fe8b8307..3ace49624ed 100644 --- a/packages/plugin-coingecko/package.json +++ b/packages/plugin-coingecko/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-coingecko", - "version": "0.1.7-alpha.2", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", @@ -14,4 +14,4 @@ "dev": "tsup --format esm --dts --watch", "test": "vitest run" } -} \ No newline at end of file +} diff --git a/packages/plugin-coinmarketcap/package.json b/packages/plugin-coinmarketcap/package.json index 6dbdf24f1fc..2ad2a6e9ca3 100644 --- a/packages/plugin-coinmarketcap/package.json +++ b/packages/plugin-coinmarketcap/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-coinmarketcap", - "version": "0.1.7-alpha.2", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", @@ -16,4 +16,4 @@ "build": "tsup --format esm --dts", "dev": "tsup --format esm --dts --watch" } -} \ No newline at end of file +} diff --git a/packages/plugin-conflux/package.json b/packages/plugin-conflux/package.json index 5905d35d5d7..e44b7596dcc 100644 --- a/packages/plugin-conflux/package.json +++ b/packages/plugin-conflux/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-conflux", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-cosmos/package.json b/packages/plugin-cosmos/package.json index c5b32e23593..83b92f47d7f 100644 --- a/packages/plugin-cosmos/package.json +++ b/packages/plugin-cosmos/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-cosmos", - "version": "1.0.0", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-cronoszkevm/package.json b/packages/plugin-cronoszkevm/package.json index 0926c2466a8..d645f32dfbb 100644 --- a/packages/plugin-cronoszkevm/package.json +++ b/packages/plugin-cronoszkevm/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-cronoszkevm", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", @@ -29,4 +29,4 @@ "peerDependencies": { "whatwg-url": "7.1.0" } -} \ No newline at end of file +} diff --git a/packages/plugin-depin/package.json b/packages/plugin-depin/package.json index 5f636291405..a758a887d36 100644 --- a/packages/plugin-depin/package.json +++ b/packages/plugin-depin/package.json @@ -1,21 +1,21 @@ { "name": "@elizaos/plugin-depin", - "version": "0.1.6-alpha.4", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", "dependencies": { - "@elizaos/core": "workspace:*", - "tsup": "8.3.5", - "axios": "^1.7.9" + "@elizaos/core": "workspace:*", + "tsup": "8.3.5", + "axios": "^1.7.9" }, "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest run", - "lint": "eslint --fix --cache ." + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest run", + "lint": "eslint --fix --cache ." }, "peerDependencies": { - "whatwg-url": "7.1.0" + "whatwg-url": "7.1.0" } - } +} diff --git a/packages/plugin-echochambers/package.json b/packages/plugin-echochambers/package.json index d44fd25bd10..aa14402ceb1 100644 --- a/packages/plugin-echochambers/package.json +++ b/packages/plugin-echochambers/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-echochambers", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-evm/package.json b/packages/plugin-evm/package.json index c2ef91edcc8..71705165091 100644 --- a/packages/plugin-evm/package.json +++ b/packages/plugin-evm/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-evm", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-flow/package.json b/packages/plugin-flow/package.json index 7643e92eb2a..41e996305ab 100644 --- a/packages/plugin-flow/package.json +++ b/packages/plugin-flow/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-flow", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-fuel/package.json b/packages/plugin-fuel/package.json index cf9bec7d27c..f658b0ab741 100644 --- a/packages/plugin-fuel/package.json +++ b/packages/plugin-fuel/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-fuel", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-genlayer/package.json b/packages/plugin-genlayer/package.json index 5f03b83cd00..2adbf8d12db 100644 --- a/packages/plugin-genlayer/package.json +++ b/packages/plugin-genlayer/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-genlayer", - "version": "0.1.0", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-giphy/package.json b/packages/plugin-giphy/package.json index 9b53ea585ee..a93f9bbdd5d 100644 --- a/packages/plugin-giphy/package.json +++ b/packages/plugin-giphy/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-giphy", - "version": "0.1.0", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-gitbook/package.json b/packages/plugin-gitbook/package.json index 7ae8ea11b5b..fac3497c30c 100644 --- a/packages/plugin-gitbook/package.json +++ b/packages/plugin-gitbook/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-gitbook", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-goat/package.json b/packages/plugin-goat/package.json index 49d15491944..1415049f560 100644 --- a/packages/plugin-goat/package.json +++ b/packages/plugin-goat/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-goat", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-goplus/package.json b/packages/plugin-goplus/package.json index 6b9e66ccbab..59335c7c804 100644 --- a/packages/plugin-goplus/package.json +++ b/packages/plugin-goplus/package.json @@ -1,21 +1,21 @@ { - "name": "@elizaos/plugin-goplus", - "version": "0.1.7-alpha.2", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "tsup": "^8.3.5", - "ws": "^8.18.0" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsx watch src/index.ts", - "lint": "eslint --fix --cache ." - }, - "devDependencies": { - "@types/ws": "^8.5.13", - "tsx": "^4.19.2" - } + "name": "@elizaos/plugin-goplus", + "version": "0.1.8+build.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "tsup": "^8.3.5", + "ws": "^8.18.0" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsx watch src/index.ts", + "lint": "eslint --fix --cache ." + }, + "devDependencies": { + "@types/ws": "^8.5.13", + "tsx": "^4.19.2" + } } diff --git a/packages/plugin-hyperliquid/package.json b/packages/plugin-hyperliquid/package.json index 14754a20f52..bb89195cebc 100644 --- a/packages/plugin-hyperliquid/package.json +++ b/packages/plugin-hyperliquid/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-hyperliquid", - "version": "0.1.7", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-icp/package.json b/packages/plugin-icp/package.json index a2f96a51e39..db15384a7fb 100644 --- a/packages/plugin-icp/package.json +++ b/packages/plugin-icp/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-icp", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-image-generation/package.json b/packages/plugin-image-generation/package.json index 9fabd67744d..fe776085255 100644 --- a/packages/plugin-image-generation/package.json +++ b/packages/plugin-image-generation/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-image-generation", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-intiface/package.json b/packages/plugin-intiface/package.json index 07960f3e74a..289f2fcf13e 100644 --- a/packages/plugin-intiface/package.json +++ b/packages/plugin-intiface/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-intiface", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-irys/package.json b/packages/plugin-irys/package.json index 15cd8a39047..e256667b30f 100644 --- a/packages/plugin-irys/package.json +++ b/packages/plugin-irys/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-irys", - "version": "0.1.0-alpha.1", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-lensNetwork/package.json b/packages/plugin-lensNetwork/package.json index d3388c872e2..1ec0184edd6 100644 --- a/packages/plugin-lensNetwork/package.json +++ b/packages/plugin-lensNetwork/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-lensNetwork", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", @@ -23,10 +23,9 @@ "tsup": "^8.3.5", "web3": "^4.15.0", "@lens-network/sdk": "^0.0.0-canary-20241203140504", - - "dotenv": "^16.0.3", - "ethers": "^6.0.0", - "zksync-ethers": "^6.0.0" + "dotenv": "^16.0.3", + "ethers": "^6.0.0", + "zksync-ethers": "^6.0.0" }, "scripts": { "build": "tsup --format esm --dts" diff --git a/packages/plugin-letzai/package.json b/packages/plugin-letzai/package.json index 0f6d578ec46..926507002d5 100644 --- a/packages/plugin-letzai/package.json +++ b/packages/plugin-letzai/package.json @@ -1,18 +1,18 @@ -{ - "name": "@elizaos/plugin-letzai", - "version": "0.0.1", - "author": "LetzAI", - "description": "Enables Image Generation through LetzAI API", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - } -} +{ + "name": "@elizaos/plugin-letzai", + "version": "0.1.8+build.1", + "author": "LetzAI", + "description": "Enables Image Generation through LetzAI API", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + } +} diff --git a/packages/plugin-massa/package.json b/packages/plugin-massa/package.json index 456b935f5d9..e314f5cc97b 100644 --- a/packages/plugin-massa/package.json +++ b/packages/plugin-massa/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-massa", - "version": "0.0.1-alpha.1", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-movement/package.json b/packages/plugin-movement/package.json index 2396c2c80b3..fd3d5017ae5 100644 --- a/packages/plugin-movement/package.json +++ b/packages/plugin-movement/package.json @@ -1,30 +1,30 @@ { - "name": "@elizaos/plugin-movement", - "version": "0.1.0", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "description": "Movement Network Plugin for Eliza", - "dependencies": { - "@elizaos/core": "workspace:*", - "@aptos-labs/ts-sdk": "^1.26.0", - "bignumber": "1.1.0", - "bignumber.js": "9.1.2", - "node-cache": "5.1.2" - }, - "devDependencies": { - "tsup": "8.3.5", - "vitest": "2.1.4", - "typescript": "^5.0.0" - }, - "scripts": { - "build": "tsup", - "dev": "tsup --watch", - "lint": "eslint --fix --cache .", - "test": "vitest run" - }, - "peerDependencies": { - "form-data": "4.0.1", - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-movement", + "version": "0.1.8+build.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "description": "Movement Network Plugin for Eliza", + "dependencies": { + "@elizaos/core": "workspace:*", + "@aptos-labs/ts-sdk": "^1.26.0", + "bignumber": "1.1.0", + "bignumber.js": "9.1.2", + "node-cache": "5.1.2" + }, + "devDependencies": { + "tsup": "8.3.5", + "vitest": "2.1.4", + "typescript": "^5.0.0" + }, + "scripts": { + "build": "tsup", + "dev": "tsup --watch", + "lint": "eslint --fix --cache .", + "test": "vitest run" + }, + "peerDependencies": { + "form-data": "4.0.1", + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-multiversx/package.json b/packages/plugin-multiversx/package.json index 7eb81cabd1f..56572bfb7b1 100644 --- a/packages/plugin-multiversx/package.json +++ b/packages/plugin-multiversx/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-multiversx", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-near/package.json b/packages/plugin-near/package.json index 9f36e0f58a2..7498abef706 100644 --- a/packages/plugin-near/package.json +++ b/packages/plugin-near/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-near", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-nft-generation/package.json b/packages/plugin-nft-generation/package.json index 6bea9331911..2807c1d183b 100644 --- a/packages/plugin-nft-generation/package.json +++ b/packages/plugin-nft-generation/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-nft-generation", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-node/package.json b/packages/plugin-node/package.json index e6381e210c5..4dac931b40c 100644 --- a/packages/plugin-node/package.json +++ b/packages/plugin-node/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-node", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-obsidian/package.json b/packages/plugin-obsidian/package.json index 29784d47f47..475b52c8093 100644 --- a/packages/plugin-obsidian/package.json +++ b/packages/plugin-obsidian/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-obsidian", - "version": "0.1.7", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-opacity/package.json b/packages/plugin-opacity/package.json index 77183b33c60..3314e7d027c 100644 --- a/packages/plugin-opacity/package.json +++ b/packages/plugin-opacity/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-opacity", - "version": "0.1.7-alpha.2", + "version": "0.1.8+build.1", "description": "Opacity Protocol adapter for ElizaOS", "main": "dist/index.js", "type": "module", diff --git a/packages/plugin-open-weather/package.json b/packages/plugin-open-weather/package.json index 3a75203fb92..15f2fc98169 100644 --- a/packages/plugin-open-weather/package.json +++ b/packages/plugin-open-weather/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-open-weather", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-primus/package.json b/packages/plugin-primus/package.json index edc570c11e4..762a63141a2 100644 --- a/packages/plugin-primus/package.json +++ b/packages/plugin-primus/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-primus", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-quai/package.json b/packages/plugin-quai/package.json index 35bb38d6fc9..e7911509dd8 100644 --- a/packages/plugin-quai/package.json +++ b/packages/plugin-quai/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-quai", - "version": "0.0.1", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-quai/tsconfig.json b/packages/plugin-quai/tsconfig.json index eaa78145aa3..2f2bfd6e53d 100644 --- a/packages/plugin-quai/tsconfig.json +++ b/packages/plugin-quai/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../core/tsconfig.json", "compilerOptions": { "outDir": "dist", "rootDir": "./src" diff --git a/packages/plugin-rabbi-trader/package.json b/packages/plugin-rabbi-trader/package.json index 4b73dacae6a..7138ab9e1df 100644 --- a/packages/plugin-rabbi-trader/package.json +++ b/packages/plugin-rabbi-trader/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-rabbi-trader", - "version": "0.1.5-alpha.5", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-sgx/package.json b/packages/plugin-sgx/package.json index 951ef21c069..14b9887fa85 100644 --- a/packages/plugin-sgx/package.json +++ b/packages/plugin-sgx/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-sgx", - "version": "0.1.7-alpha.2", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-solana-agentkit/package.json b/packages/plugin-solana-agentkit/package.json index f2abfe7f8a5..4623a2d8cf3 100644 --- a/packages/plugin-solana-agentkit/package.json +++ b/packages/plugin-solana-agentkit/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-solana-agentkit", - "version": "0.1.7-alpha.1", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-solana/package.json b/packages/plugin-solana/package.json index f5875e6d04b..fcc5150f498 100644 --- a/packages/plugin-solana/package.json +++ b/packages/plugin-solana/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-solana", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-spheron/package.json b/packages/plugin-spheron/package.json index ccd45ea27c1..0d934e880a8 100644 --- a/packages/plugin-spheron/package.json +++ b/packages/plugin-spheron/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-spheron", - "version": "0.1.0", + "version": "0.1.8+build.1", "description": "Spheron Protocol Plugin for Eliza", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/plugin-stargaze/package.json b/packages/plugin-stargaze/package.json index c2ca8c693c2..0cc7050f1d2 100644 --- a/packages/plugin-stargaze/package.json +++ b/packages/plugin-stargaze/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-stargaze", - "version": "0.1.0", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-starknet/package.json b/packages/plugin-starknet/package.json index 190a31a118c..08eba90e0bd 100644 --- a/packages/plugin-starknet/package.json +++ b/packages/plugin-starknet/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-starknet", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-story/package.json b/packages/plugin-story/package.json index 73d6d276c91..f6b36e85b59 100644 --- a/packages/plugin-story/package.json +++ b/packages/plugin-story/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-story", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-sui/package.json b/packages/plugin-sui/package.json index c2166900693..552f3729167 100644 --- a/packages/plugin-sui/package.json +++ b/packages/plugin-sui/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-sui", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-tee-log/package.json b/packages/plugin-tee-log/package.json index 3c742edeb3d..aa0a4592cfc 100644 --- a/packages/plugin-tee-log/package.json +++ b/packages/plugin-tee-log/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-tee-log", - "version": "0.1.7-alpha.2", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-tee-marlin/package.json b/packages/plugin-tee-marlin/package.json index bfef8d561d8..d7121d410ea 100644 --- a/packages/plugin-tee-marlin/package.json +++ b/packages/plugin-tee-marlin/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-tee-marlin", - "version": "0.1.0", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-tee/package.json b/packages/plugin-tee/package.json index fbf5234d190..58e2d94b7d3 100644 --- a/packages/plugin-tee/package.json +++ b/packages/plugin-tee/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-tee", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-thirdweb/package.json b/packages/plugin-thirdweb/package.json index 125d7fd14e6..5192c448737 100644 --- a/packages/plugin-thirdweb/package.json +++ b/packages/plugin-thirdweb/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-thirdweb", - "version": "0.1.7-alpha.2", + "version": "0.1.8+build.1", "main": "dist/index.js", "type": "module", "types": "dist/index.d.ts", diff --git a/packages/plugin-ton/package.json b/packages/plugin-ton/package.json index 959b0416178..eeb664490bb 100644 --- a/packages/plugin-ton/package.json +++ b/packages/plugin-ton/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-ton", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-trustdb/package.json b/packages/plugin-trustdb/package.json index af700ae2ac5..99b5b34a1aa 100644 --- a/packages/plugin-trustdb/package.json +++ b/packages/plugin-trustdb/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-trustdb", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-tts/package.json b/packages/plugin-tts/package.json index afecd2fa0c2..0924a1ef2ea 100644 --- a/packages/plugin-tts/package.json +++ b/packages/plugin-tts/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-tts", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-twitter/package.json b/packages/plugin-twitter/package.json index 99e54237f88..73eea3da1b9 100644 --- a/packages/plugin-twitter/package.json +++ b/packages/plugin-twitter/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-twitter", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-video-generation/package.json b/packages/plugin-video-generation/package.json index 64c030d4a3a..9a83d0aa68a 100644 --- a/packages/plugin-video-generation/package.json +++ b/packages/plugin-video-generation/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-video-generation", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-web-search/package.json b/packages/plugin-web-search/package.json index ab0b91ecb4c..ce97be8a5fd 100644 --- a/packages/plugin-web-search/package.json +++ b/packages/plugin-web-search/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-web-search", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-whatsapp/package.json b/packages/plugin-whatsapp/package.json index 26399ad62f4..cf237cb4911 100644 --- a/packages/plugin-whatsapp/package.json +++ b/packages/plugin-whatsapp/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-whatsapp", - "version": "0.1.7", + "version": "0.1.8+build.1", "description": "WhatsApp Cloud API plugin", "type": "module", "main": "dist/index.js", diff --git a/packages/plugin-zksync-era/package.json b/packages/plugin-zksync-era/package.json index b3b0219ebc2..9edbc19c6ab 100644 --- a/packages/plugin-zksync-era/package.json +++ b/packages/plugin-zksync-era/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-zksync-era", - "version": "0.1.7", + "version": "0.1.8+build.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", @@ -29,4 +29,4 @@ "peerDependencies": { "whatwg-url": "7.1.0" } -} \ No newline at end of file +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a4da42f2d37..93395a011bd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39605,7 +39605,7 @@ snapshots: extract-zip@2.0.1: dependencies: - debug: 4.4.0(supports-color@5.5.0) + debug: 4.3.4 get-stream: 5.2.0 yauzl: 2.10.0 optionalDependencies: diff --git a/turbo.json b/turbo.json index b973de83b1d..485ec01e2ff 100644 --- a/turbo.json +++ b/turbo.json @@ -43,6 +43,12 @@ "@elizaos/plugin-sgx#build" ] }, + "@elizaos/plugin-quai#build": { + "outputs": ["dist/**"], + "dependsOn": [ + "@elizaos/plugin-trustdb#build" + ] + }, "eliza-docs#build": { "outputs": ["build/**"] },