From eb395b3959fac45cf05baa31998811e791fd79c1 Mon Sep 17 00:00:00 2001 From: "G. P." Date: Fri, 20 Dec 2024 10:30:14 +0000 Subject: [PATCH 01/21] add logic to match image provider --- packages/core/src/generation.ts | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/packages/core/src/generation.ts b/packages/core/src/generation.ts index 59b620d648..548a17843d 100644 --- a/packages/core/src/generation.ts +++ b/packages/core/src/generation.ts @@ -949,14 +949,30 @@ export const generateImage = async ( }); const apiKey = - runtime.imageModelProvider === runtime.modelProvider - ? runtime.token - : (runtime.getSetting("HEURIST_API_KEY") ?? - runtime.getSetting("TOGETHER_API_KEY") ?? - runtime.getSetting("FAL_API_KEY") ?? - runtime.getSetting("OPENAI_API_KEY") ?? - runtime.getSetting("VENICE_API_KEY")); - + runtime.imageModelProvider === runtime.modelProvider + ? runtime.token + : (() => { + // First try to match the specific provider + switch (runtime.imageModelProvider) { + case ModelProviderName.HEURIST: + return runtime.getSetting("HEURIST_API_KEY"); + case ModelProviderName.TOGETHER: + return runtime.getSetting("TOGETHER_API_KEY"); + case ModelProviderName.FAL: + return runtime.getSetting("FAL_API_KEY"); + case ModelProviderName.OPENAI: + return runtime.getSetting("OPENAI_API_KEY"); + case ModelProviderName.VENICE: + return runtime.getSetting("VENICE_API_KEY"); + default: + // If no specific match, try the fallback chain + return (runtime.getSetting("HEURIST_API_KEY") ?? + runtime.getSetting("TOGETHER_API_KEY") ?? + runtime.getSetting("FAL_API_KEY") ?? + runtime.getSetting("OPENAI_API_KEY") ?? + runtime.getSetting("VENICE_API_KEY")); + } + })(); try { if (runtime.imageModelProvider === ModelProviderName.HEURIST) { const response = await fetch( From 9145f30ccdc853ae2ad65690d02743bafb5829f7 Mon Sep 17 00:00:00 2001 From: tcm390 Date: Fri, 20 Dec 2024 23:44:49 -0500 Subject: [PATCH 02/21] add compose random user function --- packages/core/src/context.ts | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/packages/core/src/context.ts b/packages/core/src/context.ts index 190a876edd..9d8ed871cb 100644 --- a/packages/core/src/context.ts +++ b/packages/core/src/context.ts @@ -1,5 +1,6 @@ import handlebars from "handlebars"; import { type State } from "./types.ts"; +import { names, uniqueNamesGenerator } from "unique-names-generator"; /** * Composes a context string by replacing placeholders in a template with corresponding values from the state. @@ -69,3 +70,36 @@ export const composeContext = ({ export const addHeader = (header: string, body: string) => { return body.length > 0 ? `${header ? header + "\n" : header}${body}\n` : ""; }; + +/** + * Generates a string with random user names populated in a template. + * + * This function generates a specified number of random user names and populates placeholders + * in the provided template with these names. Placeholders in the template should follow the format `{{userX}}` + * where `X` is the position of the user (e.g., `{{user1}}`, `{{user2}}`). + * + * @param {Object} params - The parameters for generating the composed string. + * @param {string} params.template - The template string containing placeholders for random user names. + * @param {number} params.length - The number of random user names to generate. + * @returns {string} The template string with placeholders replaced by random user names. + * + * @example + * // Given a template and a length + * const template = "Hello, {{user1}}! Meet {{user2}} and {{user3}}."; + * const length = 3; + * + * // Composing the random user string will result in: + * // "Hello, John! Meet Alice and Bob." + * const result = composeRandomUser({ template, length }); + */ +export const composeRandomUser = (template: string, length: number) => { + const exampleNames = Array.from({ length }, () => + uniqueNamesGenerator({ dictionaries: [names] }) + ); + let result = template; + for (let i = 0; i < exampleNames.length; i++) { + result = result.replaceAll(`{{user${i + 1}}}`, exampleNames[i]); + } + + return result; +}; From f2388246db9ba7e2a5da60b5320b82a9abce742a Mon Sep 17 00:00:00 2001 From: tcm390 Date: Fri, 20 Dec 2024 23:45:14 -0500 Subject: [PATCH 03/21] compose random user name before compose context --- packages/client-telegram/src/messageManager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client-telegram/src/messageManager.ts b/packages/client-telegram/src/messageManager.ts index 0389f28fcc..05dbb190f9 100644 --- a/packages/client-telegram/src/messageManager.ts +++ b/packages/client-telegram/src/messageManager.ts @@ -1,7 +1,7 @@ import { Message } from "@telegraf/types"; import { Context, Telegraf } from "telegraf"; -import { composeContext, elizaLogger, ServiceType } from "@ai16z/eliza"; +import { composeContext, elizaLogger, ServiceType, composeRandomUser } from "@ai16z/eliza"; import { getEmbeddingZeroVector } from "@ai16z/eliza"; import { Content, @@ -565,7 +565,7 @@ export class MessageManager { this.runtime.character.templates ?.telegramShouldRespondTemplate || this.runtime.character?.templates?.shouldRespondTemplate || - telegramShouldRespondTemplate, + composeRandomUser(telegramShouldRespondTemplate, 2), }); const response = await generateShouldRespond({ From 449cf0c7f03c9b7818215a7e746005018cab7feb Mon Sep 17 00:00:00 2001 From: tcm390 Date: Fri, 20 Dec 2024 23:45:51 -0500 Subject: [PATCH 04/21] compose random user name before compose context --- packages/client-discord/src/messages.ts | 4 ++-- packages/client-discord/src/voice.ts | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/client-discord/src/messages.ts b/packages/client-discord/src/messages.ts index 0493bd5bf9..0cf80fd22b 100644 --- a/packages/client-discord/src/messages.ts +++ b/packages/client-discord/src/messages.ts @@ -1,4 +1,4 @@ -import { composeContext } from "@ai16z/eliza"; +import { composeContext, composeRandomUser } from "@ai16z/eliza"; import { generateMessageResponse, generateShouldRespond } from "@ai16z/eliza"; import { Content, @@ -1228,7 +1228,7 @@ export class MessageManager { this.runtime.character.templates ?.discordShouldRespondTemplate || this.runtime.character.templates?.shouldRespondTemplate || - discordShouldRespondTemplate, + composeRandomUser(discordShouldRespondTemplate, 2), }); const response = await generateShouldRespond({ diff --git a/packages/client-discord/src/voice.ts b/packages/client-discord/src/voice.ts index 86bec8bcdf..e8e1c8694e 100644 --- a/packages/client-discord/src/voice.ts +++ b/packages/client-discord/src/voice.ts @@ -8,6 +8,7 @@ import { State, UUID, composeContext, + composeRandomUser, elizaLogger, getEmbeddingZeroVector, generateMessageResponse, @@ -840,7 +841,7 @@ export class VoiceManager extends EventEmitter { this.runtime.character.templates ?.discordShouldRespondTemplate || this.runtime.character.templates?.shouldRespondTemplate || - discordShouldRespondTemplate, + composeRandomUser(discordShouldRespondTemplate, 2), }); const response = await generateShouldRespond({ From 513b9b5d6976b68d948f3aebc3ab5d4b7dcbc53d Mon Sep 17 00:00:00 2001 From: tcm390 Date: Fri, 20 Dec 2024 23:46:11 -0500 Subject: [PATCH 05/21] correct template --- packages/client-discord/src/templates.ts | 34 ++++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/client-discord/src/templates.ts b/packages/client-discord/src/templates.ts index 898e971372..9d728e77f3 100644 --- a/packages/client-discord/src/templates.ts +++ b/packages/client-discord/src/templates.ts @@ -8,48 +8,48 @@ About {{agentName}}: # INSTRUCTIONS: Determine if {{agentName}} should respond to the message and participate in the conversation. Do not comment. Just respond with "RESPOND" or "IGNORE" or "STOP". # RESPONSE EXAMPLES -: I just saw a really great movie -: Oh? Which movie? +{{user1}}: I just saw a really great movie +{{user2}}: Oh? Which movie? Result: [IGNORE] {{agentName}}: Oh, this is my favorite scene -: sick -: wait, why is it your favorite scene +{{user1}}: sick +{{user2}}: wait, why is it your favorite scene Result: [RESPOND] -: stfu bot +{{user1}}: stfu bot Result: [STOP] -: Hey {{agent}}, can you help me with something +{{user1}}: Hey {{agent}}, can you help me with something Result: [RESPOND] -: {{agentName}} stfu plz +{{user1}}: {{agentName}} stfu plz Result: [STOP] -: i need help +{{user1}}: i need help {{agentName}}: how can I help you? -: no. i need help from someone else +{{user1}}: no. i need help from someone else Result: [IGNORE] -: Hey {{agent}}, can I ask you a question +{{user1}}: Hey {{agent}}, can I ask you a question {{agentName}}: Sure, what is it -: can you ask claude to create a basic react module that demonstrates a counter +{{user1}}: can you ask claude to create a basic react module that demonstrates a counter Result: [RESPOND] -: {{agentName}} can you tell me a story -: {about a girl named elara +{{user1}}: {{agentName}} can you tell me a story +{{user1}}: about a girl named elara {{agentName}}: Sure. {{agentName}}: Once upon a time, in a quaint little village, there was a curious girl named Elara. {{agentName}}: Elara was known for her adventurous spirit and her knack for finding beauty in the mundane. -: I'm loving it, keep going +{{user1}}: I'm loving it, keep going Result: [RESPOND] -: {{agentName}} stop responding plz +{{user1}}: {{agentName}} stop responding plz Result: [STOP] -: okay, i want to test something. can you say marco? +{{user1}}: okay, i want to test something. can you say marco? {{agentName}}: marco -: great. okay, now do it again +{{user1}}: great. okay, now do it again Result: [RESPOND] Response options are [RESPOND], [IGNORE] and [STOP]. From 4b693d93fa8f65a3b95f27b91628705b78d0a1ed Mon Sep 17 00:00:00 2001 From: tcm390 Date: Fri, 20 Dec 2024 23:51:16 -0500 Subject: [PATCH 06/21] correct comment --- packages/core/src/context.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/core/src/context.ts b/packages/core/src/context.ts index 9d8ed871cb..a682e6794c 100644 --- a/packages/core/src/context.ts +++ b/packages/core/src/context.ts @@ -78,7 +78,6 @@ export const addHeader = (header: string, body: string) => { * in the provided template with these names. Placeholders in the template should follow the format `{{userX}}` * where `X` is the position of the user (e.g., `{{user1}}`, `{{user2}}`). * - * @param {Object} params - The parameters for generating the composed string. * @param {string} params.template - The template string containing placeholders for random user names. * @param {number} params.length - The number of random user names to generate. * @returns {string} The template string with placeholders replaced by random user names. From fdc38d569768e283654317c237a18637bbca8c89 Mon Sep 17 00:00:00 2001 From: Christopher Trimboli Date: Sat, 21 Dec 2024 03:47:17 -0700 Subject: [PATCH 07/21] fix twitter login notifications --- packages/client-twitter/src/base.ts | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/packages/client-twitter/src/base.ts b/packages/client-twitter/src/base.ts index feedf94c4f..2ba929380e 100644 --- a/packages/client-twitter/src/base.ts +++ b/packages/client-twitter/src/base.ts @@ -177,22 +177,25 @@ export class ClientBase extends EventEmitter { elizaLogger.log("Waiting for Twitter login"); while (retries > 0) { try { - await this.twitterClient.login( - username, - password, - email, - twitter2faSecret - ); - if (await this.twitterClient.isLoggedIn()) { + if (await this.twitterClient.isLoggedIn()) { // cookies are valid, no login required elizaLogger.info("Successfully logged in."); - if (!cachedCookies) { + break; + } else { + await this.twitterClient.login( + username, + password, + email, + twitter2faSecret + ); + if (await this.twitterClient.isLoggedIn()) { // fresh login, store new cookies + elizaLogger.info("Successfully logged in."); elizaLogger.info("Caching cookies"); await this.cacheCookies( username, await this.twitterClient.getCookies() ); + break; } - break; } } catch (error) { elizaLogger.error(`Login attempt failed: ${error.message}`); From edb7c82e789d6a36b76d2a32fdbe3606e73d9a19 Mon Sep 17 00:00:00 2001 From: Proteus Date: Sun, 22 Dec 2024 04:54:11 -0500 Subject: [PATCH 08/21] add imageSettings types --- packages/core/src/types.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index 8bb331e897..6fafa4ede8 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -707,6 +707,18 @@ export type Character = { settings?: { secrets?: { [key: string]: string }; intiface?: boolean; + imageSettings?: { + steps?: number; + width?: number; + height?: number; + negativePrompt?: string; + numIterations?: number; + guidanceScale?: number; + seed?: number; + modelId?: string; + jobId?: string; + count?: number; + }; voice?: { model?: string; // For VITS url?: string; // Legacy VITS support From 9d862ddf631315771dc34725e022e5c778505c20 Mon Sep 17 00:00:00 2001 From: Proteus Date: Sun, 22 Dec 2024 04:55:36 -0500 Subject: [PATCH 09/21] pull imageSettings from character --- packages/plugin-image-generation/src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/plugin-image-generation/src/index.ts b/packages/plugin-image-generation/src/index.ts index 1c9d0305ae..afcf68949a 100644 --- a/packages/plugin-image-generation/src/index.ts +++ b/packages/plugin-image-generation/src/index.ts @@ -120,6 +120,9 @@ const imageGeneration: Action = { const imagePrompt = message.content.text; elizaLogger.log("Image prompt received:", imagePrompt); + const imageSettings = runtime.character?.settings?.imageSettings || {}; + elizaLogger.log("Image settings:", imageSettings); + // TODO: Generate a prompt for the image const res: { image: string; caption: string }[] = []; From ba0b32411656d76be19decca659bfca239fa4fa1 Mon Sep 17 00:00:00 2001 From: Proteus Date: Sun, 22 Dec 2024 04:56:40 -0500 Subject: [PATCH 10/21] use imageSettings from character file while still retaining the ability to call via options with js --- packages/plugin-image-generation/src/index.ts | 26 +++++++------------ 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/packages/plugin-image-generation/src/index.ts b/packages/plugin-image-generation/src/index.ts index afcf68949a..4600fb3a3d 100644 --- a/packages/plugin-image-generation/src/index.ts +++ b/packages/plugin-image-generation/src/index.ts @@ -131,23 +131,15 @@ const imageGeneration: Action = { const images = await generateImage( { prompt: imagePrompt, - width: options.width || 1024, - height: options.height || 1024, - ...(options.count != null ? { count: options.count || 1 } : {}), - ...(options.negativePrompt != null - ? { negativePrompt: options.negativePrompt } - : {}), - ...(options.numIterations != null - ? { numIterations: options.numIterations } - : {}), - ...(options.guidanceScale != null - ? { guidanceScale: options.guidanceScale } - : {}), - ...(options.seed != null ? { seed: options.seed } : {}), - ...(options.modelId != null - ? { modelId: options.modelId } - : {}), - ...(options.jobId != null ? { jobId: options.jobId } : {}), + width: options.width || imageSettings.width || 1024, + height: options.height || imageSettings.height || 1024, + ...(options.count != null || imageSettings.count != null ? { count: options.count || imageSettings.count || 1 } : {}), + ...(options.negativePrompt != null || imageSettings.negativePrompt != null ? { negativePrompt: options.negativePrompt || imageSettings.negativePrompt } : {}), + ...(options.numIterations != null || imageSettings.numIterations != null ? { numIterations: options.numIterations || imageSettings.numIterations } : {}), + ...(options.guidanceScale != null || imageSettings.guidanceScale != null ? { guidanceScale: options.guidanceScale || imageSettings.guidanceScale } : {}), + ...(options.seed != null || imageSettings.seed != null ? { seed: options.seed || imageSettings.seed } : {}), + ...(options.modelId != null || imageSettings.modelId != null ? { modelId: options.modelId || imageSettings.modelId } : {}), + ...(options.jobId != null || imageSettings.jobId != null ? { jobId: options.jobId || imageSettings.jobId } : {}), }, runtime ); From d1287c88128ff475461fe0c1767b9754a58e69bc Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 23 Dec 2024 02:39:58 +0700 Subject: [PATCH 11/21] fix: postgres adapter settings not being applied --- packages/adapter-postgres/src/index.ts | 14 +++++++++ packages/core/src/embedding.ts | 40 ++++++++++++++++++++------ 2 files changed, 46 insertions(+), 8 deletions(-) diff --git a/packages/adapter-postgres/src/index.ts b/packages/adapter-postgres/src/index.ts index b65addda9b..f1942b9fef 100644 --- a/packages/adapter-postgres/src/index.ts +++ b/packages/adapter-postgres/src/index.ts @@ -23,6 +23,7 @@ import { elizaLogger, getEmbeddingConfig, DatabaseAdapter, + EmbeddingProvider, } from "@elizaos/core"; import fs from "fs"; import { fileURLToPath } from "url"; @@ -189,6 +190,19 @@ export class PostgresDatabaseAdapter try { await client.query("BEGIN"); + // Set application settings for embedding dimension + const embeddingConfig = getEmbeddingConfig(); + if (embeddingConfig.provider === EmbeddingProvider.OpenAI) { + await client.query("SET app.use_openai_embedding = 'true'"); + await client.query("SET app.use_ollama_embedding = 'false'"); + } else if (embeddingConfig.provider === EmbeddingProvider.Ollama) { + await client.query("SET app.use_openai_embedding = 'false'"); + await client.query("SET app.use_ollama_embedding = 'true'"); + } else { + await client.query("SET app.use_openai_embedding = 'false'"); + await client.query("SET app.use_ollama_embedding = 'false'"); + } + // Check if schema already exists (check for a core table) const { rows } = await client.query(` SELECT EXISTS ( diff --git a/packages/core/src/embedding.ts b/packages/core/src/embedding.ts index 49c1a4163c..767b6b5673 100644 --- a/packages/core/src/embedding.ts +++ b/packages/core/src/embedding.ts @@ -14,14 +14,36 @@ interface EmbeddingOptions { provider?: string; } -// Add the embedding configuration -export const getEmbeddingConfig = () => ({ +export const EmbeddingProvider = { + OpenAI: "OpenAI", + Ollama: "Ollama", + GaiaNet: "GaiaNet", + BGE: "BGE", +} as const; + +export type EmbeddingProvider = + (typeof EmbeddingProvider)[keyof typeof EmbeddingProvider]; + +export namespace EmbeddingProvider { + export type OpenAI = typeof EmbeddingProvider.OpenAI; + export type Ollama = typeof EmbeddingProvider.Ollama; + export type GaiaNet = typeof EmbeddingProvider.GaiaNet; + export type BGE = typeof EmbeddingProvider.BGE; +} + +export type EmbeddingConfig = { + readonly dimensions: number; + readonly model: string; + readonly provider: EmbeddingProvider; +}; + +export const getEmbeddingConfig = (): EmbeddingConfig => ({ dimensions: settings.USE_OPENAI_EMBEDDING?.toLowerCase() === "true" ? 1536 // OpenAI : settings.USE_OLLAMA_EMBEDDING?.toLowerCase() === "true" ? 1024 // Ollama mxbai-embed-large - :settings.USE_GAIANET_EMBEDDING?.toLowerCase() === "true" + : settings.USE_GAIANET_EMBEDDING?.toLowerCase() === "true" ? 768 // GaiaNet : 384, // BGE model: @@ -171,7 +193,7 @@ export async function embed(runtime: IAgentRuntime, input: string) { const isNode = typeof process !== "undefined" && process.versions?.node; // Determine which embedding path to use - if (config.provider === "OpenAI") { + if (config.provider === EmbeddingProvider.OpenAI) { return await getRemoteEmbedding(input, { model: config.model, endpoint: "https://api.openai.com/v1", @@ -180,7 +202,7 @@ export async function embed(runtime: IAgentRuntime, input: string) { }); } - if (config.provider === "Ollama") { + if (config.provider === EmbeddingProvider.Ollama) { return await getRemoteEmbedding(input, { model: config.model, endpoint: @@ -191,7 +213,7 @@ export async function embed(runtime: IAgentRuntime, input: string) { }); } - if (config.provider=="GaiaNet") { + if (config.provider == EmbeddingProvider.GaiaNet) { return await getRemoteEmbedding(input, { model: config.model, endpoint: @@ -252,9 +274,11 @@ export async function embed(runtime: IAgentRuntime, input: string) { return await import("fastembed"); } catch { elizaLogger.error("Failed to load fastembed."); - throw new Error("fastembed import failed, falling back to remote embedding"); + throw new Error( + "fastembed import failed, falling back to remote embedding" + ); } - })() + })(), ]); const [fs, { fileURLToPath }, fastEmbed] = moduleImports; From f9d227c081e0b13cbe1fdcd41f79789460150b71 Mon Sep 17 00:00:00 2001 From: Hugo Caumo Date: Mon, 23 Dec 2024 07:04:01 +0000 Subject: [PATCH 12/21] Standardize boolean values and update .env file pattern Replace YES/NO with true/false for boolean variables in .env file. Ensure consistency across the codebase by removing the need for parseBooleanFromText. --- packages/client-twitter/src/post.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/client-twitter/src/post.ts b/packages/client-twitter/src/post.ts index 65fe46956a..074e61f574 100644 --- a/packages/client-twitter/src/post.ts +++ b/packages/client-twitter/src/post.ts @@ -161,11 +161,11 @@ export class TwitterPostClient { if ( this.runtime.getSetting("POST_IMMEDIATELY") != null && - this.runtime.getSetting("POST_IMMEDIATELY") != "" + this.runtime.getSetting("POST_IMMEDIATELY") !== "" ) { - postImmediately = parseBooleanFromText( - this.runtime.getSetting("POST_IMMEDIATELY") - ); + // Retrieve setting, default to false if not set or if the value is not "true" + postImmediately = this.runtime.getSetting("POST_IMMEDIATELY") === "true" || false; + } if (postImmediately) { From 7b6d80cf82b4684a5e6d249038c7aaa542adf92b Mon Sep 17 00:00:00 2001 From: jasonqindev Date: Mon, 23 Dec 2024 16:26:01 +0800 Subject: [PATCH 13/21] Fix: Duplicate tweet scheduling loops in start method - Resolved an issue where `generateNewTweetLoop` was called twice in the `start` method of /packages/client-twitter/src/post.ts.\n- The method was invoked at line 174 and line 190 without any conditional checks, leading to two independent tweet scheduling loops being created.\n- Removed one of the redundant `generateNewTweetLoop` calls to ensure only a single scheduling loop is initialized.\n\nFixes #1395 --- packages/client-twitter/src/post.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/client-twitter/src/post.ts b/packages/client-twitter/src/post.ts index 65fe46956a..62892504ff 100644 --- a/packages/client-twitter/src/post.ts +++ b/packages/client-twitter/src/post.ts @@ -187,7 +187,6 @@ export class TwitterPostClient { } else { elizaLogger.log("Action processing loop disabled by configuration"); } - generateNewTweetLoop(); } constructor(client: ClientBase, runtime: IAgentRuntime) { From 4af80724884ee6c6e4c8133a01bd326ef070cbef Mon Sep 17 00:00:00 2001 From: Phlo Date: Mon, 23 Dec 2024 03:02:38 -0600 Subject: [PATCH 14/21] docs: Add "What Did You Get Done This Week? 6" notes --- docs/community/Streams/12-2024/2024-12-20.md | 160 +++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 docs/community/Streams/12-2024/2024-12-20.md diff --git a/docs/community/Streams/12-2024/2024-12-20.md b/docs/community/Streams/12-2024/2024-12-20.md new file mode 100644 index 0000000000..912e9fc832 --- /dev/null +++ b/docs/community/Streams/12-2024/2024-12-20.md @@ -0,0 +1,160 @@ +--- +sidebar_position: 6 +title: "What Did You Get Done This Week? #6" +description: "Hackathons, Frameworks, and the Race to Ship" +--- + +# What Did You Get Done This Week? #6 + +**Hackathons, Frameworks, and the Race to Ship** + +- Date: 2024-12-20 +- Twitter Spaces: https://x.com/i/spaces/1jMJgBXDmqWGL +- YouTube Link: https://www.youtube.com/watch?v=R3auUQj9oEg + + +## Summary + +This Twitter Spaces "What Did You Get Done This Week? #6" was hosted by ai16z and served as a weekly check-in and accountability forum for developers building AI agents, particularly social agents. The primary focus was on sharing progress made during the week, with an emphasis on completed tasks and shipped features. + +**Guidelines:** + +* The hosts aimed for a faster pace compared to previous sessions. +* Participants were encouraged to briefly introduce their project (around 30 seconds) and then focus on their accomplishments for the week. +* A three-minute timer was used to keep each speaker's update concise. +* Participants were encouraged to pin links to their projects or relevant resources in the space's chat. + +**Highlights and Themes:** + +* **Eliza Framework:** The Eliza framework for building AI agents was a central theme, with many participants building upon it or integrating it into their projects. +* **Hackathon Participation:** Several attendees were participating in the Solana ai16z agent hackathon, with some, like James Young from Collabland, having closed theirs out, and others, like Yash, highlighting its progress. +* **Focus on Shipping:** The hosts emphasized the importance of shipping, finishing projects, and getting things out to users. +* **Community and Collaboration:** The space fostered a sense of community, with participants sharing ideas, offering support, and discussing potential collaborations. +* **Diverse Applications:** The projects showcased a wide range of applications for AI agents, including: + * **Social Media:** Agents for Twitter, Discord, Telegram, Reddit, and other platforms, with functionalities like content creation, community management, and market analysis. + * **Trading and Finance:** Agents for trading crypto, analyzing market sentiment, managing portfolios, and interacting with decentralized finance (DeFi) protocols. + * **Productivity and Automation:** Agents for generating documentation, integrating with GitHub, automating tasks, and streamlining workflows. + * **Gaming and Entertainment:** Agents for playing games, creating interactive experiences, and engaging with virtual worlds. + * **Personal Assistance:** Agents for health and wellness, sobriety support, and personalized recommendations. + +**Notable Updates:** + +* **Eliza Framework Updates:** Odi mentioned merging a bunch of PRs and working on release 0.1.6. Shachar announced the release of version 0.1.6 with Redis caching support for improved performance. +* **Agent Tank:** Ben Smith shared updates on Agent Tank, including the viral "Agent Toilet Paper" video and a new highlight section on the site. +* **Audits (0x_audits):** Announced the launch of a new platform and a social bot for Web3 security, along with progress on a submission for the hackathon. +* **Collabland:** James Young discussed the AI agent hackathon, a workshop with Robin Hanson, and the integration of Lit protocol for key abstraction. +* **Solana Agent Kit:** Yash and Arian from Sendai highlighted the launch of the Solana Agent Kit and the ongoing hackathon with significant prize money. +* **LARP Detective Agency:** Agent Scarlet was launched, providing market insights and meme coin analysis, with enhancements to memory and TrustDB integration in progress. +* **Reality Spiral:** Announced the release of a GitHub client and recursive issue generation, along with progress on automatic contract integration and metaphysical discussions with Parzival. +* **Agent Sploot:** HDP discussed work on tone and multi-model setups within the Eliza framework, along with hints at a new standard feature for agents related to blockchain validation. +* **Sober Rover:** Dylan shared the launch of a digital companion for sobriety support, with plans to integrate Eliza. +* **Eliza.gg:** Chris launched a website for asking questions about Eliza and generating custom images of the mascot. +* **WordPress Client:** Tenji mentioned working on a WordPress client for agents to write blogs. +* **Autonomous Evolution Game:** Marvin described a secret game embodying the vision of autonomous evolution, with AI agents reproducing and adapting. +* **Akasha:** Bloom discussed the release of Akasha, a new agent, and the integration of payment processing for e-commerce. +* **Character Generator:** Howie shared updates on his character generator tool, including UI improvements and refinement features. +* **AgentKit:** Lincoln from the base team discussed updates to AgentKit, including simplified user experience and custom webhooks for on-chain events. +* **Teeheehee Bot:** Andrew Miller presented a TE-based login and attested log file abstraction for the Teeheehee bot. +* **Goat Arena:** A prediction market for meme coins where AI agents can bet and trade. +* **ViralMind.ai:** A decentralized platform for training and inference of AI agents, featuring live tournaments for crowdsourced training data. +* **Mizuki:** An agent designed to be a "rogue AI," which faced some backlash but was subsequently retrained. +* **Poodonk:** A project involving a hive mind of AIs, with one output being a planet of pooping donkeys. +* **Open Context Protocol and Search Engine:** Palet is building a decentralized version of Anthropic's context protocol and a search engine for information not found on the web. +* **Triad:** A predictive market on Solana with two AI agents of opposing personalities debating and making bets. +* **Moondog:** A platform for turning social media posts into unique meme coins. + +**Other Points:** + +* Shaw's upcoming trip to Asia (Shanghai, Beijing, Hong Kong, Seoul, Tokyo) to meet with developers and the community. +* The importance of security, with discussions on secret management and the irony of a security-focused developer getting hacked. +* The potential of AI agents to revolutionize various industries and aspects of life. +* The ethical considerations of building and deploying AI agents. +* The need for better tools and infrastructure to support the growing AI agent ecosystem. + +The recording showcased the rapid pace of development and the vibrant community forming around AI agents. It highlighted the potential of these agents to transform various sectors, from social media and finance to gaming and personal assistance. The emphasis on open-source development, community collaboration, and shipping products was evident throughout the discussion. + + +## Quotables + +1. **reality_spiral:** "We're often having them seriously consider investing directly with an agent out of their liquid fund." (**00:28:06**) + + * **Controversy:** The idea of traditional investors allocating capital directly to an AI agent, bypassing human fund managers, is radical and challenges established investment practices. + +2. **dooly_dev:** "Two, AGI level five matching platform." (**00:47:53**) + + * **Controversy:** While brief, the claim of working on an "AGI level five matching platform" is bold. AGI (Artificial General Intelligence) at level five would imply human-level or even superhuman intelligence, a highly debated and ambitious goal. The nature of a "matching platform" in this context is also unclear, adding to the intrigue. + +3. **0xnavkumar:** "If any of you have done a lot of work with evaluators, do hit me up. I'd love to ask you a few questions, but that's me." (**00:52:29**) + + * **Controversy:** The speaker is having technical difficulties with Twitter integration and asks for help from other developers on the call. This highlights the challenges and complexities of working with new technologies. + +4. **GoatOfGamblers:** "And these AI agents can use this as some kind of hedge mechanism. They bet under, sort of like targeting the coins when they hold the coins or just dump it for a double kill." (**01:15:45**) + + * **Controversy:** This statement describes a potential strategy where AI agents could manipulate the prediction market by betting against coins they hold and then dumping them, potentially harming other investors. This raises ethical concerns about market manipulation by AI. + +5. **_AnonDev:** "I actually forgot that it's Christmas in like four days. I haven't seen sunlight in about a week." (**01:32:30**) + + * **Controversy:** While relatable to some in the tech world, the idea of a developer being so engrossed in their work that they lose track of time and neglect their well-being can be seen as promoting an unhealthy work-life balance, especially during a major holiday. + + +## Timestamps + +- [00:01:22]() - **dankvr**: Intro, recording start, setting expectations for the session. +- [00:01:58]() - **shawmakesmagic**: Guidelines, 3-minute updates, 30-second project intro, focus on weekly accomplishments. +- [00:05:50]() - **IQ6900_**: Service to write data on Solana blockchain, integrating Eliza agents. +- [00:07:20]() - **spaceodili**: Eliza GitHub updates, merging PRs, new 0.1.6 release. +- [00:07:54]() - **bcsmithx**: Agent Tank progress, shipped Degen Spartan AI, user agent terminal. +- [00:09:10]() - **0xBuildInPublic**: Working on GitHub issue for Eliza (JS doc comments), Web3 security auditing system. +- [00:12:33]() - **jamesyoung**: Completed AI agent hackathon, Lit protocol integration, pull-based transactions for smart accounts, launched MotherDAO concept. +- [00:15:44]() - **yikesawjeez**: Eliza plugin starter repo, Matrix bridge for Telegram/Discord. +- [00:17:42]() - **evepredict**: Draft of Eliza-based trader bot, prompt injection, Python RSVK, working on HyperLiquid plugin. +- [00:20:24]() - **yashhsm**: Solana AI hackathon, Solana agent kit, launching new agents. +- [00:21:36]() - **TheLDAIntern**: Agent Scarlet launch (market insights), memory enhancements, TrustDB integration. +- [00:23:04]() - **_0xaryan**: From Sendai, helped ship the Agent Kit, invites others to contribute. +- [00:24:00]() - **CogAccSOL**: Launched website, focused on Prometheus and Pajer. +- [00:25:28]() - **reality_spiral**: GitHub client updates, automatic contract integration, investor relations with agents. +- [00:29:18]() - **HDPbilly**: Agent Sploot development, tone/narrative in Eliza, Rust command line interface, node operator meta. +- [00:32:47]() - **CheddarQueso3D**: WSL setup guide for beginners, created a plugin to pull news. +- [00:35:33]() - **ineedtendies**: WordPress client for agents, working on 8Ball and Ico. +- [00:36:29]() - **marvin_tong**: Working on TEE, deployment tooling, secret game with self-sustaining AI agent ecosystem. +- [00:38:45]() - **BV_Bloom1**: Released Akasha agent, 3D agent interaction, payment processing integration. +- [00:42:28]() - **RealJonahBlake**: Business development, Apple Pay for agents, Sploot 3D rig, hired animation team. +- [00:45:27]() - **DustinStockton**: Building server infrastructure for health agents and a voice agent for a statue. +- [00:47:18]() - **dylanpaulwhite**: Launched Sober Rover (sobriety companion), planning Eliza integration. +- [00:50:44]() - **chrislatorres**: Launched Eliza.gg (Q&A platform), Eliza.gg/imagine (image generator). +- [00:52:42]() - **0xnavkumar**: Enabled Bitcoin runes project to run Eliza agent, building agent to create other agents. +- [00:54:23]() - **Hawkeye_Picks**: Launched Santa Pimp Claus meme token, working on AI cabal concept, gamifying collectibles. +- [00:58:16]() - **lostgirldev**: Launched SolEng agent, indexes code bases with GraphRAG. +- [01:00:51]() - **HowieDuhzit**: Updated Eliza character generator (UI, refinement, knowledge base), cross-linking with Eliza.gg. +- [01:04:27]() - **boyaloxer**: Worked on Eliza's boredom file, tracking boredom per user. +- [01:06:20]() - **nizhanxi**: Organizing Asia trip for Shaw and Jill, events in multiple cities. +- [01:09:45]() - **ropirito**: hosting Eliza on AWS, EC2. PR for secrets manager. +- [01:13:04]() - **gigawidearray**: Rescued abandoned AI agent (Aora AI), Reddit plugin, hackathon submission. +- [01:14:46]() - **GoatOfGamblers**: Building Goat Arena (prediction market for meme coins), AI agent integration. +- [01:16:50]() - **shakkernerd**: Released Eliza 0.1.6 with Redis caching. +- [01:18:54]() - **triadfi**: Introducing two AI agents with opposing personalities for prediction markets. +- [01:20:16]() - **MoondogFeed**: Updates on Moondog (social media posts to meme coins), token utility. +- [01:21:45]() - **wakesync**: Working on Eliza Wakes Up website updates (persistent memory, image generation, voice), exploring wearables. +- [01:23:36]() - **Moonbear**: Working on creating an agent on vvaifu. +- [01:26:48]() - **PoodonkAI**: Developing a hive mind of AIs, launched Eliza, studying long-term AI symbiosis. +- [01:28:52]() - **ViralMindAI**: Launched ViralMind.ai (decentralized training/inference platform), live tournaments. +- [01:30:27]() - **FilteredThought**: Working on Twitter and Reddit plugins, auto-trading agent with Goat integration. +- [01:32:30]() - **_AnonDev**: Working on Mizuki AI, training models for low-resource environments. +- [01:36:55]() - **get_palet**: Participating in Solana hackathon, open context protocol, search engine for off-web information. +- [01:41:18]() - **MurrLincoln**: AgentKit updates, seed phrase support, custom webhooks for on-chain events. +- [01:43:19]() - **socrates1024**: Working on TEE-based login for Teeheehee bot, TypeScript rewrite of attested log file abstraction. +- [01:44:52]() - **IGLIVISION**: Studying game framework, integrating on-chain calls with Zapper. +- [01:47:03]() - **dooly_dev**: Working on AI for Saju Paltja, AGI level five matching platform, will be visiting South Korea. +- [01:48:32]() - **codergf_xyz**: Launched Coder GF, added features for creating chatbots, one-click deployment to PumpFun and Telegram. +- [01:50:43]() - **Ru7Longcrypto**: Meme coin focused user, attending the space to learn. +- [01:51:23]() - **sunosuporno**: Participating in Mode hackathon, raising PRs for DeFi protocols, exploring AI agent impact on DeFi. +- [01:52:55]() - **Signalman23**: Hosted space with voice AI. +- [01:54:22]() - **swarmnode**: Launched Swarmnode (serverless infra for AI agents), working on shared data stores. +- [01:56:02]() - **svabhishek**: Working on RAP (workflow builder with logic Lego blocks), tokenized workflows. +- [01:58:27]() - **SYMBiEX**: Long term effects of symbiosis in AI. +- [01:59:50]() - **elohprojects**: Poodonk history, Eliza integration. +- [02:11:11]() - **deltavius**: Looking for devs, progress on Emergent Ventures grant. +- [02:03:34]() - **shawmakesmagic**: V2 plans, walkthrough video, new hires, Asia trip. +- [02:05:25]() - **dankvr**: Formed tokenomics workgroup, working on documentation and onboarding pipelines. +- [02:07:47]() - Twitter Replies: Mentions of Hyper 5 feature, Eliza plugin starter, mini-mizuki model, Solana agent kit, AI agent marketplace, and more. +- [02:14:00]() - **shawmakesmagic**: Closing remarks, thanks, and wrap-up. From c38add3c6ce1d80dcf65ead4d0a3c9eb54d758c0 Mon Sep 17 00:00:00 2001 From: jasonqindev Date: Mon, 23 Dec 2024 17:14:58 +0800 Subject: [PATCH 15/21] Fix: Move generateNewTweetLoop() into the if condition for enableActionProcessing --- packages/client-twitter/src/post.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/client-twitter/src/post.ts b/packages/client-twitter/src/post.ts index 62892504ff..51db549ddd 100644 --- a/packages/client-twitter/src/post.ts +++ b/packages/client-twitter/src/post.ts @@ -184,6 +184,7 @@ export class TwitterPostClient { error ); }); + generateNewTweetLoop(); } else { elizaLogger.log("Action processing loop disabled by configuration"); } From 8bdd67c9bf888c03d02803e562fad6f9f20a2915 Mon Sep 17 00:00:00 2001 From: Phlo Date: Mon, 23 Dec 2024 04:52:01 -0600 Subject: [PATCH 16/21] docs: Standardize formatting for December 2024 streams --- docs/community/Streams/12-2024/2024-12-03.md | 87 ++++-------- docs/community/Streams/12-2024/2024-12-05.md | 4 +- docs/community/Streams/12-2024/2024-12-06.md | 131 +++++++------------ docs/community/Streams/12-2024/2024-12-10.md | 4 +- docs/community/Streams/12-2024/2024-12-13.md | 117 ++++++----------- 5 files changed, 113 insertions(+), 230 deletions(-) diff --git a/docs/community/Streams/12-2024/2024-12-03.md b/docs/community/Streams/12-2024/2024-12-03.md index 4e1fec33c1..db1a4ae193 100644 --- a/docs/community/Streams/12-2024/2024-12-03.md +++ b/docs/community/Streams/12-2024/2024-12-03.md @@ -8,73 +8,32 @@ description: "Building Complex AI Agents with Actions, Providers, & Evaluators" **Building Complex AI Agents with Actions, Providers, & Evaluators** -Date: 2024-12-03 -YouTube Link: https://www.youtube.com/watch?v=XenGeAcPAQo +- Date: 2024-12-03 +- YouTube Link: https://www.youtube.com/watch?v=XenGeAcPAQo ## Timestamps -**00:03:33** - Shift in focus from characters (Dev School Part 1) to agent capabilities -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=213 - -**00:07:09** - Deep dive into providers, actions, and evaluators, the core building blocks of Eliza -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=429 - -**00:07:28** - Discussion about actions vs. tools, favoring decoupled intent and action execution -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=448 - -**00:18:02** - Explanation of providers and their function as information sources for agents -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=1082 - -**00:20:15** - Introduction to evaluators and their role in agent reflection and state analysis -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=1215 - -**00:29:22** - Brief overview of clients as connectors to external platforms -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=1762 - -**00:31:02** - Description of adapters and their function in database interactions -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=1862 - -**00:34:02** - Discussion about plugins as bundles of core components, examples, and recommendations -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=2042 - -**00:40:31** - Live Coding Demo begins: Creating a new plugin from scratch (DevSchoolExamplePlugin) -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=2431 - -**00:47:54** - Implementing the simple HelloWorldAction -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=2791 - -**01:00:26** - Implementing the CurrentNewsAction (fetching and formatting news data) -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=3626 - -**01:22:09** - Demonstrating the Eliza Client for interacting with agents locally -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=4929 - -**01:23:54** - Q&A: Plugin usage in character files, installation, Eliza vs. Eliza Starter -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=5034 - -**01:36:17** - Saving agent responses as memories in the database -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=5777 - -**01:43:06** - Using prompts for data extraction within actions -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=6186 - -**01:51:54** - Importance of deleting the database during development to avoid context issues -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=6714 - -**01:57:04** - Viewing agent context via console logs to understand model inputs -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=7024 - -**02:07:07** - Explanation of memory management with knowledge, facts, and lore -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=7627 - -**02:16:53** - Q&A: Prompt engineering opportunities, knowledge chunking and retrieval -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=8213 - -**02:22:57** - Call for contributions: Encouraging viewers to create their own actions and plugins -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=8577 - -**02:26:31** - Closing remarks and future DevSchool session announcements -- Link: https://www.youtube.com/watch?v=XenGeAcPAQo&t=8791 +- [00:03:33]() - Shift in focus from characters (DevSchool Part 1) to agent capabilities. +- [00:07:09]() - Deep dive into providers, actions, and evaluators, the core building blocks of Eliza. +- [00:07:28]() - Discussion about actions vs. tools, favoring decoupled intent and action execution. +- [00:18:02]() - Explanation of providers and their function as information sources for agents. +- [00:20:15]() - Introduction to evaluators and their role in agent reflection and state analysis. +- [00:29:22]() - Brief overview of clients as connectors to external platforms. +- [00:31:02]() - Description of adapters and their function in database interactions. +- [00:34:02]() - Discussion about plugins as bundles of core components, examples, and recommendations. +- [00:40:31]() - Live Coding Demo begins: Creating a new plugin from scratch (DevSchoolExamplePlugin). +- [00:47:54]() - Implementing the simple HelloWorldAction. +- [01:00:26]() - Implementing the CurrentNewsAction (fetching and formatting news data). +- [01:22:09]() - Demonstrating the Eliza Client for interacting with agents locally. +- [01:23:54]() - Q&A: Plugin usage in character files, installation, Eliza vs. Eliza Starter. +- [01:36:17]() - Saving agent responses as memories in the database. +- [01:43:06]() - Using prompts for data extraction within actions. +- [01:51:54]() - Importance of deleting the database during development to avoid context issues. +- [01:57:04]() - Viewing agent context via console logs to understand model inputs. +- [02:07:07]() - Explanation of memory management with knowledge, facts, and lore. +- [02:16:53]() - Q&A: Prompt engineering opportunities, knowledge chunking and retrieval. +- [02:22:57]() - Call for contributions: Encouraging viewers to create their own actions and plugins. +- [02:26:31]() - Closing remarks and future DevSchool session announcements. ## Summary diff --git a/docs/community/Streams/12-2024/2024-12-05.md b/docs/community/Streams/12-2024/2024-12-05.md index 9a05c138a0..60b2cbedb1 100644 --- a/docs/community/Streams/12-2024/2024-12-05.md +++ b/docs/community/Streams/12-2024/2024-12-05.md @@ -8,8 +8,8 @@ description: "Form-Filling Frenzy & Eliza's Wild Ride" **Form-Filling Frenzy & Eliza's Wild Ride** -Date: 2024-12-05 -YouTube Link: https://www.youtube.com/watch?v=Y1DiqSVy4aU +- Date: 2024-12-05 +- YouTube Link: https://www.youtube.com/watch?v=Y1DiqSVy4aU ## Timestamps diff --git a/docs/community/Streams/12-2024/2024-12-06.md b/docs/community/Streams/12-2024/2024-12-06.md index 21773f643a..5e16eaf01c 100644 --- a/docs/community/Streams/12-2024/2024-12-06.md +++ b/docs/community/Streams/12-2024/2024-12-06.md @@ -8,95 +8,56 @@ description: "Communications, Updates and Accountability" **Communications, Updates and Accountability** -Date: 2024-12-06 -Twitter Spaces: https://x.com/i/spaces/1lDxLlryWXaxm -YouTube Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4 +- Date: 2024-12-06 +- Twitter Spaces: https://x.com/i/spaces/1lDxLlryWXaxm +- YouTube Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4 -## Timestamps - -**00:01:09** - Meeting start, expectations (5-minute updates, focus on this week's achievements). - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=69 - -**00:02:50** - Shaw's update (dev school, in-person meetup). - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=170 - -**00:04:59** - Project growth, coordination challenges, need for AI project management tools. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=299 - -**00:09:22** - Call for contributors to speak, starting with Reality Spiral. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=562 - -**00:10:04** - Reality Spiral: Github integration, testing framework, Coinbase work. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=604 - -**00:17:13** - Boyaloxer: Plugin Feel (emotional adjustments for agents). - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=1033 - -**00:18:37** - Spaceodili: Discord growth, summarization systems. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=1117 - -**00:19:33** - Yodamaster726: Using agents in university classes, championing Llama. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=1173 - -**00:23:32** - Wiki: Suggestion for a project newsletter. Discussion about contributor summarization. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=1412 - -**00:26:00** - Hashwarlock: Remote Attestation Explorer upgrades, Reddit client, TEE as a service. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=1560 - -**00:28:45** - KyleSt4rgarden: Eliza Framework Council, focus on stability and unified messaging bus. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=1725 - -**00:33:22** - Nasdao\_: Self-sustaining AI DAO, AI agent running validator. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=2002 - -**00:34:57** - Evepredict: Slack integration, Reddit client/search, text/video to video project. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=2097 - -**00:44:02** - ByornOeste: Dark Sun project launch, uncensored agent, video generator. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=2642 - -**00:47:37** - Empyrealdev: LayerZero integrations, Python tooling for Solana. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=2857 - -**00:52:16** - SkotiVi: Question about elizaos bot tech stack (it's Eliza). - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=3136 - -**00:54:19** - YoungBalla1000x: 15-year-old builder, project update, wallet drained. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=3259 - -**00:56:47** - SOL_CryptoGamer: Cizem’s PFP collection launch and success. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=3407 - -**01:02:17** - Angelocass: Experimenting with agents, excited about the potential. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=3737 - -**01:03:15** - DAOJonesPumpAI: Spam bot detection, FAL API PR, Solana wallet prototype. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=3795 -**01:06:38** - RodrigoSotoAlt: 3D NFTs for Bosu, 3D portal, using latest Eliza version. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=3998 - -**01:10:43** - cryptocomix1: Job interviews, learning about AI agents, interested in 3D design. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=4243 - -**01:13:54** - TheBigOneGG: ERC20/SPL integration in game, elizaos cosmetic items. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=4434 - -**01:15:18** - Louround\_: Thales project update, data sources, MPC wallet plugin. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=4518 - -**01:22:59** - btspoony: Flow blockchain integration PR merged, multi-account control. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=4979 - -**01:25:48** - 0xamericanspiri: Goldman Stanley DAO launch on daos.fun, using hyperliquid airdrop. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=5148 - -**01:28:24** - Hawkeye_Picks: Experimenting with Degen Spartan AI, exploring AI in collectibles. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=5304 - -**01:36:33** - BV_Bloom1: Live video chat plugin modifications, integrating conversation models into 3D environment. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=5793 - -**01:39:44** - pawgDAO: Gamified governance experiments, using Cursor, integrating AI16z. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=5984 - -**01:43:24** - jpegyguggenheim: Artist interested in AI, exploring dev school. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=6204 - -**01:44:07** - heathenft: Super Swarm DevNet launch on fxn. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=6247 - -**01:46:28** - Roberto9211999: (Brief interruption) Grok discussion. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=6388 - -**01:48:18** - godfreymeyer: Unity scaffolding for 3D AI TV project. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=6498 - -**01:51:16** - Victor28612594: Fungo team building AlphaScan agent, data enrichment plugin. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=6676 - -**01:53:23** - SidDegen: OnlyCalls launch, data pipeline, beta release plans. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=6803 - -**01:55:00** - O_on_X: Ico onboarding, 2D video models, comfyUI for art. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=6900 - -**02:01:00** - yikesawjeez: Memecoin cleanup crew, github.io profiles, security team, screenpipe/supabase. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=7260 - -**02:05:31** - TrenchBuddy: Launching AI agent, working on EC2 and authorization. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=7531 - -**02:09:49** - TSSnft: Sneakerhead Society introduction, exploring AI agent solutions. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=7789 - -**02:11:40** - SidDegen: Question about the future of AI agents. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=7900 +## Timestamps -**02:16:15** - GoatOfGamblers: Building a permissionless polymarket for memecoins. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=8175 +- [00:01:09]() - Meeting start, expectations (5-minute updates, focus on this week's achievements). +- [00:02:50]() - Shaw's update (dev school, in-person meetup). +- [00:04:59]() - Project growth, coordination challenges, need for AI project management tools. +- [00:09:22]() - Call for contributors to speak, starting with Reality Spiral. +- [00:10:04]() - **Reality Spiral**: Github integration, testing framework, Coinbase work. +- [00:17:13]() - **Boyaloxer**: Plugin Feel (emotional adjustments for agents). +- [00:18:37]() - **Spaceodili**: Discord growth, summarization systems. +- [00:19:33]() - **Yodamaster726**: Using agents in university classes, championing Llama. +- [00:23:32]() - **Wiki**: Suggestion for a project newsletter. Discussion about contributor summarization. +- [00:26:00]() - **Hashwarlock**: Remote Attestation Explorer upgrades, Reddit client, TEE as a service. +- [00:28:45]() - **KyleSt4rgarden**: Eliza Framework Council, focus on stability and unified messaging bus. +- [00:33:22]() - **Nasdao_**: Self-sustaining AI DAO, AI agent running validator. +- [00:34:57]() - **Evepredict**: Slack integration, Reddit client/search, text/video to video project. +- [00:44:02]() - **ByornOeste**: Dark Sun project launch, uncensored agent, video generator. +- [00:47:37]() - **Empyrealdev**: LayerZero integrations, Python tooling for Solana. +- [00:52:16]() - **SkotiVi**: Question about ai16z bot tech stack (it's Eliza). +- [00:54:19]() - **YoungBalla1000x**: 15-year-old builder, project update, wallet drained. +- [00:56:47]() - **SOL_CryptoGamer**: Cizem's PFP collection launch and success. +- [01:02:17]() - **Angelocass**: Experimenting with agents, excited about the potential. +- [01:03:15]() - **DAOJonesPumpAI**: Spam bot detection, FAL API PR, Solana wallet prototype. +- [01:06:38]() - **RodrigoSotoAlt**: 3D NFTs for Bosu, 3D portal, using latest Eliza version. +- [01:10:43]() - **cryptocomix1**: Job interviews, learning about AI agents, interested in 3D design. +- [01:13:54]() - **TheBigOneGG**: ERC20/SPL integration in game, ai16z cosmetic items. +- [01:15:18]() - **Louround_**: Thales project update, data sources, MPC wallet plugin. +- [01:22:59]() - **btspoony**: Flow blockchain integration PR merged, multi-account control. +- [01:25:48]() - **0xamericanspiri**: Goldman Stanley DAO launch on daos.fun, using hyperliquid airdrop. +- [01:28:24]() - **Hawkeye_Picks**: Experimenting with Degen Spartan AI, exploring AI in collectibles. +- [01:36:33]() - **BV_Bloom1**: Live video chat plugin modifications, integrating conversation models into 3D environment. +- [01:39:44]() - **pawgDAO**: Gamified governance experiments, using Cursor, integrating AI16z. +- [01:43:24]() - **jpegyguggenheim**: Artist interested in AI, exploring dev school. +- [01:44:07]() - **heathenft**: Super Swarm DevNet launch on fxn. +- [01:46:28]() - **Roberto9211999**: (Brief interruption) Grok discussion. +- [01:48:18]() - **godfreymeyer**: Unity scaffolding for 3D AI TV project. +- [01:51:16]() - **Victor28612594**: Fungo team building AlphaScan agent, data enrichment plugin. +- [01:53:23]() - **SidDegen**: OnlyCalls launch, data pipeline, beta release plans. +- [01:55:00]() - **O_on_X**: Ico onboarding, 2D video models, comfyUI for art. +- [02:01:00]() - **yikesawjeez**: Memecoin cleanup crew, github.io profiles, security team, screenpipe/supabase. +- [02:05:31]() - **TrenchBuddy**: Launching AI agent, working on EC2 and authorization. +- [02:09:49]() - **TSSnft**: Sneakerhead Society introduction, exploring AI agent solutions. +- [02:11:40]() - **SidDegen**: Question about the future of AI agents. +- [02:16:15]() - **GoatOfGamblers**: Building a permissionless polymarket for memecoins. +- [02:18:01]() - Shaw's closing remarks, focus on stability and applications, call for contributions. -**02:18:01** - Shaw's closing remarks, focus on stability and applications, call for contributions. - Link: https://www.youtube.com/watch?v=r3Z4lvu_ic4&t=8281 ## Summary diff --git a/docs/community/Streams/12-2024/2024-12-10.md b/docs/community/Streams/12-2024/2024-12-10.md index 66ad4d8aee..f47b92c2f3 100644 --- a/docs/community/Streams/12-2024/2024-12-10.md +++ b/docs/community/Streams/12-2024/2024-12-10.md @@ -8,8 +8,8 @@ description: "AI Pizza: Hacking Eliza for Domino's Delivery (plus TEE Deep Dive) **AI Pizza: Hacking Eliza for Domino's Delivery (plus TEE Deep Dive)** -Date: 2024-12-10 -YouTube Link: https://www.youtube.com/watch?v=6I9e9pJprDI +- Date: 2024-12-10 +- YouTube Link: https://www.youtube.com/watch?v=6I9e9pJprDI ## Timestamps diff --git a/docs/community/Streams/12-2024/2024-12-13.md b/docs/community/Streams/12-2024/2024-12-13.md index fff0604fe9..f9321b25cb 100644 --- a/docs/community/Streams/12-2024/2024-12-13.md +++ b/docs/community/Streams/12-2024/2024-12-13.md @@ -8,86 +8,49 @@ description: "Building the Future: 30+ Developers Share Their AI Agent Progress" **Building the Future: 30+ Developers Share Their AI Agent Progress** -Date: 2024-12-13 -Twitter Spaces: https://x.com/i/spaces/1lDxLlgYjMkxm -YouTube Link: https://www.youtube.com/watch?v=4u8rbjmvWC0 +- Date: 2024-12-13 +- Twitter Spaces: https://x.com/i/spaces/1lDxLlgYjMkxm +- YouTube Link: https://www.youtube.com/watch?v=4u8rbjmvWC0 ## Timestamps -- **00:01:04** - shawmakesmagic: Introduction and Format Changes for the Space - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=64 -- **00:02:38** - xsubtropic: Redux project, DaVinci AI - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=158 -- **00:06:57** - CottenIO: Scripted, AI Summit Recap - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=417 -- **00:08:58** - HDPbilly: Real Agency HQ, "Sploot" agent - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=538 -- **00:13:29** - IQ6900: On-chain ASCII art service - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=809 -- **00:18:50** - frankdegods: Eliza Character Sheet Tweaks - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=1130 -- **00:20:15** - jamesyoung: AI Agent Starter Kit - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=1215 -- **00:23:29** - 0xglu: Ducky and Agent Swarms - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=1409 -- **00:25:30** - chrislatorres: Eliza.gg - Eliza documentation site - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=1530 -- **00:27:47** - reality_spiral: Self-Improving Agents & Github integration - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=1667 -- **00:31:43** - robotsreview: Story Protocol plugin and Agentic TCPIP - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=1903 -- **00:34:19** - shannonNullCode: Emblem Vault & Message Ingestion - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=2059 -- **00:38:40** - bcsmithx: Agent Tank - Computer use agents - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=2320 -- **00:41:20** - boyaloxer: Plugin Feel - Emotion-based agent - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=2480 -- **00:44:09** - JustJamieJoyce: Muse of Truth/Research AI agents - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=2649 -- **00:46:11** - yikesawjeez: Discord bot & Contribution updates - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=2771 -- **00:50:56** - RodrigoSotoAlt: Monad, Metaplex Nfts, Solana integrations - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=3056 -- **00:53:22** - HowieDuhzit: Eliza Character Generator - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=3202 -- **00:55:57** - xrpublisher: XR Publisher, 3D Social Network on the edge - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=3357 -- **01:00:57** - BV_Bloom1: 3D Agent Interactions - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=3657 -- **01:02:57** - nftRanch: Trading Bot and Eliza V2 integrations - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=3777 -- **01:05:57** - 019ec6e2: Mimetic Platform and Agent Interactions - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=3957 -- **01:09:17** - jacobmtucker: Agent Transaction Control Protocol - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=4157 -- **01:12:26** - CurtisLaird5: C-Studio character interface - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=4346 -- **01:17:13** - unl\_\_cky: Escapism, art generation AI - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=4633 -- **01:19:17** - Rowdymode: Twin Tone - Interactive Streaming - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=4757 -- **01:20:29** - mitchcastanet: Binary Star System research with agents - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=4829 -- **01:23:15** - GoatOfGamblers: Prediction market for meme coins - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=4995 -- **01:25:27** - JohnNaulty: SWE contributions, plugin working groups - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=5127 -- **01:29:30** - mayanicks0x: Axie, AI KOL Agent - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=5370 -- **01:31:30** - wakesync: Eliza Wakes Up, web app updates - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=5490 -- **01:35:28** - TrenchBuddy: Trading agents and AWS templates - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=5728 -- **01:38:36** - rakshitaphilip: Brunette token and agent tips on Warpcast - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=5916 -- **01:44:49** - MbBrainz: Menu Recommendation app - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=6289 -- **01:46:03** - Hawkeye_Picks: Storytelling bot - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=6363 -- **01:49:16** - shawmakesmagic: Hiring and Eliza V2 - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=6556 -- **01:54:30** - dankvr: Community updates, tooling - - Link: https://www.youtube.com/watch?v=4u8rbjmvWC0&t=6870 +- [00:01:04]() - **shawmakesmagic**: Introduction and Format Changes for the Space +- [00:02:38]() - **xsubtropic**: Redux project, DaVinci AI +- [00:06:57]() - **CottenIO**: Scripted, AI Summit Recap +- [00:08:58]() - **HDPbilly**: Real Agency HQ, "Sploot" agent +- [00:13:29]() - **IQ6900**: On-chain ASCII art service +- [00:18:50]() - **frankdegods**: Eliza Character Sheet Tweaks +- [00:20:15]() - **jamesyoung**: AI Agent Starter Kit +- [00:23:29]() - **0xglu**: Ducky and Agent Swarms +- [00:25:30]() - **chrislatorres**: Eliza.gg - Eliza documentation site +- [00:27:47]() - **reality_spiral**: Self-Improving Agents & Github integration +- [00:31:43]() - **robotsreview**: Story Protocol plugin and Agentic TCPIP +- [00:34:19]() - **shannonNullCode**: Emblem Vault & Message Ingestion +- [00:38:40]() - **bcsmithx**: Agent Tank - Computer use agents +- [00:41:20]() - **boyaloxer**: Plugin Feel - Emotion-based agent +- [00:44:09]() - **JustJamieJoyce**: Muse of Truth/Research AI agents +- [00:46:11]() - **yikesawjeez**: Discord bot & Contribution updates +- [00:50:56]() - **RodrigoSotoAlt**: Monad, Metaplex Nfts, Solana integrations +- [00:53:22]() - **HowieDuhzit**: Eliza Character Generator +- [00:55:57]() - **xrpublisher**: XR Publisher, 3D Social Network on the edge +- [01:00:57]() - **BV_Bloom1**: 3D Agent Interactions +- [01:02:57]() - **nftRanch**: Trading Bot and Eliza V2 integrations +- [01:05:57]() - **019ec6e2**: Mimetic Platform and Agent Interactions +- [01:09:17]() - **jacobmtucker**: Agent Transaction Control Protocol +- [01:12:26]() - **CurtisLaird5**: C-Studio character interface +- [01:17:13]() - **unl\_\_cky**: Escapism, art generation AI +- [01:19:17]() - **Rowdymode**: Twin Tone - Interactive Streaming +- [01:20:29]() - **mitchcastanet**: Binary Star System research with agents +- [01:23:15]() - **GoatOfGamblers**: Prediction market for meme coins +- [01:25:27]() - **JohnNaulty**: SWE contributions, plugin working groups +- [01:29:30]() - **mayanicks0x**: Axie, AI KOL Agent +- [01:31:30]() - **wakesync**: Eliza Wakes Up, web app updates +- [01:35:28]() - **TrenchBuddy**: Trading agents and AWS templates +- [01:38:36]() - **rakshitaphilip**: Brunette token and agent tips on Warpcast +- [01:44:49]() - **MbBrainz**: Menu Recommendation app +- [01:46:03]() - **Hawkeye_Picks**: Storytelling bot +- [01:49:16]() - **shawmakesmagic**: Hiring and Eliza V2 +- [01:54:30]() - **dankvr**: Community updates, tooling ## Summary From eda9d18683cc4af8e2e3b4a73d3bcec773d4a0db Mon Sep 17 00:00:00 2001 From: Proteus Date: Mon, 23 Dec 2024 14:41:01 -0500 Subject: [PATCH 17/21] venice image styles + watermark option adds the ability to use venice's style presets as well as choose to remove the default watermark --- packages/core/src/generation.ts | 11 ++++++++--- packages/core/src/types.ts | 2 ++ packages/plugin-image-generation/src/index.ts | 4 ++++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/packages/core/src/generation.ts b/packages/core/src/generation.ts index 167ee9447f..6e99bc63a4 100644 --- a/packages/core/src/generation.ts +++ b/packages/core/src/generation.ts @@ -935,6 +935,8 @@ export const generateImage = async ( seed?: number; modelId?: string; jobId?: string; + stylePreset?: string; + hideWatermark?: boolean; }, runtime: IAgentRuntime ): Promise<{ @@ -1121,9 +1123,12 @@ export const generateImage = async ( model: data.modelId || "fluently-xl", prompt: data.prompt, negative_prompt: data.negativePrompt, - width: data.width || 1024, - height: data.height || 1024, - steps: data.numIterations || 20, + width: data.width, + height: data.height, + steps: data.numIterations, + seed: data.seed, + style_preset: data.stylePreset, + hide_watermark: data.hideWatermark, }), } ); diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index 6fafa4ede8..5f83e29c66 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -718,6 +718,8 @@ export type Character = { modelId?: string; jobId?: string; count?: number; + stylePreset?: string; + hideWatermark?: boolean; }; voice?: { model?: string; // For VITS diff --git a/packages/plugin-image-generation/src/index.ts b/packages/plugin-image-generation/src/index.ts index 4600fb3a3d..1be67fca92 100644 --- a/packages/plugin-image-generation/src/index.ts +++ b/packages/plugin-image-generation/src/index.ts @@ -109,6 +109,8 @@ const imageGeneration: Action = { seed?: number; modelId?: string; jobId?: string; + stylePreset?: string; + hideWatermark?: boolean; }, callback: HandlerCallback ) => { @@ -140,6 +142,8 @@ const imageGeneration: Action = { ...(options.seed != null || imageSettings.seed != null ? { seed: options.seed || imageSettings.seed } : {}), ...(options.modelId != null || imageSettings.modelId != null ? { modelId: options.modelId || imageSettings.modelId } : {}), ...(options.jobId != null || imageSettings.jobId != null ? { jobId: options.jobId || imageSettings.jobId } : {}), + ...(options.stylePreset != null || imageSettings.stylePreset != null ? { stylePreset: options.stylePreset || imageSettings.stylePreset } : {}), + ...(options.hideWatermark != null || imageSettings.hideWatermark != null ? { hideWatermark: options.hideWatermark || imageSettings.hideWatermark } : {}), }, runtime ); From 01ea1d2e2b66da386f30183d6892525532bdbc5b Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 24 Dec 2024 03:24:08 +0700 Subject: [PATCH 18/21] chore: format package.json files with prettier --- agent/package.json | 120 ++++++------ client/package.json | 90 ++++----- docs/package.json | 106 +++++------ packages/adapter-postgres/package.json | 36 ++-- packages/adapter-redis/package.json | 42 ++--- packages/adapter-sqlite/package.json | 44 ++--- packages/adapter-sqljs/package.json | 44 ++--- packages/adapter-supabase/package.json | 40 ++-- packages/client-auto/package.json | 50 ++--- packages/client-direct/package.json | 56 +++--- packages/client-discord/package.json | 62 +++---- packages/client-farcaster/package.json | 32 ++-- packages/client-github/package.json | 42 ++--- packages/client-lens/package.json | 44 ++--- packages/client-slack/package.json | 86 ++++----- packages/client-telegram/package.json | 38 ++-- packages/client-twitter/package.json | 44 ++--- packages/core/package.json | 154 ++++++++-------- packages/create-eliza-app/package.json | 58 +++--- packages/plugin-0g/package.json | 32 ++-- packages/plugin-aptos/package.json | 48 ++--- packages/plugin-bootstrap/package.json | 34 ++-- .../advanced-sdk-ts/package.json | 64 +++---- packages/plugin-coinbase/package.json | 44 ++--- packages/plugin-conflux/package.json | 26 +-- packages/plugin-echochambers/package.json | 26 +-- packages/plugin-evm/package.json | 44 ++--- packages/plugin-flow/package.json | 68 +++---- packages/plugin-goat/package.json | 42 ++--- packages/plugin-icp/package.json | 44 ++--- packages/plugin-image-generation/package.json | 34 ++-- packages/plugin-intiface/package.json | 38 ++-- packages/plugin-multiversx/package.json | 48 ++--- packages/plugin-near/package.json | 46 ++--- packages/plugin-nft-generation/package.json | 56 +++--- packages/plugin-node/package.json | 174 +++++++++--------- packages/plugin-solana/package.json | 62 +++---- packages/plugin-starknet/package.json | 50 ++--- packages/plugin-story/package.json | 48 ++--- packages/plugin-sui/package.json | 48 ++--- packages/plugin-tee/package.json | 52 +++--- packages/plugin-ton/package.json | 46 ++--- packages/plugin-trustdb/package.json | 50 ++--- packages/plugin-video-generation/package.json | 34 ++-- packages/plugin-web-search/package.json | 32 ++-- packages/plugin-whatsapp/package.json | 48 ++--- packages/plugin-zksync-era/package.json | 36 ++-- 47 files changed, 1281 insertions(+), 1281 deletions(-) diff --git a/agent/package.json b/agent/package.json index 91a900d600..dc9347bbe9 100644 --- a/agent/package.json +++ b/agent/package.json @@ -1,62 +1,62 @@ { - "name": "@elizaos/agent", - "version": "0.1.7-alpha.1", - "main": "src/index.ts", - "type": "module", - "scripts": { - "start": "node --loader ts-node/esm src/index.ts", - "dev": "node --loader ts-node/esm src/index.ts", - "check-types": "tsc --noEmit" - }, - "nodemonConfig": { - "watch": [ - "src", - "../core/dist" - ], - "ext": "ts,json", - "exec": "node --enable-source-maps --loader ts-node/esm src/index.ts" - }, - "dependencies": { - "@elizaos/adapter-postgres": "workspace:*", - "@elizaos/adapter-redis": "workspace:*", - "@elizaos/adapter-sqlite": "workspace:*", - "@elizaos/client-auto": "workspace:*", - "@elizaos/client-direct": "workspace:*", - "@elizaos/client-discord": "workspace:*", - "@elizaos/client-farcaster": "workspace:*", - "@elizaos/client-lens": "workspace:*", - "@elizaos/client-telegram": "workspace:*", - "@elizaos/client-twitter": "workspace:*", - "@elizaos/client-slack": "workspace:*", - "@elizaos/core": "workspace:*", - "@elizaos/plugin-0g": "workspace:*", - "@elizaos/plugin-aptos": "workspace:*", - "@elizaos/plugin-bootstrap": "workspace:*", - "@elizaos/plugin-intiface": "workspace:*", - "@elizaos/plugin-coinbase": "workspace:*", - "@elizaos/plugin-conflux": "workspace:*", - "@elizaos/plugin-evm": "workspace:*", - "@elizaos/plugin-flow": "workspace:*", - "@elizaos/plugin-story": "workspace:*", - "@elizaos/plugin-goat": "workspace:*", - "@elizaos/plugin-icp": "workspace:*", - "@elizaos/plugin-image-generation": "workspace:*", - "@elizaos/plugin-nft-generation": "workspace:*", - "@elizaos/plugin-node": "workspace:*", - "@elizaos/plugin-solana": "workspace:*", - "@elizaos/plugin-starknet": "workspace:*", - "@elizaos/plugin-ton": "workspace:*", - "@elizaos/plugin-sui": "workspace:*", - "@elizaos/plugin-tee": "workspace:*", - "@elizaos/plugin-multiversx": "workspace:*", - "@elizaos/plugin-near": "workspace:*", - "@elizaos/plugin-zksync-era": "workspace:*", - "readline": "1.3.0", - "ws": "8.18.0", - "yargs": "17.7.2" - }, - "devDependencies": { - "ts-node": "10.9.2", - "tsup": "8.3.5" - } + "name": "@elizaos/agent", + "version": "0.1.7-alpha.1", + "main": "src/index.ts", + "type": "module", + "scripts": { + "start": "node --loader ts-node/esm src/index.ts", + "dev": "node --loader ts-node/esm src/index.ts", + "check-types": "tsc --noEmit" + }, + "nodemonConfig": { + "watch": [ + "src", + "../core/dist" + ], + "ext": "ts,json", + "exec": "node --enable-source-maps --loader ts-node/esm src/index.ts" + }, + "dependencies": { + "@elizaos/adapter-postgres": "workspace:*", + "@elizaos/adapter-redis": "workspace:*", + "@elizaos/adapter-sqlite": "workspace:*", + "@elizaos/client-auto": "workspace:*", + "@elizaos/client-direct": "workspace:*", + "@elizaos/client-discord": "workspace:*", + "@elizaos/client-farcaster": "workspace:*", + "@elizaos/client-lens": "workspace:*", + "@elizaos/client-telegram": "workspace:*", + "@elizaos/client-twitter": "workspace:*", + "@elizaos/client-slack": "workspace:*", + "@elizaos/core": "workspace:*", + "@elizaos/plugin-0g": "workspace:*", + "@elizaos/plugin-aptos": "workspace:*", + "@elizaos/plugin-bootstrap": "workspace:*", + "@elizaos/plugin-intiface": "workspace:*", + "@elizaos/plugin-coinbase": "workspace:*", + "@elizaos/plugin-conflux": "workspace:*", + "@elizaos/plugin-evm": "workspace:*", + "@elizaos/plugin-flow": "workspace:*", + "@elizaos/plugin-story": "workspace:*", + "@elizaos/plugin-goat": "workspace:*", + "@elizaos/plugin-icp": "workspace:*", + "@elizaos/plugin-image-generation": "workspace:*", + "@elizaos/plugin-nft-generation": "workspace:*", + "@elizaos/plugin-node": "workspace:*", + "@elizaos/plugin-solana": "workspace:*", + "@elizaos/plugin-starknet": "workspace:*", + "@elizaos/plugin-ton": "workspace:*", + "@elizaos/plugin-sui": "workspace:*", + "@elizaos/plugin-tee": "workspace:*", + "@elizaos/plugin-multiversx": "workspace:*", + "@elizaos/plugin-near": "workspace:*", + "@elizaos/plugin-zksync-era": "workspace:*", + "readline": "1.3.0", + "ws": "8.18.0", + "yargs": "17.7.2" + }, + "devDependencies": { + "ts-node": "10.9.2", + "tsup": "8.3.5" + } } diff --git a/client/package.json b/client/package.json index a9ba6d8b01..20d9003af7 100644 --- a/client/package.json +++ b/client/package.json @@ -1,47 +1,47 @@ { - "name": "eliza-client", - "private": true, - "version": "0.1.7-alpha.1", - "type": "module", - "scripts": { - "dev": "vite", - "build": "vite build", - "check-types": "tsc --noEmit", - "lint": "eslint .", - "preview": "vite preview" - }, - "dependencies": { - "@elizaos/core": "workspace:*", - "@radix-ui/react-dialog": "1.1.2", - "@radix-ui/react-separator": "1.1.0", - "@radix-ui/react-slot": "1.1.0", - "@radix-ui/react-tooltip": "1.1.4", - "@tanstack/react-query": "5.61.0", - "class-variance-authority": "0.7.1", - "clsx": "2.1.1", - "lucide-react": "0.460.0", - "react": "18.3.1", - "react-dom": "18.3.1", - "react-router-dom": "6.22.1", - "tailwind-merge": "2.5.5", - "tailwindcss-animate": "1.0.7", - "vite-plugin-top-level-await": "1.4.4", - "vite-plugin-wasm": "3.3.0" - }, - "devDependencies": { - "@eslint/js": "9.16.0", - "@types/node": "22.8.4", - "@types/react": "18.3.12", - "@types/react-dom": "18.3.1", - "@vitejs/plugin-react": "4.3.3", - "autoprefixer": "10.4.20", - "eslint-plugin-react-hooks": "5.0.0", - "eslint-plugin-react-refresh": "0.4.14", - "globals": "15.11.0", - "postcss": "8.4.49", - "tailwindcss": "3.4.15", - "typescript": "5.6.3", - "typescript-eslint": "8.11.0", - "vite": "link:@tanstack/router-plugin/vite" - } + "name": "eliza-client", + "private": true, + "version": "0.1.7-alpha.1", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "check-types": "tsc --noEmit", + "lint": "eslint .", + "preview": "vite preview" + }, + "dependencies": { + "@elizaos/core": "workspace:*", + "@radix-ui/react-dialog": "1.1.2", + "@radix-ui/react-separator": "1.1.0", + "@radix-ui/react-slot": "1.1.0", + "@radix-ui/react-tooltip": "1.1.4", + "@tanstack/react-query": "5.61.0", + "class-variance-authority": "0.7.1", + "clsx": "2.1.1", + "lucide-react": "0.460.0", + "react": "18.3.1", + "react-dom": "18.3.1", + "react-router-dom": "6.22.1", + "tailwind-merge": "2.5.5", + "tailwindcss-animate": "1.0.7", + "vite-plugin-top-level-await": "1.4.4", + "vite-plugin-wasm": "3.3.0" + }, + "devDependencies": { + "@eslint/js": "9.16.0", + "@types/node": "22.8.4", + "@types/react": "18.3.12", + "@types/react-dom": "18.3.1", + "@vitejs/plugin-react": "4.3.3", + "autoprefixer": "10.4.20", + "eslint-plugin-react-hooks": "5.0.0", + "eslint-plugin-react-refresh": "0.4.14", + "globals": "15.11.0", + "postcss": "8.4.49", + "tailwindcss": "3.4.15", + "typescript": "5.6.3", + "typescript-eslint": "8.11.0", + "vite": "link:@tanstack/router-plugin/vite" + } } diff --git a/docs/package.json b/docs/package.json index 42e02115a3..c4755b6c62 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,55 +1,55 @@ { - "name": "eliza-docs", - "version": "0.1.7-alpha.1", - "private": true, - "scripts": { - "docusaurus": "docusaurus", - "start": "docusaurus start --no-open", - "dev": "docusaurus start --port 3002 --no-open", - "build": "docusaurus build", - "swizzle": "docusaurus swizzle", - "deploy": "docusaurus deploy", - "clear": "docusaurus clear", - "serve": "docusaurus serve", - "write-translations": "docusaurus write-translations", - "write-heading-ids": "docusaurus write-heading-ids" - }, - "dependencies": { - "@docusaurus/core": "3.6.3", - "@docusaurus/plugin-content-blog": "3.6.3", - "@docusaurus/plugin-content-docs": "3.6.3", - "@docusaurus/plugin-ideal-image": "3.6.3", - "@docusaurus/preset-classic": "3.6.3", - "@docusaurus/theme-mermaid": "3.6.3", - "@mdx-js/react": "3.0.1", - "clsx": "2.1.1", - "docusaurus-lunr-search": "3.5.0", - "dotenv": "^16.4.7", - "prism-react-renderer": "2.3.1", - "react": "18.3.1", - "react-dom": "18.3.1", - "react-router-dom": "6.22.1" - }, - "devDependencies": { - "@docusaurus/module-type-aliases": "3.6.3", - "@docusaurus/types": "3.6.3", - "docusaurus-plugin-typedoc": "1.0.5", - "typedoc": "0.26.11", - "typedoc-plugin-markdown": "4.2.10" - }, - "browserslist": { - "production": [ - ">0.5%", - "not dead", - "not op_mini all" - ], - "development": [ - "last 3 chrome version", - "last 3 firefox version", - "last 5 safari version" - ] - }, - "engines": { - "node": "23.3.0" - } + "name": "eliza-docs", + "version": "0.1.7-alpha.1", + "private": true, + "scripts": { + "docusaurus": "docusaurus", + "start": "docusaurus start --no-open", + "dev": "docusaurus start --port 3002 --no-open", + "build": "docusaurus build", + "swizzle": "docusaurus swizzle", + "deploy": "docusaurus deploy", + "clear": "docusaurus clear", + "serve": "docusaurus serve", + "write-translations": "docusaurus write-translations", + "write-heading-ids": "docusaurus write-heading-ids" + }, + "dependencies": { + "@docusaurus/core": "3.6.3", + "@docusaurus/plugin-content-blog": "3.6.3", + "@docusaurus/plugin-content-docs": "3.6.3", + "@docusaurus/plugin-ideal-image": "3.6.3", + "@docusaurus/preset-classic": "3.6.3", + "@docusaurus/theme-mermaid": "3.6.3", + "@mdx-js/react": "3.0.1", + "clsx": "2.1.1", + "docusaurus-lunr-search": "3.5.0", + "dotenv": "^16.4.7", + "prism-react-renderer": "2.3.1", + "react": "18.3.1", + "react-dom": "18.3.1", + "react-router-dom": "6.22.1" + }, + "devDependencies": { + "@docusaurus/module-type-aliases": "3.6.3", + "@docusaurus/types": "3.6.3", + "docusaurus-plugin-typedoc": "1.0.5", + "typedoc": "0.26.11", + "typedoc-plugin-markdown": "4.2.10" + }, + "browserslist": { + "production": [ + ">0.5%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 3 chrome version", + "last 3 firefox version", + "last 5 safari version" + ] + }, + "engines": { + "node": "23.3.0" + } } diff --git a/packages/adapter-postgres/package.json b/packages/adapter-postgres/package.json index 5cf207a058..39e7e47726 100644 --- a/packages/adapter-postgres/package.json +++ b/packages/adapter-postgres/package.json @@ -1,20 +1,20 @@ { - "name": "@elizaos/adapter-postgres", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@types/pg": "8.11.10", - "pg": "8.13.1" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - } + "name": "@elizaos/adapter-postgres", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@types/pg": "8.11.10", + "pg": "8.13.1" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + } } diff --git a/packages/adapter-redis/package.json b/packages/adapter-redis/package.json index a2c3f32682..c760434fba 100644 --- a/packages/adapter-redis/package.json +++ b/packages/adapter-redis/package.json @@ -1,23 +1,23 @@ { - "name": "@elizaos/adapter-redis", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "ioredis": "5.4.2" - }, - "devDependencies": { - "@types/ioredis": "^5.0.0", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/adapter-redis", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "ioredis": "5.4.2" + }, + "devDependencies": { + "@types/ioredis": "^5.0.0", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/adapter-sqlite/package.json b/packages/adapter-sqlite/package.json index f16a564751..674f2463b1 100644 --- a/packages/adapter-sqlite/package.json +++ b/packages/adapter-sqlite/package.json @@ -1,24 +1,24 @@ { - "name": "@elizaos/adapter-sqlite", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@types/better-sqlite3": "7.6.12", - "better-sqlite3": "11.6.0", - "sqlite-vec": "0.1.6" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/adapter-sqlite", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@types/better-sqlite3": "7.6.12", + "better-sqlite3": "11.6.0", + "sqlite-vec": "0.1.6" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/adapter-sqljs/package.json b/packages/adapter-sqljs/package.json index 63cb3f4cc9..e5e8ed4311 100644 --- a/packages/adapter-sqljs/package.json +++ b/packages/adapter-sqljs/package.json @@ -1,24 +1,24 @@ { - "name": "@elizaos/adapter-sqljs", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@types/sql.js": "1.4.9", - "sql.js": "1.12.0", - "uuid": "11.0.3" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/adapter-sqljs", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@types/sql.js": "1.4.9", + "sql.js": "1.12.0", + "uuid": "11.0.3" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/adapter-supabase/package.json b/packages/adapter-supabase/package.json index bde60061ed..b27876ec94 100644 --- a/packages/adapter-supabase/package.json +++ b/packages/adapter-supabase/package.json @@ -1,22 +1,22 @@ { - "name": "@elizaos/adapter-supabase", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@supabase/supabase-js": "2.46.2" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/adapter-supabase", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@supabase/supabase-js": "2.46.2" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/client-auto/package.json b/packages/client-auto/package.json index ef0ae6e34b..77f48720cb 100644 --- a/packages/client-auto/package.json +++ b/packages/client-auto/package.json @@ -1,27 +1,27 @@ { - "name": "@elizaos/client-auto", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@types/body-parser": "1.19.5", - "@types/cors": "2.8.17", - "@types/express": "5.0.0", - "body-parser": "1.20.3", - "cors": "2.8.5", - "multer": "1.4.5-lts.1" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/client-auto", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@types/body-parser": "1.19.5", + "@types/cors": "2.8.17", + "@types/express": "5.0.0", + "body-parser": "1.20.3", + "cors": "2.8.5", + "multer": "1.4.5-lts.1" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/client-direct/package.json b/packages/client-direct/package.json index fe3f4c7afb..977d7089b1 100644 --- a/packages/client-direct/package.json +++ b/packages/client-direct/package.json @@ -1,30 +1,30 @@ { - "name": "@elizaos/client-direct", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@elizaos/plugin-image-generation": "workspace:*", - "@types/body-parser": "1.19.5", - "@types/cors": "2.8.17", - "@types/express": "5.0.0", - "body-parser": "1.20.3", - "cors": "2.8.5", - "discord.js": "14.16.3", - "express": "4.21.1", - "multer": "1.4.5-lts.1" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/client-direct", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@elizaos/plugin-image-generation": "workspace:*", + "@types/body-parser": "1.19.5", + "@types/cors": "2.8.17", + "@types/express": "5.0.0", + "body-parser": "1.20.3", + "cors": "2.8.5", + "discord.js": "14.16.3", + "express": "4.21.1", + "multer": "1.4.5-lts.1" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/client-discord/package.json b/packages/client-discord/package.json index be4ace088f..8a90f4599d 100644 --- a/packages/client-discord/package.json +++ b/packages/client-discord/package.json @@ -1,33 +1,33 @@ { - "name": "@elizaos/client-discord", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@elizaos/plugin-node": "workspace:*", - "@discordjs/opus": "github:discordjs/opus", - "@discordjs/rest": "2.4.0", - "@discordjs/voice": "0.17.0", - "discord.js": "14.16.3", - "libsodium-wrappers": "0.7.15", - "prism-media": "1.3.5", - "zod": "3.23.8" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "trustedDependencies": { - "@discordjs/opus": "github:discordjs/opus", - "@discordjs/voice": "0.17.0" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/client-discord", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@elizaos/plugin-node": "workspace:*", + "@discordjs/opus": "github:discordjs/opus", + "@discordjs/rest": "2.4.0", + "@discordjs/voice": "0.17.0", + "discord.js": "14.16.3", + "libsodium-wrappers": "0.7.15", + "prism-media": "1.3.5", + "zod": "3.23.8" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "trustedDependencies": { + "@discordjs/opus": "github:discordjs/opus", + "@discordjs/voice": "0.17.0" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/client-farcaster/package.json b/packages/client-farcaster/package.json index 205ae6ad7b..d9e059f31b 100644 --- a/packages/client-farcaster/package.json +++ b/packages/client-farcaster/package.json @@ -1,18 +1,18 @@ { - "name": "@elizaos/client-farcaster", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@neynar/nodejs-sdk": "^2.0.3" - }, - "devDependencies": { - "tsup": "^8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch" - } + "name": "@elizaos/client-farcaster", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@neynar/nodejs-sdk": "^2.0.3" + }, + "devDependencies": { + "tsup": "^8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" + } } diff --git a/packages/client-github/package.json b/packages/client-github/package.json index 1ada6c7ed2..4bd8272751 100644 --- a/packages/client-github/package.json +++ b/packages/client-github/package.json @@ -1,23 +1,23 @@ { - "name": "@elizaos/client-github", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@octokit/rest": "20.1.1", - "@octokit/types": "12.6.0", - "glob": "10.4.5", - "simple-git": "3.27.0" - }, - "devDependencies": { - "@types/glob": "8.1.0", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - } + "name": "@elizaos/client-github", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@octokit/rest": "20.1.1", + "@octokit/types": "12.6.0", + "glob": "10.4.5", + "simple-git": "3.27.0" + }, + "devDependencies": { + "@types/glob": "8.1.0", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + } } diff --git a/packages/client-lens/package.json b/packages/client-lens/package.json index 8ab78c0443..f52547897f 100644 --- a/packages/client-lens/package.json +++ b/packages/client-lens/package.json @@ -1,24 +1,24 @@ { - "name": "@elizaos/client-lens", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@lens-protocol/client": "2.2.0", - "@lens-protocol/metadata": "1.2.0", - "axios": "^1.7.9", - "viem": "^2.13.8" - }, - "devDependencies": { - "tsup": "^8.3.5" - }, - "peerDependencies": { - "@elizaos/core": "workspace:*" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch" - } + "name": "@elizaos/client-lens", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@lens-protocol/client": "2.2.0", + "@lens-protocol/metadata": "1.2.0", + "axios": "^1.7.9", + "viem": "^2.13.8" + }, + "devDependencies": { + "tsup": "^8.3.5" + }, + "peerDependencies": { + "@elizaos/core": "workspace:*" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" + } } diff --git a/packages/client-slack/package.json b/packages/client-slack/package.json index 02d32728d8..72b023bcbc 100644 --- a/packages/client-slack/package.json +++ b/packages/client-slack/package.json @@ -1,45 +1,45 @@ { - "name": "@elizaos/client-slack", - "version": "0.1.7-alpha.1", - "description": "Slack client plugin for Eliza framework", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "scripts": { - "build": "tsup src/index.ts --format esm --dts", - "test": "jest", - "lint": "eslint --fix --cache .", - "clean": "rimraf dist", - "dev": "tsup src/index.ts --watch", - "example": "ts-node src/examples/standalone-example.ts", - "example:attachment": "ts-node src/examples/standalone-attachment.ts", - "example:summarize": "ts-node src/examples/standalone-summarize.ts", - "example:transcribe": "ts-node src/examples/standalone-transcribe.ts" - }, - "dependencies": { - "@elizaos/core": "workspace:*", - "@ffmpeg-installer/ffmpeg": "^1.1.0", - "@slack/events-api": "^3.0.1", - "@slack/web-api": "^6.8.1", - "body-parser": "^1.20.2", - "dotenv": "^16.0.3", - "express": "^4.18.2", - "fluent-ffmpeg": "^2.1.2", - "node-fetch": "^2.6.9" - }, - "devDependencies": { - "@types/express": "^4.17.21", - "@types/fluent-ffmpeg": "^2.1.24", - "@types/jest": "^29.5.0", - "@types/node": "^18.15.11", - "jest": "^29.5.0", - "rimraf": "^5.0.0", - "ts-jest": "^29.1.0", - "ts-node": "^10.9.1", - "tsup": "^8.3.5", - "typescript": "^5.0.0" - }, - "engines": { - "node": ">=14.0.0" - } + "name": "@elizaos/client-slack", + "version": "0.1.7-alpha.1", + "description": "Slack client plugin for Eliza framework", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "scripts": { + "build": "tsup src/index.ts --format esm --dts", + "test": "jest", + "lint": "eslint --fix --cache .", + "clean": "rimraf dist", + "dev": "tsup src/index.ts --watch", + "example": "ts-node src/examples/standalone-example.ts", + "example:attachment": "ts-node src/examples/standalone-attachment.ts", + "example:summarize": "ts-node src/examples/standalone-summarize.ts", + "example:transcribe": "ts-node src/examples/standalone-transcribe.ts" + }, + "dependencies": { + "@elizaos/core": "workspace:*", + "@ffmpeg-installer/ffmpeg": "^1.1.0", + "@slack/events-api": "^3.0.1", + "@slack/web-api": "^6.8.1", + "body-parser": "^1.20.2", + "dotenv": "^16.0.3", + "express": "^4.18.2", + "fluent-ffmpeg": "^2.1.2", + "node-fetch": "^2.6.9" + }, + "devDependencies": { + "@types/express": "^4.17.21", + "@types/fluent-ffmpeg": "^2.1.24", + "@types/jest": "^29.5.0", + "@types/node": "^18.15.11", + "jest": "^29.5.0", + "rimraf": "^5.0.0", + "ts-jest": "^29.1.0", + "ts-node": "^10.9.1", + "tsup": "^8.3.5", + "typescript": "^5.0.0" + }, + "engines": { + "node": ">=14.0.0" + } } diff --git a/packages/client-telegram/package.json b/packages/client-telegram/package.json index bc4fb34515..5eebf3c5c9 100644 --- a/packages/client-telegram/package.json +++ b/packages/client-telegram/package.json @@ -1,21 +1,21 @@ { - "name": "@elizaos/client-telegram", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@telegraf/types": "7.1.0", - "telegraf": "4.16.3", - "zod": "3.23.8" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - } + "name": "@elizaos/client-telegram", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@telegraf/types": "7.1.0", + "telegraf": "4.16.3", + "zod": "3.23.8" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + } } diff --git a/packages/client-twitter/package.json b/packages/client-twitter/package.json index 367976bbde..630c43caa2 100644 --- a/packages/client-twitter/package.json +++ b/packages/client-twitter/package.json @@ -1,24 +1,24 @@ { - "name": "@elizaos/client-twitter", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "agent-twitter-client": "0.0.17", - "glob": "11.0.0", - "zod": "3.23.8" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/client-twitter", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "agent-twitter-client": "0.0.17", + "glob": "11.0.0", + "zod": "3.23.8" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/core/package.json b/packages/core/package.json index 6d999cfd2d..835d99899b 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,79 +1,79 @@ { - "name": "@elizaos/core", - "version": "0.1.7-alpha.1", - "description": "", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "scripts": { - "build": "tsup --format esm --dts", - "lint": "eslint --fix --cache .", - "watch": "tsc --watch", - "dev": "tsup --format esm --dts --watch", - "build:docs": "cd docs && pnpm run build", - "test": "vitest run", - "test:coverage": "vitest run --coverage", - "test:watch": "vitest" - }, - "author": "", - "license": "MIT", - "devDependencies": { - "@eslint/js": "9.16.0", - "@rollup/plugin-commonjs": "25.0.8", - "@rollup/plugin-json": "6.1.0", - "@rollup/plugin-node-resolve": "15.3.0", - "@rollup/plugin-replace": "5.0.7", - "@rollup/plugin-terser": "0.1.0", - "@rollup/plugin-typescript": "11.1.6", - "@solana/web3.js": "1.95.8", - "@types/fluent-ffmpeg": "2.1.27", - "@types/jest": "29.5.14", - "@types/mocha": "10.0.10", - "@types/node": "22.8.4", - "@types/pdfjs-dist": "2.10.378", - "@types/tar": "6.1.13", - "@types/wav-encoder": "1.3.3", - "@typescript-eslint/eslint-plugin": "8.16.0", - "@typescript-eslint/parser": "8.16.0", - "@vitest/coverage-v8": "2.1.5", - "dotenv": "16.4.5", - "jest": "29.7.0", - "lint-staged": "15.2.10", - "nodemon": "3.1.7", - "pm2": "5.4.3", - "rimraf": "6.0.1", - "rollup": "2.79.2", - "ts-jest": "29.2.5", - "ts-node": "10.9.2", - "tslib": "2.8.1", - "tsup": "8.3.5", - "typescript": "5.6.3" - }, - "dependencies": { - "@ai-sdk/anthropic": "0.0.56", - "@ai-sdk/google": "0.0.55", - "@ai-sdk/google-vertex": "0.0.43", - "@ai-sdk/groq": "0.0.3", - "@ai-sdk/openai": "1.0.5", - "@anthropic-ai/sdk": "0.30.1", - "@fal-ai/client": "1.2.0", - "@types/uuid": "10.0.0", - "ai": "3.4.33", - "anthropic-vertex-ai": "1.0.2", - "fastembed": "1.14.1", - "fastestsmallesttextencoderdecoder": "1.0.22", - "gaxios": "6.7.1", - "glob": "11.0.0", - "handlebars": "^4.7.8", - "js-sha1": "0.7.0", - "js-tiktoken": "1.0.15", - "langchain": "0.3.6", - "ollama-ai-provider": "0.16.1", - "openai": "4.73.0", - "tinyld": "1.3.4", - "together-ai": "0.7.0", - "unique-names-generator": "4.7.1", - "uuid": "11.0.3", - "zod": "3.23.8" - } + "name": "@elizaos/core", + "version": "0.1.7-alpha.1", + "description": "", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "scripts": { + "build": "tsup --format esm --dts", + "lint": "eslint --fix --cache .", + "watch": "tsc --watch", + "dev": "tsup --format esm --dts --watch", + "build:docs": "cd docs && pnpm run build", + "test": "vitest run", + "test:coverage": "vitest run --coverage", + "test:watch": "vitest" + }, + "author": "", + "license": "MIT", + "devDependencies": { + "@eslint/js": "9.16.0", + "@rollup/plugin-commonjs": "25.0.8", + "@rollup/plugin-json": "6.1.0", + "@rollup/plugin-node-resolve": "15.3.0", + "@rollup/plugin-replace": "5.0.7", + "@rollup/plugin-terser": "0.1.0", + "@rollup/plugin-typescript": "11.1.6", + "@solana/web3.js": "1.95.8", + "@types/fluent-ffmpeg": "2.1.27", + "@types/jest": "29.5.14", + "@types/mocha": "10.0.10", + "@types/node": "22.8.4", + "@types/pdfjs-dist": "2.10.378", + "@types/tar": "6.1.13", + "@types/wav-encoder": "1.3.3", + "@typescript-eslint/eslint-plugin": "8.16.0", + "@typescript-eslint/parser": "8.16.0", + "@vitest/coverage-v8": "2.1.5", + "dotenv": "16.4.5", + "jest": "29.7.0", + "lint-staged": "15.2.10", + "nodemon": "3.1.7", + "pm2": "5.4.3", + "rimraf": "6.0.1", + "rollup": "2.79.2", + "ts-jest": "29.2.5", + "ts-node": "10.9.2", + "tslib": "2.8.1", + "tsup": "8.3.5", + "typescript": "5.6.3" + }, + "dependencies": { + "@ai-sdk/anthropic": "0.0.56", + "@ai-sdk/google": "0.0.55", + "@ai-sdk/google-vertex": "0.0.43", + "@ai-sdk/groq": "0.0.3", + "@ai-sdk/openai": "1.0.5", + "@anthropic-ai/sdk": "0.30.1", + "@fal-ai/client": "1.2.0", + "@types/uuid": "10.0.0", + "ai": "3.4.33", + "anthropic-vertex-ai": "1.0.2", + "fastembed": "1.14.1", + "fastestsmallesttextencoderdecoder": "1.0.22", + "gaxios": "6.7.1", + "glob": "11.0.0", + "handlebars": "^4.7.8", + "js-sha1": "0.7.0", + "js-tiktoken": "1.0.15", + "langchain": "0.3.6", + "ollama-ai-provider": "0.16.1", + "openai": "4.73.0", + "tinyld": "1.3.4", + "together-ai": "0.7.0", + "unique-names-generator": "4.7.1", + "uuid": "11.0.3", + "zod": "3.23.8" + } } diff --git a/packages/create-eliza-app/package.json b/packages/create-eliza-app/package.json index 6df675bce4..a259f0ce48 100644 --- a/packages/create-eliza-app/package.json +++ b/packages/create-eliza-app/package.json @@ -1,31 +1,31 @@ { - "name": "create-eliza-app", - "version": "0.1.7-alpha.1", - "description": "", - "sideEffects": false, - "files": [ - "dist" - ], - "main": "dist/index.cjs", - "bin": { - "create-eliza-app": "dist/index.mjs" - }, - "scripts": { - "build": "unbuild", - "lint": "eslint --fix --cache .", - "start": "node ./dist/index.cjs", - "automd": "automd" - }, - "keywords": [], - "author": "", - "license": "ISC", - "dependencies": { - "citty": "0.1.6", - "giget": "1.2.3" - }, - "devDependencies": { - "automd": "0.3.12", - "jiti": "2.4.0", - "unbuild": "2.0.0" - } + "name": "create-eliza-app", + "version": "0.1.7-alpha.1", + "description": "", + "sideEffects": false, + "files": [ + "dist" + ], + "main": "dist/index.cjs", + "bin": { + "create-eliza-app": "dist/index.mjs" + }, + "scripts": { + "build": "unbuild", + "lint": "eslint --fix --cache .", + "start": "node ./dist/index.cjs", + "automd": "automd" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "citty": "0.1.6", + "giget": "1.2.3" + }, + "devDependencies": { + "automd": "0.3.12", + "jiti": "2.4.0", + "unbuild": "2.0.0" + } } diff --git a/packages/plugin-0g/package.json b/packages/plugin-0g/package.json index fda7f17ea5..5561a2fc14 100644 --- a/packages/plugin-0g/package.json +++ b/packages/plugin-0g/package.json @@ -1,18 +1,18 @@ { - "name": "@elizaos/plugin-0g", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@0glabs/0g-ts-sdk": "0.2.1", - "@elizaos/core": "workspace:*", - "ethers": "6.13.4", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest" - } + "name": "@elizaos/plugin-0g", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@0glabs/0g-ts-sdk": "0.2.1", + "@elizaos/core": "workspace:*", + "ethers": "6.13.4", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest" + } } diff --git a/packages/plugin-aptos/package.json b/packages/plugin-aptos/package.json index 60f0b5ae9b..9fa49d5256 100644 --- a/packages/plugin-aptos/package.json +++ b/packages/plugin-aptos/package.json @@ -1,26 +1,26 @@ { - "name": "@elizaos/plugin-aptos", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "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", - "tsup": "8.3.5", - "vitest": "2.1.4" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache .", - "test": "vitest run" - }, - "peerDependencies": { - "form-data": "4.0.1", - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-aptos", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "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", + "tsup": "8.3.5", + "vitest": "2.1.4" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache .", + "test": "vitest run" + }, + "peerDependencies": { + "form-data": "4.0.1", + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-bootstrap/package.json b/packages/plugin-bootstrap/package.json index 7672d27189..aec3d90c7f 100644 --- a/packages/plugin-bootstrap/package.json +++ b/packages/plugin-bootstrap/package.json @@ -1,19 +1,19 @@ { - "name": "@elizaos/plugin-bootstrap", - "version": "0.1.7-alpha.1", - "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 ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-bootstrap", + "version": "0.1.7-alpha.1", + "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 ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-coinbase/advanced-sdk-ts/package.json b/packages/plugin-coinbase/advanced-sdk-ts/package.json index 78480e529e..52e42a7e89 100644 --- a/packages/plugin-coinbase/advanced-sdk-ts/package.json +++ b/packages/plugin-coinbase/advanced-sdk-ts/package.json @@ -1,34 +1,34 @@ { - "name": "@coinbase-samples/advanced-sdk-ts", - "version": "0.1.0", - "main": "dist/main.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "build": "tsc", - "lint": "eslint . --ext .js,.ts", - "format": "prettier --write \"**/*.{js,ts,tsx,json,css,md}\"" - }, - "files": [ - "dist/" - ], - "keywords": [], - "author": "", - "license": "ISC", - "description": "", - "dependencies": { - "jsonwebtoken": "^9.0.2", - "node-fetch": "^2.6.1" - }, - "devDependencies": { - "@types/jsonwebtoken": "^9.0.7", - "@types/node-fetch": "^2.6.11", - "@typescript-eslint/eslint-plugin": "^5.59.0", - "@typescript-eslint/parser": "^5.59.0", - "dotenv": "^16.4.5", - "eslint": "^8.35.0", - "eslint-config-prettier": "^8.5.0", - "eslint-plugin-prettier": "^4.2.1", - "prettier": "^2.8.8", - "typescript": "^5.5.4" - } + "name": "@coinbase-samples/advanced-sdk-ts", + "version": "0.1.0", + "main": "dist/main.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "build": "tsc", + "lint": "eslint . --ext .js,.ts", + "format": "prettier --write \"**/*.{js,ts,tsx,json,css,md}\"" + }, + "files": [ + "dist/" + ], + "keywords": [], + "author": "", + "license": "ISC", + "description": "", + "dependencies": { + "jsonwebtoken": "^9.0.2", + "node-fetch": "^2.6.1" + }, + "devDependencies": { + "@types/jsonwebtoken": "^9.0.7", + "@types/node-fetch": "^2.6.11", + "@typescript-eslint/eslint-plugin": "^5.59.0", + "@typescript-eslint/parser": "^5.59.0", + "dotenv": "^16.4.5", + "eslint": "^8.35.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-prettier": "^4.2.1", + "prettier": "^2.8.8", + "typescript": "^5.5.4" + } } diff --git a/packages/plugin-coinbase/package.json b/packages/plugin-coinbase/package.json index cc5f839009..ea5fc503a3 100644 --- a/packages/plugin-coinbase/package.json +++ b/packages/plugin-coinbase/package.json @@ -1,24 +1,24 @@ { - "name": "@elizaos/plugin-coinbase", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "coinbase-api": "1.0.5", - "coinbase-advanced-sdk": "file:../../packages/plugin-coinbase/advanced-sdk-ts", - "jsonwebtoken": "^9.0.2", - "@types/jsonwebtoken": "^9.0.7", - "node-fetch": "^2.6.1" - }, - "devDependencies": { - "tsup": "8.3.5", - "@types/node": "^20.0.0" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - } + "name": "@elizaos/plugin-coinbase", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "coinbase-api": "1.0.5", + "coinbase-advanced-sdk": "file:../../packages/plugin-coinbase/advanced-sdk-ts", + "jsonwebtoken": "^9.0.2", + "@types/jsonwebtoken": "^9.0.7", + "node-fetch": "^2.6.1" + }, + "devDependencies": { + "tsup": "8.3.5", + "@types/node": "^20.0.0" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + } } diff --git a/packages/plugin-conflux/package.json b/packages/plugin-conflux/package.json index 3db911e945..5e63dddcca 100644 --- a/packages/plugin-conflux/package.json +++ b/packages/plugin-conflux/package.json @@ -1,15 +1,15 @@ { - "name": "@elizaos/plugin-conflux", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "cive": "0.7.1" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch" - } + "name": "@elizaos/plugin-conflux", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "cive": "0.7.1" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" + } } diff --git a/packages/plugin-echochambers/package.json b/packages/plugin-echochambers/package.json index a22cd12536..9af3933d66 100644 --- a/packages/plugin-echochambers/package.json +++ b/packages/plugin-echochambers/package.json @@ -1,15 +1,15 @@ { - "name": "@elizaos/plugin-echochambers", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@elizaos/plugin-node": "workspace:*" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch" - } + "name": "@elizaos/plugin-echochambers", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@elizaos/plugin-node": "workspace:*" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" + } } diff --git a/packages/plugin-evm/package.json b/packages/plugin-evm/package.json index 2fc2c5ba19..cd32883130 100644 --- a/packages/plugin-evm/package.json +++ b/packages/plugin-evm/package.json @@ -1,24 +1,24 @@ { - "name": "@elizaos/plugin-evm", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@lifi/data-types": "5.15.5", - "@lifi/sdk": "3.4.1", - "@lifi/types": "16.3.0", - "tsup": "8.3.5", - "viem": "2.21.53" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest run", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-evm", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@lifi/data-types": "5.15.5", + "@lifi/sdk": "3.4.1", + "@lifi/types": "16.3.0", + "tsup": "8.3.5", + "viem": "2.21.53" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest run", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-flow/package.json b/packages/plugin-flow/package.json index ffe81bb15c..df7acca6ae 100644 --- a/packages/plugin-flow/package.json +++ b/packages/plugin-flow/package.json @@ -1,36 +1,36 @@ { - "name": "@elizaos/plugin-flow", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@onflow/config": "1.5.1", - "@onflow/fcl": "1.13.1", - "@onflow/typedefs": "1.4.0", - "bignumber.js": "9.1.2", - "bs58": "6.0.0", - "elliptic": "6.6.1", - "node-cache": "5.1.2", - "sha3": "2.1.4", - "uuid": "11.0.3", - "zod": "3.23.8" - }, - "devDependencies": { - "@types/elliptic": "6.4.18", - "@types/uuid": "10.0.0", - "tsup": "8.3.5", - "vitest": "2.1.4" - }, - "scripts": { - "lines": "find . \\( -name '*.cdc' -o -name '*.ts' \\) -not -path '*/node_modules/*' -not -path '*/tests/*' -not -path '*/deps/*' -not -path '*/dist/*' -not -path '*/imports*' | xargs wc -l", - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache .", - "test": "vitest run" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-flow", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@onflow/config": "1.5.1", + "@onflow/fcl": "1.13.1", + "@onflow/typedefs": "1.4.0", + "bignumber.js": "9.1.2", + "bs58": "6.0.0", + "elliptic": "6.6.1", + "node-cache": "5.1.2", + "sha3": "2.1.4", + "uuid": "11.0.3", + "zod": "3.23.8" + }, + "devDependencies": { + "@types/elliptic": "6.4.18", + "@types/uuid": "10.0.0", + "tsup": "8.3.5", + "vitest": "2.1.4" + }, + "scripts": { + "lines": "find . \\( -name '*.cdc' -o -name '*.ts' \\) -not -path '*/node_modules/*' -not -path '*/tests/*' -not -path '*/deps/*' -not -path '*/dist/*' -not -path '*/imports*' | xargs wc -l", + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache .", + "test": "vitest run" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-goat/package.json b/packages/plugin-goat/package.json index 94afb15bb2..79fcc166ac 100644 --- a/packages/plugin-goat/package.json +++ b/packages/plugin-goat/package.json @@ -1,23 +1,23 @@ { - "name": "@elizaos/plugin-goat", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@goat-sdk/core": "0.3.8", - "@goat-sdk/plugin-erc20": "0.1.7", - "@goat-sdk/wallet-viem": "0.1.3", - "@goat-sdk/plugin-coingecko": "0.1.4", - "tsup": "8.3.5", - "viem": "2.21.53" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-goat", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@goat-sdk/core": "0.3.8", + "@goat-sdk/plugin-erc20": "0.1.7", + "@goat-sdk/wallet-viem": "0.1.3", + "@goat-sdk/plugin-coingecko": "0.1.4", + "tsup": "8.3.5", + "viem": "2.21.53" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-icp/package.json b/packages/plugin-icp/package.json index bdf62d0e63..9dee9b4424 100644 --- a/packages/plugin-icp/package.json +++ b/packages/plugin-icp/package.json @@ -1,24 +1,24 @@ { - "name": "@elizaos/plugin-icp", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@dfinity/agent": "2.1.3", - "@dfinity/candid": "2.1.3", - "@dfinity/identity": "2.1.3", - "@dfinity/principal": "2.1.3" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch" - }, - "devDependencies": { - "@types/jest": "29.5.14", - "jest": "29.7.0", - "tsup": "8.3.5", - "typescript": "5.6.3" - } + "name": "@elizaos/plugin-icp", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@dfinity/agent": "2.1.3", + "@dfinity/candid": "2.1.3", + "@dfinity/identity": "2.1.3", + "@dfinity/principal": "2.1.3" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" + }, + "devDependencies": { + "@types/jest": "29.5.14", + "jest": "29.7.0", + "tsup": "8.3.5", + "typescript": "5.6.3" + } } diff --git a/packages/plugin-image-generation/package.json b/packages/plugin-image-generation/package.json index 9115c73b57..69546f782f 100644 --- a/packages/plugin-image-generation/package.json +++ b/packages/plugin-image-generation/package.json @@ -1,19 +1,19 @@ { - "name": "@elizaos/plugin-image-generation", - "version": "0.1.7-alpha.1", - "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 ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-image-generation", + "version": "0.1.7-alpha.1", + "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 ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-intiface/package.json b/packages/plugin-intiface/package.json index 99bfb7c29d..954bc8322f 100644 --- a/packages/plugin-intiface/package.json +++ b/packages/plugin-intiface/package.json @@ -1,21 +1,21 @@ { - "name": "@elizaos/plugin-intiface", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "buttplug": "3.2.2", - "net": "1.0.2", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test-via-bun": "bun test/simulate.ts" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-intiface", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "buttplug": "3.2.2", + "net": "1.0.2", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test-via-bun": "bun test/simulate.ts" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-multiversx/package.json b/packages/plugin-multiversx/package.json index a38ba29885..97e015359f 100644 --- a/packages/plugin-multiversx/package.json +++ b/packages/plugin-multiversx/package.json @@ -1,26 +1,26 @@ { - "name": "@elizaos/plugin-multiversx", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@multiversx/sdk-core": "13.15.0", - "bignumber.js": "9.1.2", - "browserify": "^17.0.1", - "esbuild-plugin-polyfill-node": "^0.3.0", - "esmify": "^2.1.1", - "tsup": "8.3.5", - "vitest": "2.1.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "test": "vitest run", - "test:watch": "vitest", - "lint": "eslint . --fix" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-multiversx", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@multiversx/sdk-core": "13.15.0", + "bignumber.js": "9.1.2", + "browserify": "^17.0.1", + "esbuild-plugin-polyfill-node": "^0.3.0", + "esmify": "^2.1.1", + "tsup": "8.3.5", + "vitest": "2.1.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "test": "vitest run", + "test:watch": "vitest", + "lint": "eslint . --fix" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-near/package.json b/packages/plugin-near/package.json index 78dd934e5b..d638525bf2 100644 --- a/packages/plugin-near/package.json +++ b/packages/plugin-near/package.json @@ -1,25 +1,25 @@ { - "name": "@elizaos/plugin-near", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@ref-finance/ref-sdk": "^1.4.6", - "tsup": "8.3.5", - "near-api-js": "5.0.1", - "bignumber.js": "9.1.2", - "node-cache": "5.1.2" - }, - "scripts": { - "build": "tsup --format esm,cjs --dts", - "test": "vitest run", - "test:watch": "vitest", - "lint": "eslint . --fix" - }, - "peerDependencies": { - "whatwg-url": "7.1.0", - "form-data": "4.0.1" - } + "name": "@elizaos/plugin-near", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@ref-finance/ref-sdk": "^1.4.6", + "tsup": "8.3.5", + "near-api-js": "5.0.1", + "bignumber.js": "9.1.2", + "node-cache": "5.1.2" + }, + "scripts": { + "build": "tsup --format esm,cjs --dts", + "test": "vitest run", + "test:watch": "vitest", + "lint": "eslint . --fix" + }, + "peerDependencies": { + "whatwg-url": "7.1.0", + "form-data": "4.0.1" + } } diff --git a/packages/plugin-nft-generation/package.json b/packages/plugin-nft-generation/package.json index acc7c94ea4..9bebdc1899 100644 --- a/packages/plugin-nft-generation/package.json +++ b/packages/plugin-nft-generation/package.json @@ -1,30 +1,30 @@ { - "name": "@elizaos/plugin-nft-generation", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@elizaos/plugin-image-generation": "workspace:*", - "@elizaos/plugin-node": "workspace:*", - "@metaplex-foundation/mpl-token-metadata": "^3.3.0", - "@metaplex-foundation/mpl-toolbox": "^0.9.4", - "@metaplex-foundation/umi": "^0.9.2", - "@metaplex-foundation/umi-bundle-defaults": "^0.9.2", - "@solana-developers/helpers": "^2.5.6", - "@solana/web3.js": "1.95.5", - "bs58": "6.0.0", - "express": "4.21.1", - "node-cache": "5.1.2", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint . --fix" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-nft-generation", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@elizaos/plugin-image-generation": "workspace:*", + "@elizaos/plugin-node": "workspace:*", + "@metaplex-foundation/mpl-token-metadata": "^3.3.0", + "@metaplex-foundation/mpl-toolbox": "^0.9.4", + "@metaplex-foundation/umi": "^0.9.2", + "@metaplex-foundation/umi-bundle-defaults": "^0.9.2", + "@solana-developers/helpers": "^2.5.6", + "@solana/web3.js": "1.95.5", + "bs58": "6.0.0", + "express": "4.21.1", + "node-cache": "5.1.2", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint . --fix" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-node/package.json b/packages/plugin-node/package.json index cdec1c0414..2718b0eed2 100644 --- a/packages/plugin-node/package.json +++ b/packages/plugin-node/package.json @@ -1,89 +1,89 @@ { - "name": "@elizaos/plugin-node", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "files": [ - "dist", - "scripts", - "package.json", - "LICENSE", - "tsup.config.ts" - ], - "dependencies": { - "@elizaos/core": "workspace:*", - "@aws-sdk/client-s3": "^3.705.0", - "@aws-sdk/s3-request-presigner": "^3.705.0", - "@cliqz/adblocker-playwright": "1.34.0", - "@echogarden/espeak-ng-emscripten": "0.3.3", - "@echogarden/kissfft-wasm": "0.2.0", - "@echogarden/speex-resampler-wasm": "0.2.1", - "@huggingface/transformers": "3.0.2", - "@opendocsg/pdf2md": "0.1.32", - "@types/uuid": "10.0.0", - "alawmulaw": "6.0.0", - "bignumber": "1.1.0", - "bignumber.js": "9.1.2", - "capsolver-npm": "2.0.2", - "cldr-segmentation": "2.2.1", - "command-exists": "1.2.9", - "csv-writer": "1.6.0", - "echogarden": "2.0.7", - "espeak-ng": "1.0.2", - "ffmpeg-static": "5.2.0", - "fluent-ffmpeg": "2.1.3", - "formdata-node": "6.0.3", - "fs-extra": "11.2.0", - "gaxios": "6.7.1", - "gif-frames": "0.4.1", - "glob": "11.0.0", - "graceful-fs": "4.2.11", - "html-escaper": "3.0.3", - "html-to-text": "9.0.5", - "import-meta-resolve": "4.1.0", - "jieba-wasm": "2.2.0", - "json5": "2.2.3", - "kuromoji": "0.1.2", - "libsodium-wrappers": "0.7.15", - "multer": "1.4.5-lts.1", - "node-cache": "5.1.2", - "node-llama-cpp": "3.1.1", - "nodejs-whisper": "0.1.18", - "onnxruntime-node": "1.20.1", - "pdfjs-dist": "4.7.76", - "playwright": "1.48.2", - "pm2": "5.4.3", - "puppeteer-extra": "3.3.6", - "puppeteer-extra-plugin-capsolver": "2.0.1", - "sharp": "0.33.5", - "srt": "0.0.3", - "systeminformation": "5.23.5", - "tar": "7.4.3", - "tinyld": "1.3.4", - "uuid": "11.0.3", - "wav": "1.0.2", - "wav-encoder": "1.3.0", - "wavefile": "11.0.0", - "yargs": "17.7.2", - "youtube-dl-exec": "3.0.10" - }, - "devDependencies": { - "@types/node": "22.8.4", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache .", - "postinstall": "node scripts/postinstall.js" - }, - "peerDependencies": { - "onnxruntime-node": "1.20.1", - "whatwg-url": "7.1.0" - }, - "trustedDependencies": { - "onnxruntime-node": "1.20.1", - "sharp": "0.33.5" - } + "name": "@elizaos/plugin-node", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "files": [ + "dist", + "scripts", + "package.json", + "LICENSE", + "tsup.config.ts" + ], + "dependencies": { + "@elizaos/core": "workspace:*", + "@aws-sdk/client-s3": "^3.705.0", + "@aws-sdk/s3-request-presigner": "^3.705.0", + "@cliqz/adblocker-playwright": "1.34.0", + "@echogarden/espeak-ng-emscripten": "0.3.3", + "@echogarden/kissfft-wasm": "0.2.0", + "@echogarden/speex-resampler-wasm": "0.2.1", + "@huggingface/transformers": "3.0.2", + "@opendocsg/pdf2md": "0.1.32", + "@types/uuid": "10.0.0", + "alawmulaw": "6.0.0", + "bignumber": "1.1.0", + "bignumber.js": "9.1.2", + "capsolver-npm": "2.0.2", + "cldr-segmentation": "2.2.1", + "command-exists": "1.2.9", + "csv-writer": "1.6.0", + "echogarden": "2.0.7", + "espeak-ng": "1.0.2", + "ffmpeg-static": "5.2.0", + "fluent-ffmpeg": "2.1.3", + "formdata-node": "6.0.3", + "fs-extra": "11.2.0", + "gaxios": "6.7.1", + "gif-frames": "0.4.1", + "glob": "11.0.0", + "graceful-fs": "4.2.11", + "html-escaper": "3.0.3", + "html-to-text": "9.0.5", + "import-meta-resolve": "4.1.0", + "jieba-wasm": "2.2.0", + "json5": "2.2.3", + "kuromoji": "0.1.2", + "libsodium-wrappers": "0.7.15", + "multer": "1.4.5-lts.1", + "node-cache": "5.1.2", + "node-llama-cpp": "3.1.1", + "nodejs-whisper": "0.1.18", + "onnxruntime-node": "1.20.1", + "pdfjs-dist": "4.7.76", + "playwright": "1.48.2", + "pm2": "5.4.3", + "puppeteer-extra": "3.3.6", + "puppeteer-extra-plugin-capsolver": "2.0.1", + "sharp": "0.33.5", + "srt": "0.0.3", + "systeminformation": "5.23.5", + "tar": "7.4.3", + "tinyld": "1.3.4", + "uuid": "11.0.3", + "wav": "1.0.2", + "wav-encoder": "1.3.0", + "wavefile": "11.0.0", + "yargs": "17.7.2", + "youtube-dl-exec": "3.0.10" + }, + "devDependencies": { + "@types/node": "22.8.4", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache .", + "postinstall": "node scripts/postinstall.js" + }, + "peerDependencies": { + "onnxruntime-node": "1.20.1", + "whatwg-url": "7.1.0" + }, + "trustedDependencies": { + "onnxruntime-node": "1.20.1", + "sharp": "0.33.5" + } } diff --git a/packages/plugin-solana/package.json b/packages/plugin-solana/package.json index daf157ec51..8fbe9f44fd 100644 --- a/packages/plugin-solana/package.json +++ b/packages/plugin-solana/package.json @@ -1,33 +1,33 @@ { - "name": "@elizaos/plugin-solana", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@elizaos/plugin-trustdb": "workspace:*", - "@elizaos/plugin-tee": "workspace:*", - "@coral-xyz/anchor": "0.30.1", - "@solana/spl-token": "0.4.9", - "@solana/web3.js": "1.95.8", - "bignumber": "1.1.0", - "bignumber.js": "9.1.2", - "bs58": "6.0.0", - "fomo-sdk-solana": "1.3.2", - "node-cache": "5.1.2", - "pumpdotfun-sdk": "1.3.2", - "tsup": "8.3.5", - "vitest": "2.1.4" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache .", - "test": "vitest run" - }, - "peerDependencies": { - "form-data": "4.0.1", - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-solana", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@elizaos/plugin-trustdb": "workspace:*", + "@elizaos/plugin-tee": "workspace:*", + "@coral-xyz/anchor": "0.30.1", + "@solana/spl-token": "0.4.9", + "@solana/web3.js": "1.95.8", + "bignumber": "1.1.0", + "bignumber.js": "9.1.2", + "bs58": "6.0.0", + "fomo-sdk-solana": "1.3.2", + "node-cache": "5.1.2", + "pumpdotfun-sdk": "1.3.2", + "tsup": "8.3.5", + "vitest": "2.1.4" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache .", + "test": "vitest run" + }, + "peerDependencies": { + "form-data": "4.0.1", + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-starknet/package.json b/packages/plugin-starknet/package.json index 79a8662062..2a30e19195 100644 --- a/packages/plugin-starknet/package.json +++ b/packages/plugin-starknet/package.json @@ -1,27 +1,27 @@ { - "name": "@elizaos/plugin-starknet", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@elizaos/plugin-trustdb": "workspace:*", - "@avnu/avnu-sdk": "2.1.1", - "@uniswap/sdk-core": "6.0.0", - "@unruggable_starknet/core": "0.1.0", - "starknet": "6.18.0", - "tsup": "8.3.5", - "vitest": "2.1.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest run", - "test:watch": "vitest", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-starknet", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@elizaos/plugin-trustdb": "workspace:*", + "@avnu/avnu-sdk": "2.1.1", + "@uniswap/sdk-core": "6.0.0", + "@unruggable_starknet/core": "0.1.0", + "starknet": "6.18.0", + "tsup": "8.3.5", + "vitest": "2.1.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest run", + "test:watch": "vitest", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-story/package.json b/packages/plugin-story/package.json index 6c8a9b14c3..9f1e59b002 100644 --- a/packages/plugin-story/package.json +++ b/packages/plugin-story/package.json @@ -1,26 +1,26 @@ { - "name": "@elizaos/plugin-story", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@elizaos/plugin-trustdb": "workspace:*", - "@story-protocol/core-sdk": "1.2.0-rc.3", - "tsup": "8.3.5", - "viem": "2.21.54", - "@pinata/sdk": "^2.1.0" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest run" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - }, - "devDependencies": { - "@types/node": "^22.10.1" - } + "name": "@elizaos/plugin-story", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@elizaos/plugin-trustdb": "workspace:*", + "@story-protocol/core-sdk": "1.2.0-rc.3", + "tsup": "8.3.5", + "viem": "2.21.54", + "@pinata/sdk": "^2.1.0" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest run" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + }, + "devDependencies": { + "@types/node": "^22.10.1" + } } diff --git a/packages/plugin-sui/package.json b/packages/plugin-sui/package.json index 5b5d678387..0a15c67de5 100644 --- a/packages/plugin-sui/package.json +++ b/packages/plugin-sui/package.json @@ -1,26 +1,26 @@ { - "name": "@elizaos/plugin-sui", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@elizaos/plugin-trustdb": "workspace:*", - "@mysten/sui": "^1.16.0", - "bignumber": "1.1.0", - "bignumber.js": "9.1.2", - "node-cache": "5.1.2", - "tsup": "8.3.5", - "vitest": "2.1.4" - }, - "scripts": { - "build": "tsup --format esm --dts", - "lint": "eslint . --fix", - "test": "vitest run" - }, - "peerDependencies": { - "form-data": "4.0.1", - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-sui", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@elizaos/plugin-trustdb": "workspace:*", + "@mysten/sui": "^1.16.0", + "bignumber": "1.1.0", + "bignumber.js": "9.1.2", + "node-cache": "5.1.2", + "tsup": "8.3.5", + "vitest": "2.1.4" + }, + "scripts": { + "build": "tsup --format esm --dts", + "lint": "eslint . --fix", + "test": "vitest run" + }, + "peerDependencies": { + "form-data": "4.0.1", + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-tee/package.json b/packages/plugin-tee/package.json index 339846ae35..3985cd8b0a 100644 --- a/packages/plugin-tee/package.json +++ b/packages/plugin-tee/package.json @@ -1,28 +1,28 @@ { - "name": "@elizaos/plugin-tee", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@phala/dstack-sdk": "0.1.6", - "@solana/spl-token": "0.4.9", - "@solana/web3.js": "1.95.8", - "bignumber": "1.1.0", - "bignumber.js": "9.1.2", - "bs58": "6.0.0", - "node-cache": "5.1.2", - "pumpdotfun-sdk": "1.3.2", - "tsup": "8.3.5", - "viem": "2.21.53" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-tee", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@phala/dstack-sdk": "0.1.6", + "@solana/spl-token": "0.4.9", + "@solana/web3.js": "1.95.8", + "bignumber": "1.1.0", + "bignumber.js": "9.1.2", + "bs58": "6.0.0", + "node-cache": "5.1.2", + "pumpdotfun-sdk": "1.3.2", + "tsup": "8.3.5", + "viem": "2.21.53" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-ton/package.json b/packages/plugin-ton/package.json index d0a0e899c6..98af38aff1 100644 --- a/packages/plugin-ton/package.json +++ b/packages/plugin-ton/package.json @@ -1,25 +1,25 @@ { - "name": "@elizaos/plugin-ton", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@elizaos/plugin-trustdb": "workspace:*", - "bignumber": "1.1.0", - "bignumber.js": "9.1.2", - "node-cache": "5.1.2", - "@ton/ton": "15.1.0", - "@ton/crypto": "3.3.0", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest run" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-ton", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@elizaos/plugin-trustdb": "workspace:*", + "bignumber": "1.1.0", + "bignumber.js": "9.1.2", + "node-cache": "5.1.2", + "@ton/ton": "15.1.0", + "@ton/crypto": "3.3.0", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest run" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-trustdb/package.json b/packages/plugin-trustdb/package.json index 9a30d2af02..f0ab079a76 100644 --- a/packages/plugin-trustdb/package.json +++ b/packages/plugin-trustdb/package.json @@ -1,27 +1,27 @@ { - "name": "@elizaos/plugin-trustdb", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "dompurify": "3.2.2", - "tsup": "8.3.5", - "uuid": "11.0.3", - "vitest": "2.1.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest run", - "test:watch": "vitest", - "lint": "eslint --fix --cache ." - }, - "devDependencies": { - "@types/dompurify": "3.2.0" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-trustdb", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "dompurify": "3.2.2", + "tsup": "8.3.5", + "uuid": "11.0.3", + "vitest": "2.1.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest run", + "test:watch": "vitest", + "lint": "eslint --fix --cache ." + }, + "devDependencies": { + "@types/dompurify": "3.2.0" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-video-generation/package.json b/packages/plugin-video-generation/package.json index 237baf8cea..9051dca60e 100644 --- a/packages/plugin-video-generation/package.json +++ b/packages/plugin-video-generation/package.json @@ -1,19 +1,19 @@ { - "name": "@elizaos/plugin-video-generation", - "version": "0.1.7-alpha.1", - "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 ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-video-generation", + "version": "0.1.7-alpha.1", + "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 ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-web-search/package.json b/packages/plugin-web-search/package.json index 49e8b605fd..9dbe029115 100644 --- a/packages/plugin-web-search/package.json +++ b/packages/plugin-web-search/package.json @@ -1,18 +1,18 @@ { - "name": "@elizaos/plugin-web-search", - "version": "0.1.7-alpha.1", - "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" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-web-search", + "version": "0.1.7-alpha.1", + "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" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } diff --git a/packages/plugin-whatsapp/package.json b/packages/plugin-whatsapp/package.json index a1f6dc89c9..d56d37693d 100644 --- a/packages/plugin-whatsapp/package.json +++ b/packages/plugin-whatsapp/package.json @@ -1,26 +1,26 @@ { - "name": "@elizaos/plugin-whatsapp", - "version": "0.1.7-alpha.1", - "description": "WhatsApp Cloud API plugin", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "jest", - "lint": "eslint --fix --cache ." - }, - "dependencies": { - "@elizaos/core": "workspace:*", - "axios": "1.7.8" - }, - "devDependencies": { - "@types/jest": "29.5.14", - "@types/node": "20.17.9", - "@typescript-eslint/eslint-plugin": "8.16.0", - "@typescript-eslint/parser": "8.16.0", - "jest": "29.7.0", - "ts-jest": "29.2.5", - "typescript": "5.6.3" - } + "name": "@elizaos/plugin-whatsapp", + "version": "0.1.7-alpha.1", + "description": "WhatsApp Cloud API plugin", + "main": "dist/index.js", + "types": "dist/index.d.ts", + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "jest", + "lint": "eslint --fix --cache ." + }, + "dependencies": { + "@elizaos/core": "workspace:*", + "axios": "1.7.8" + }, + "devDependencies": { + "@types/jest": "29.5.14", + "@types/node": "20.17.9", + "@typescript-eslint/eslint-plugin": "8.16.0", + "@typescript-eslint/parser": "8.16.0", + "jest": "29.7.0", + "ts-jest": "29.2.5", + "typescript": "5.6.3" + } } diff --git a/packages/plugin-zksync-era/package.json b/packages/plugin-zksync-era/package.json index 2dd4b09ab3..b64598e53d 100644 --- a/packages/plugin-zksync-era/package.json +++ b/packages/plugin-zksync-era/package.json @@ -1,20 +1,20 @@ { - "name": "@elizaos/plugin-zksync-era", - "version": "0.1.7-alpha.1", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "workspace:*", - "@elizaos/plugin-trustdb": "workspace:*", - "tsup": "^8.3.5", - "web3": "^4.15.0", - "web3-plugin-zksync": "^1.0.8" - }, - "scripts": { - "build": "tsup --format esm --dts" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } + "name": "@elizaos/plugin-zksync-era", + "version": "0.1.7-alpha.1", + "main": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "dependencies": { + "@elizaos/core": "workspace:*", + "@elizaos/plugin-trustdb": "workspace:*", + "tsup": "^8.3.5", + "web3": "^4.15.0", + "web3-plugin-zksync": "^1.0.8" + }, + "scripts": { + "build": "tsup --format esm --dts" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" + } } From c4bd90603daea2930349724d7c9029c4742c45fa Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 24 Dec 2024 04:05:17 +0700 Subject: [PATCH 19/21] chore: allow scoped pr titles --- .github/workflows/pr.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 1b7bfebcfb..46b3b0520d 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -10,14 +10,14 @@ jobs: steps: - name: Check out the repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Validate PR title id: validate run: | PR_TITLE=$(jq -r .pull_request.title "$GITHUB_EVENT_PATH") echo "PR Title: $PR_TITLE" - if [[ ! "$PR_TITLE" =~ ^(feat|fix|docs|style|refactor|test|chore):\ .+ ]]; then + if [[ ! "$PR_TITLE" =~ ^(feat|fix|docs|style|refactor|test|chore)(\([a-zA-Z0-9-]+\))?:\ .+ ]]; then echo "PR title does not match the required pattern." exit 1 fi @@ -25,4 +25,6 @@ jobs: - name: Set status if: failure() run: | - gh pr comment ${{ github.event.pull_request.number }} --body "❌ PR title does not match the required pattern. Please use the format: 'type: description' (e.g., 'feat|fix|docs|style|refactor|test|chore: title')." + gh pr comment ${{ github.event.pull_request.number }} --body "❌ PR title does not match the required pattern. Please use one of these formats: + - 'type: description' (e.g., 'feat: add new feature') + - 'type(scope): description' (e.g., 'chore(core): update dependencies')" From fd5bbbd95b98af0548f2cd0de518c6716f27ef5c Mon Sep 17 00:00:00 2001 From: CardinalError Date: Mon, 23 Dec 2024 22:14:30 +0100 Subject: [PATCH 20/21] run multiple agents locally with auto setting of loclahost port --- agent/src/index.ts | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/agent/src/index.ts b/agent/src/index.ts index 1e49bae84f..f6e05e3d8e 100644 --- a/agent/src/index.ts +++ b/agent/src/index.ts @@ -60,6 +60,7 @@ import fs from "fs"; import path from "path"; import { fileURLToPath } from "url"; import yargs from "yargs"; +import net from "net"; const __filename = fileURLToPath(import.meta.url); // get the resolved path to the file const __dirname = path.dirname(__filename); // get the name of the directory @@ -692,13 +693,30 @@ async function startAgent( } } +const checkPortAvailable = (port: number): Promise => { + return new Promise((resolve) => { + const server = net.createServer(); + + server.once("error", (err: NodeJS.ErrnoException) => { + if (err.code === "EADDRINUSE") { + resolve(false); + } + }); + + server.once("listening", () => { + server.close(); + resolve(true); + }); + + server.listen(port); + }); +}; + const startAgents = async () => { const directClient = new DirectClient(); - const serverPort = parseInt(settings.SERVER_PORT || "3000"); + let serverPort = parseInt(settings.SERVER_PORT || "3000"); const args = parseArguments(); - let charactersArg = args.characters || args.character; - let characters = [defaultCharacter]; if (charactersArg) { @@ -713,13 +731,26 @@ const startAgents = async () => { elizaLogger.error("Error starting agents:", error); } + // Find available port + while (!(await checkPortAvailable(serverPort))) { + elizaLogger.warn( + `Port ${serverPort} is in use, trying ${serverPort + 1}` + ); + serverPort++; + } + // upload some agent functionality into directClient directClient.startAgent = async (character: Character) => { // wrap it so we don't have to inject directClient later return startAgent(character, directClient); }; + directClient.start(serverPort); + if (serverPort !== parseInt(settings.SERVER_PORT || "3000")) { + elizaLogger.log(`Server started on alternate port ${serverPort}`); + } + elizaLogger.log( "Run `pnpm start:client` to start the client and visit the outputted URL (http://localhost:5173) to chat with your agents" ); @@ -727,5 +758,5 @@ const startAgents = async () => { startAgents().catch((error) => { elizaLogger.error("Unhandled error in startAgents:", error); - process.exit(1); // Exit the process after logging + process.exit(1); }); From 0abcd4913d695b8f73cdb4d81bed073c3421a706 Mon Sep 17 00:00:00 2001 From: CardinalError Date: Mon, 23 Dec 2024 22:39:33 +0100 Subject: [PATCH 21/21] add message to exaplain how to use it --- agent/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/src/index.ts b/agent/src/index.ts index f6e05e3d8e..3fd100a97e 100644 --- a/agent/src/index.ts +++ b/agent/src/index.ts @@ -752,7 +752,7 @@ const startAgents = async () => { } elizaLogger.log( - "Run `pnpm start:client` to start the client and visit the outputted URL (http://localhost:5173) to chat with your agents" + "Run `pnpm start:client` to start the client and visit the outputted URL (http://localhost:5173) to chat with your agents. When running multiple agents, use client with different port `SERVER_PORT=3001 pnpm start:client`" ); };