From f96f2c8350fcbb9fe75a2db61d4bdedeb51ba9cf Mon Sep 17 00:00:00 2001 From: mike dupont Date: Tue, 31 Dec 2024 13:02:36 -0500 Subject: [PATCH 01/16] bugfix. the port 80 is not listening use 3000 3000 is listening on the docker image --- docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 55dd8e6ce67..01acb4400e9 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -34,7 +34,7 @@ services: - SERVER_PORT=3000 - WALLET_SECRET_SALT=secret_salt ports: - - "3000:80" + - "3000:3000" restart: always volumes: From 5be09d83879e11274e875f92f914c4a6cbaf3c77 Mon Sep 17 00:00:00 2001 From: dxlliv Date: Fri, 3 Jan 2025 01:07:42 +0100 Subject: [PATCH 02/16] Simulate discord typing while generating a response --- packages/client-discord/src/messages.ts | 30 ++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/packages/client-discord/src/messages.ts b/packages/client-discord/src/messages.ts index f6778564fe6..ed865316077 100644 --- a/packages/client-discord/src/messages.ts +++ b/packages/client-discord/src/messages.ts @@ -389,11 +389,16 @@ export class MessageManager { discordMessageHandlerTemplate, }); + // simulate discord typing while generating a response + const stopTyping = this.simulateTyping(message) + const responseContent = await this._generateResponse( memory, state, context - ); + ).finally(() => { + stopTyping() + }); responseContent.text = responseContent.text?.trim(); responseContent.inReplyTo = stringToUuid( @@ -1307,4 +1312,27 @@ export class MessageManager { const data = await response.json(); return data.username; } + + /** + * Simulate discord typing while generating a response; + * returns a function to interrupt the typing loop + * + * @param message + */ + private simulateTyping(message: DiscordMessage) { + let typing = true; + + const typingLoop = async () => { + while (typing) { + await message.channel.sendTyping(); + await new Promise((resolve) => setTimeout(resolve, 3000)); + } + }; + + typingLoop(); + + return function stopTyping() { + typing = false + } + } } From fc6f6d0883e1147bb79a162aa48990e72cab67f8 Mon Sep 17 00:00:00 2001 From: aalimsahin Date: Fri, 3 Jan 2025 03:08:01 +0300 Subject: [PATCH 03/16] refactor: modularize mutations --- client/src/Chat.tsx | 46 +++----------- client/src/api/index.ts | 2 + client/src/api/mutations/index.ts | 1 + .../src/api/mutations/sendMessageMutation.ts | 60 +++++++++++++++++++ client/src/api/routes.ts | 4 ++ client/src/api/types.ts | 13 ++++ client/src/components/app-sidebar.tsx | 3 +- 7 files changed, 90 insertions(+), 39 deletions(-) create mode 100644 client/src/api/index.ts create mode 100644 client/src/api/mutations/index.ts create mode 100644 client/src/api/mutations/sendMessageMutation.ts create mode 100644 client/src/api/routes.ts create mode 100644 client/src/api/types.ts diff --git a/client/src/Chat.tsx b/client/src/Chat.tsx index e1744c866e9..73ba52dc1b8 100644 --- a/client/src/Chat.tsx +++ b/client/src/Chat.tsx @@ -1,17 +1,11 @@ import { useRef, useState } from "react"; import { useParams } from "react-router-dom"; -import { useMutation } from "@tanstack/react-query"; import { Button } from "@/components/ui/button"; import { ImageIcon } from "lucide-react"; import { Input } from "@/components/ui/input"; +import type { TextResponse } from "@/api"; +import { useSendMessageMutation } from "@/api"; import "./App.css"; -import path from "path"; - -type TextResponse = { - text: string; - user: string; - attachments?: { url: string; contentType: string; title: string }[]; -}; export default function Chat() { const { agentId } = useParams(); @@ -19,33 +13,11 @@ export default function Chat() { const [messages, setMessages] = useState([]); const [selectedFile, setSelectedFile] = useState(null); const fileInputRef = useRef(null); - - const mutation = useMutation({ - mutationFn: async (text: string) => { - const formData = new FormData(); - formData.append("text", text); - formData.append("userId", "user"); - formData.append("roomId", `default-room-${agentId}`); - - if (selectedFile) { - formData.append("file", selectedFile); - } - - const res = await fetch(`/api/${agentId}/message`, { - method: "POST", - body: formData, - }); - return res.json() as Promise; - }, - onSuccess: (data) => { - setMessages((prev) => [...prev, ...data]); - setSelectedFile(null); - }, - }); + const { mutate: sendMessage, isPending } = useSendMessageMutation({ setMessages, setSelectedFile }); const handleSubmit = async (e: React.FormEvent) => { e.preventDefault(); - if (!input.trim() && !selectedFile) return; + if (!input.trim() && !selectedFile || !agentId) return; // Add user message immediately to state const userMessage: TextResponse = { @@ -55,7 +27,7 @@ export default function Chat() { }; setMessages((prev) => [...prev, userMessage]); - mutation.mutate(input); + sendMessage({ text: input, agentId, selectedFile }); setInput(""); }; @@ -133,19 +105,19 @@ export default function Chat() { onChange={(e) => setInput(e.target.value)} placeholder="Type a message..." className="flex-1" - disabled={mutation.isPending} + disabled={isPending} /> - {selectedFile && ( diff --git a/client/src/api/index.ts b/client/src/api/index.ts new file mode 100644 index 00000000000..0c2adeab024 --- /dev/null +++ b/client/src/api/index.ts @@ -0,0 +1,2 @@ +export * from "./mutations"; +export * from "./queries"; diff --git a/client/src/api/mutations/index.ts b/client/src/api/mutations/index.ts new file mode 100644 index 00000000000..ca9f0653dc5 --- /dev/null +++ b/client/src/api/mutations/index.ts @@ -0,0 +1 @@ +export * from "./sendMessageMutation"; diff --git a/client/src/api/mutations/sendMessageMutation.ts b/client/src/api/mutations/sendMessageMutation.ts new file mode 100644 index 00000000000..500e19d2e10 --- /dev/null +++ b/client/src/api/mutations/sendMessageMutation.ts @@ -0,0 +1,60 @@ +import type { CustomMutationResult } from "../types"; + +import { useMutation } from "@tanstack/react-query"; +import { ROUTES } from "../routes"; +import { SetStateAction } from "react"; + +export type TextResponse = { + text: string; + user: string; + attachments?: { url: string; contentType: string; title: string }[]; +}; + +type SendMessageMutationProps = { + text: string; + agentId: string; + selectedFile: File | null; +}; + +type Props = Required<{ + setMessages: (value: SetStateAction) => void; + setSelectedFile: (value: SetStateAction) => void; +}>; + +export const useSendMessageMutation = ({ + setMessages, + setSelectedFile, +}: Props): CustomMutationResult => { + const mutation = useMutation({ + mutationFn: async ({ + text, + agentId, + selectedFile, + }: SendMessageMutationProps) => { + const formData = new FormData(); + formData.append("text", text); + formData.append("userId", "user"); + formData.append("roomId", `default-room-${agentId}`); + + if (selectedFile) { + formData.append("file", selectedFile); + } + + const res = await fetch(ROUTES.sendMessage(agentId), { + method: "POST", + body: formData, + }); + + return res.json() as Promise; + }, + onSuccess: (data) => { + setMessages((prev) => [...prev, ...data]); + setSelectedFile(null); + }, + onError: (error) => { + console.error("[useSendMessageMutation]:", error); + }, + }); + + return mutation; +}; diff --git a/client/src/api/routes.ts b/client/src/api/routes.ts new file mode 100644 index 00000000000..1005a61a72e --- /dev/null +++ b/client/src/api/routes.ts @@ -0,0 +1,4 @@ +export const ROUTES = { + sendMessage: (agentId: string): string => `/api/${agentId}/message`, + getAgents: (): string => `/api/agents`, +}; diff --git a/client/src/api/types.ts b/client/src/api/types.ts new file mode 100644 index 00000000000..286daf64b55 --- /dev/null +++ b/client/src/api/types.ts @@ -0,0 +1,13 @@ +import type { UseMutationResult, UseQueryResult } from "@tanstack/react-query"; + +export type CustomMutationResult = UseMutationResult< + TData, + Error, + TArgs, + unknown +>; + +export type CustomQueryResult = Omit< + UseQueryResult, + "data" | "refetch" | "promise" +> & { data: TData; refetch: () => void; promise: unknown }; diff --git a/client/src/components/app-sidebar.tsx b/client/src/components/app-sidebar.tsx index 5245ad8febd..ac8d661c15b 100644 --- a/client/src/components/app-sidebar.tsx +++ b/client/src/components/app-sidebar.tsx @@ -1,4 +1,4 @@ -import { Calendar, Home, Inbox, Search, Settings } from "lucide-react"; +import { Calendar, Inbox } from "lucide-react"; import { useParams } from "react-router-dom"; import { @@ -10,7 +10,6 @@ import { SidebarMenu, SidebarMenuButton, SidebarMenuItem, - SidebarTrigger, } from "@/components/ui/sidebar"; // Menu items. From 4a8e9765290ef9217e55d024a7b0c7274a4f642a Mon Sep 17 00:00:00 2001 From: aalimsahin Date: Fri, 3 Jan 2025 03:08:34 +0300 Subject: [PATCH 04/16] refactor: modularize queries --- client/src/Agents.tsx | 16 ++------------ client/src/api/queries/index.ts | 1 + client/src/api/queries/queries.ts | 3 +++ client/src/api/queries/useGetAgentsQuery.ts | 23 +++++++++++++++++++++ 4 files changed, 29 insertions(+), 14 deletions(-) create mode 100644 client/src/api/queries/index.ts create mode 100644 client/src/api/queries/queries.ts create mode 100644 client/src/api/queries/useGetAgentsQuery.ts diff --git a/client/src/Agents.tsx b/client/src/Agents.tsx index 06e2c56b495..90de2fca667 100644 --- a/client/src/Agents.tsx +++ b/client/src/Agents.tsx @@ -1,23 +1,11 @@ -import { useQuery } from "@tanstack/react-query"; import { Button } from "@/components/ui/button"; import { useNavigate } from "react-router-dom"; +import { useGetAgentsQuery } from "@/api"; import "./App.css"; -type Agent = { - id: string; - name: string; -}; - function Agents() { const navigate = useNavigate(); - const { data: agents, isLoading } = useQuery({ - queryKey: ["agents"], - queryFn: async () => { - const res = await fetch("/api/agents"); - const data = await res.json(); - return data.agents as Agent[]; - }, - }); + const { data: agents, isLoading } = useGetAgentsQuery() return (
diff --git a/client/src/api/queries/index.ts b/client/src/api/queries/index.ts new file mode 100644 index 00000000000..1b1c08c1e91 --- /dev/null +++ b/client/src/api/queries/index.ts @@ -0,0 +1 @@ +export * from "./useGetAgentsQuery"; diff --git a/client/src/api/queries/queries.ts b/client/src/api/queries/queries.ts new file mode 100644 index 00000000000..40253fe29d6 --- /dev/null +++ b/client/src/api/queries/queries.ts @@ -0,0 +1,3 @@ +export enum Queries { + AGENTS = "agents", +} diff --git a/client/src/api/queries/useGetAgentsQuery.ts b/client/src/api/queries/useGetAgentsQuery.ts new file mode 100644 index 00000000000..88f91ff7e78 --- /dev/null +++ b/client/src/api/queries/useGetAgentsQuery.ts @@ -0,0 +1,23 @@ +import { useQuery } from "@tanstack/react-query"; +import type { CustomQueryResult } from "../types"; +import { Queries } from "./queries"; +import { ROUTES } from "../routes"; + +export type Agent = { + id: string; + name: string; +}; + +export const useGetAgentsQuery = (): CustomQueryResult => { + return useQuery({ + queryKey: [Queries.AGENTS], + queryFn: async () => { + const res = await fetch(ROUTES.getAgents()); + const data = await res.json(); + return data.agents as Agent[]; + }, + retry: (failureCount) => failureCount < 3, + staleTime: 5 * 60 * 1000, // 5 minutes + refetchOnWindowFocus: false, + }); +}; From bc891f963760349cf027ad3f56b963e751970e53 Mon Sep 17 00:00:00 2001 From: bufan Date: Fri, 3 Jan 2025 13:06:12 +0800 Subject: [PATCH 05/16] Make the unit of ACTION_INTERVAL consistent across all instances to minutes. --- .env.example | 2 +- packages/client-twitter/src/post.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index f54f552f6af..a1b673dbc15 100644 --- a/.env.example +++ b/.env.example @@ -78,7 +78,7 @@ POST_INTERVAL_MAX= # Default: 180 POST_IMMEDIATELY= # Twitter action processing configuration -ACTION_INTERVAL=300000 # Interval in milliseconds between action processing runs (default: 5 minutes) +ACTION_INTERVAL= # Interval in minutes between action processing runs (default: 5 minutes) ENABLE_ACTION_PROCESSING=false # Set to true to enable the action processing loop # Feature Flags diff --git a/packages/client-twitter/src/post.ts b/packages/client-twitter/src/post.ts index 41466c5ba3d..c22caf340fb 100644 --- a/packages/client-twitter/src/post.ts +++ b/packages/client-twitter/src/post.ts @@ -121,7 +121,7 @@ export class TwitterPostClient { `- Action Processing: ${this.client.twitterConfig.ENABLE_ACTION_PROCESSING ? "enabled" : "disabled"}` ); elizaLogger.log( - `- Action Interval: ${this.client.twitterConfig.ACTION_INTERVAL} seconds` + `- Action Interval: ${this.client.twitterConfig.ACTION_INTERVAL} minutes` ); elizaLogger.log( `- Post Immediately: ${this.client.twitterConfig.POST_IMMEDIATELY ? "enabled" : "disabled"}` @@ -180,7 +180,7 @@ export class TwitterPostClient { if (results) { elizaLogger.log(`Processed ${results.length} tweets`); elizaLogger.log( - `Next action processing scheduled in ${actionInterval / 1000} seconds` + `Next action processing scheduled in ${actionInterval} minutes` ); // Wait for the full interval before next processing await new Promise((resolve) => From f92f6ca19af31d57e3f4eed994a86ef0368fd69e Mon Sep 17 00:00:00 2001 From: AIFlow_ML Date: Fri, 3 Jan 2025 13:57:24 +0700 Subject: [PATCH 06/16] fix(client-slack): implement Media type properties in message attachments - #1384 --- packages/client-slack/jest.config.js | 2 +- packages/client-slack/src/messages.ts | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/client-slack/jest.config.js b/packages/client-slack/jest.config.js index c3bab4bd9ce..ceb00df4810 100644 --- a/packages/client-slack/jest.config.js +++ b/packages/client-slack/jest.config.js @@ -1,5 +1,5 @@ /** @type {import('ts-jest').JestConfigWithTsJest} */ -module.exports = { +export default { preset: 'ts-jest', testEnvironment: 'node', roots: ['/src'], diff --git a/packages/client-slack/src/messages.ts b/packages/client-slack/src/messages.ts index 089a9592683..3a2008d2b55 100644 --- a/packages/client-slack/src/messages.ts +++ b/packages/client-slack/src/messages.ts @@ -255,6 +255,16 @@ export class MessageManager { `${event.thread_ts}-${this.runtime.agentId}` ) : undefined, + attachments: event.text + ? [{ + id: stringToUuid(`${event.ts}-attachment`), + url: '', // Since this is text content, no URL is needed + title: 'Text Attachment', + source: 'slack', + description: 'Text content from Slack message', + text: cleanedText + }] + : undefined, }; const memory: Memory = { From c988a2f6832203c4042293bd56f1785730ccf408 Mon Sep 17 00:00:00 2001 From: AIFlow_ML Date: Fri, 3 Jan 2025 15:02:25 +0700 Subject: [PATCH 07/16] fix(postgres): Handle vector extension creation properly (#1561) - Add proper checks for vector extension existence - Create extensions schema if not exists - Add extensions schema to search path - Ensure idempotent schema creation --- packages/adapter-postgres/schema.sql | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/adapter-postgres/schema.sql b/packages/adapter-postgres/schema.sql index 68f01951515..972849acb96 100644 --- a/packages/adapter-postgres/schema.sql +++ b/packages/adapter-postgres/schema.sql @@ -10,10 +10,26 @@ -- DROP TABLE IF EXISTS rooms CASCADE; -- DROP TABLE IF EXISTS accounts CASCADE; +-- Create extensions schema first +CREATE SCHEMA IF NOT EXISTS extensions; + +DO $$ +BEGIN + IF NOT EXISTS ( + SELECT 1 + FROM pg_extension + WHERE extname = 'vector' + ) THEN + CREATE EXTENSION vector + SCHEMA extensions; + END IF; +END $$; -CREATE EXTENSION IF NOT EXISTS vector; CREATE EXTENSION IF NOT EXISTS fuzzystrmatch; +-- Add extensions schema to search path +SET search_path TO public, extensions; + -- Create a function to determine vector dimension CREATE OR REPLACE FUNCTION get_embedding_dimension() RETURNS INTEGER AS $$ From 8d51b80a7f99bb5ad66115f7c1f929efdb8e4953 Mon Sep 17 00:00:00 2001 From: Robert Sloan <89170263+RobertSloan22@users.noreply.github.com> Date: Fri, 3 Jan 2025 19:57:19 -0600 Subject: [PATCH 08/16] Create README.md Adding README.md for the client-github package --- packages/client-github/README.md | 147 +++++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 packages/client-github/README.md diff --git a/packages/client-github/README.md b/packages/client-github/README.md new file mode 100644 index 00000000000..43bcc90ccb1 --- /dev/null +++ b/packages/client-github/README.md @@ -0,0 +1,147 @@ +# Client-GitHub for Eliza Framework + +## Overview + +The `client-github` module is a component of the Eliza framework designed to interact with GitHub repositories. It provides functionalities to clone repositories, manage branches, create pull requests, and maintain file-based knowledge for Eliza agents. + +This client leverages GitHub's REST API via the `@octokit/rest` library and includes robust error handling and configuration validation. + +## Features + +- **Repository Management**: Clone, pull, and switch branches +- **File Processing**: Generate agent memories from repository files +- **Pull Request Management**: Create and manage pull requests programmatically +- **Commit Operations**: Stage, commit, and push files with ease +- **Knowledge Base Integration**: Convert repository content into agent memories +- **Branch Management**: Flexible branch switching and creation + +## Installation + +Install the package as part of the Eliza framework: +bash +pnpm add @elizaos/client-github + +## Configuration + +The GitHub client requires the following environment variables: + +| Variable | Description | Required | +|-------------------|------------------------------------|----------| +| `GITHUB_OWNER` | Owner of the GitHub repository | Yes | +| `GITHUB_REPO` | Repository name | Yes | +| `GITHUB_BRANCH` | Target branch (default: `main`) | Yes | +| `GITHUB_PATH` | Path to focus on within the repo | Yes | +| `GITHUB_API_TOKEN`| GitHub API token for authentication| Yes | + +## Usage + +### Initialization +typescript:packages/client-github/README.md +import { GitHubClientInterface } from "@elizaos/client-github"; +// Initialize the client +const client = await GitHubClientInterface.start(runtime); + +### Creating Memories + +```typescript +// Convert repository files to agent memories +await client.createMemoriesFromFiles(); + +typescript +// Convert repository files to agent memories +await client.createMemoriesFromFiles(); +``` + +### Creating Pull Requests + +```typescript +await client.createPullRequest( + "Feature: Add new functionality", + "feature/new-feature", + [ + { + path: "src/feature.ts", + content: "// New feature implementation" + } + ], + "Implements new functionality with tests" +); + + +typescript +await client.createPullRequest( +"Feature: Add new functionality", +"feature/new-feature", +[ +{ +path: "src/feature.ts", +content: "// New feature implementation" +} +], +"Implements new functionality with tests" +); +``` + +### Direct Commits + +```typescript +await client.createCommit( + "Update configuration", + [ + { + path: "config.json", + content: JSON.stringify(config, null, 2) + } + ] +); + + +``` + +## API Reference + +### GitHubClientInterface + +- `start(runtime: IAgentRuntime)`: Initialize the client +- `stop(runtime: IAgentRuntime)`: Clean up resources + +### GitHubClient + +- `initialize()`: Set up repository and configuration +- `createMemoriesFromFiles()`: Generate agent memories +- `createPullRequest(title: string, branch: string, files: Array<{path: string, content: string}>, description?: string)`: Create PR +- `createCommit(message: string, files: Array<{path: string, content: string}>)`: Direct commit + +## Scripts + +```bash +# Build the project +pnpm run build + +# Development with watch mode +pnpm run dev + +# Lint the codebase +pnpm run lint +``` + +## Dependencies + +- `@elizaos/core`: ^0.1.7-alpha.2 +- `@octokit/rest`: ^20.1.1 +- `@octokit/types`: ^12.6.0 +- `glob`: ^10.4.5 +- `simple-git`: ^3.27.0 + +## Development Dependencies + +- `@types/glob`: ^8.1.0 +- `tsup`: ^8.3.5 + +## Contribution + +Contributions are welcome! Please ensure all code adheres to the framework's standards and passes linting checks. + +## License + +This project is licensed under the MIT License. See the LICENSE file for details. From 507c1033551122aab6e70dc1f74ca1071596c0e1 Mon Sep 17 00:00:00 2001 From: Rudrakc Date: Sat, 4 Jan 2025 08:27:59 +0530 Subject: [PATCH 09/16] Removed FerePro plugin --- packages/plugin-ferePro/.npmignore | 6 - packages/plugin-ferePro/eslint.config.mjs | 3 - packages/plugin-ferePro/package.json | 21 --- .../src/actions/FereProAction.ts | 150 ------------------ packages/plugin-ferePro/src/index.ts | 15 -- .../src/services/FereProService.ts | 104 ------------ packages/plugin-ferePro/tsconfig.json | 12 -- packages/plugin-ferePro/tsup.config.ts | 10 -- 8 files changed, 321 deletions(-) delete mode 100644 packages/plugin-ferePro/.npmignore delete mode 100644 packages/plugin-ferePro/eslint.config.mjs delete mode 100644 packages/plugin-ferePro/package.json delete mode 100644 packages/plugin-ferePro/src/actions/FereProAction.ts delete mode 100644 packages/plugin-ferePro/src/index.ts delete mode 100644 packages/plugin-ferePro/src/services/FereProService.ts delete mode 100644 packages/plugin-ferePro/tsconfig.json delete mode 100644 packages/plugin-ferePro/tsup.config.ts diff --git a/packages/plugin-ferePro/.npmignore b/packages/plugin-ferePro/.npmignore deleted file mode 100644 index 078562eceab..00000000000 --- a/packages/plugin-ferePro/.npmignore +++ /dev/null @@ -1,6 +0,0 @@ -* - -!dist/** -!package.json -!readme.md -!tsup.config.ts \ No newline at end of file diff --git a/packages/plugin-ferePro/eslint.config.mjs b/packages/plugin-ferePro/eslint.config.mjs deleted file mode 100644 index 92fe5bbebef..00000000000 --- a/packages/plugin-ferePro/eslint.config.mjs +++ /dev/null @@ -1,3 +0,0 @@ -import eslintGlobalConfig from "../../eslint.config.mjs"; - -export default [...eslintGlobalConfig]; diff --git a/packages/plugin-ferePro/package.json b/packages/plugin-ferePro/package.json deleted file mode 100644 index c65e8e429f3..00000000000 --- a/packages/plugin-ferePro/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "@elizaos/plugin-ferepro", - "version": "0.1.7-alpha.2", - "main": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "dependencies": { - "@elizaos/core": "^0.1.7-alpha.1", - "tsup": "^8.3.5", - "ws": "^8.18.0" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsx watch src/index.ts", - "lint": "eslint --fix --cache ." - }, - "devDependencies": { - "@types/ws": "^8.5.13", - "tsx": "^4.19.2" - } -} diff --git a/packages/plugin-ferePro/src/actions/FereProAction.ts b/packages/plugin-ferePro/src/actions/FereProAction.ts deleted file mode 100644 index 415c8aa0ce8..00000000000 --- a/packages/plugin-ferePro/src/actions/FereProAction.ts +++ /dev/null @@ -1,150 +0,0 @@ -import { - elizaLogger, - ActionExample, - Memory, - State, - IAgentRuntime, - type Action, - HandlerCallback, -} from "@elizaos/core"; -import { FereProService } from "../services/FereProService"; - -export interface FereMessageContent { - message: string; - stream?: boolean; - debug?: boolean; -} - -function isValidMessageContent(content: any): content is FereMessageContent { - return typeof content.message === "string"; -} - -const _fereProTemplate = `Extract the core query from user input and respond with the requested data. If the user asks for a comparison or historical data, make sure to reflect that accurately. - -Example: -\`\`\`json -{ - "message": "Compare top 3 coins against Bitcoin in the last 3 months", - "stream": true, - "debug": false -} -\`\`\` - -{{recentMessages}} - -Extract the core request and execute the appropriate action.`; - -export default { - name: "SEND_FEREPRO_MESSAGE", - similes: ["QUERY_MARKET", "ASK_AGENT"], - description: - "Send a message to FerePro API and receive streaming or non-streaming responses.", - - validate: async (runtime: IAgentRuntime, _message: Memory) => { - console.log("Validating environment for FerePro..."); - const user = runtime.getSetting("FERE_USER_ID"); - if (!user) { - throw new Error("FERE_USER_ID not set in runtime."); - } - return true; - }, - - handler: async ( - runtime: IAgentRuntime, - message: Memory, - state: State, - _options: { [key: string]: unknown }, - callback?: HandlerCallback - ) => { - elizaLogger.log("Executing SEND_FEREPRO_MESSAGE..."); - - // Ensure state exists or generate a new one - if (!state) { - state = (await runtime.composeState(message)) as State; - } else { - state = await runtime.updateRecentMessageState(state); - } - - // Compose context for the WebSocket message - const context = { - message: message.content.text, - stream: message.content.stream || false, - debug: message.content.debug || false, - }; - - if (!isValidMessageContent(context)) { - console.error("Invalid content for SEND_FEREPRO_MESSAGE."); - if (callback) { - callback({ - text: "Unable to process request. Invalid message content.", - content: { error: "Invalid message content" }, - }); - } - return false; - } - - // Send the message via WebSocket using FereProService - try { - const service = new FereProService(); - await service.initialize(runtime); - - const response = await service.sendMessage(context); - - if (response.success) { - if (callback) { - callback({ - text: "Response received from FerePro.", - content: response.data, - }); - } - return true; - } else { - throw new Error(response.error || "Unknown WebSocket error."); - } - } catch (error) { - console.error("Error during WebSocket communication:", error); - if (callback) { - callback({ - text: `Error sending message: ${error.message}`, - content: { error: error.message }, - }); - } - return false; - } - }, - - examples: [ - [ - { - user: "{{user1}}", - content: { - text: "What are the top 5 cryptocurrencies?", - action: "SEND_FEREPRO_MESSAGE", - }, - }, - { - user: "{{user2}}", - content: { - text: "Here are the top 5 cryptocurrencies.", - }, - }, - ], - [ - { - user: "{{user1}}", - content: { - text: "Compare Ethereum and Bitcoin for the past 6 months.", - action: "SEND_FEREPRO_MESSAGE", - stream: true, - debug: true, - }, - }, - { - user: "{{user2}}", - content: { - text: "Streaming Ethereum and Bitcoin comparison...", - }, - }, - ], - ] as ActionExample[][], -} as Action; diff --git a/packages/plugin-ferePro/src/index.ts b/packages/plugin-ferePro/src/index.ts deleted file mode 100644 index d4513ef478d..00000000000 --- a/packages/plugin-ferePro/src/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Plugin } from "@elizaos/core"; -import sendFereProMessage from "./actions/FereProAction"; -import { FereProService } from "./services/FereProService"; - -export const fereProPlugin: Plugin = { - name: "ferePro", - description: - "FerePro Plugin for Eliza - Enables WebSocket communication for AI-driven market insights", - actions: [sendFereProMessage], - evaluators: [], - providers: [], - services: [new FereProService()], -}; - -export default fereProPlugin; diff --git a/packages/plugin-ferePro/src/services/FereProService.ts b/packages/plugin-ferePro/src/services/FereProService.ts deleted file mode 100644 index 3300bf4d71e..00000000000 --- a/packages/plugin-ferePro/src/services/FereProService.ts +++ /dev/null @@ -1,104 +0,0 @@ -import WebSocket from "ws"; -import { IAgentRuntime, Service } from "@elizaos/core"; - -interface ChatResponse { - answer: string; - chat_id: string; - representation?: Record[]; - agent_api_name: string; - query_summary: string; - agent_credits: number; - credits_available: number; -} - -interface FereMessage { - message: string; - stream?: boolean; - debug?: boolean; -} - -interface FereResponse { - success: boolean; - data?: ChatResponse; - error?: string; -} - -export class FereProService extends Service { - private ws: WebSocket | null = null; - private user: string = "1a5b4a29-9d95-44c8-aef3-05a8e515f43e"; - private runtime: IAgentRuntime | null = null; - - async initialize(runtime: IAgentRuntime): Promise { - console.log("Initializing FerePro WebSocket Service"); - this.runtime = runtime; - this.user = runtime.getSetting("FERE_USER_ID") ?? this.user; - } - - /** - * Connect to WebSocket and send a message - */ - async sendMessage(payload: FereMessage): Promise { - return new Promise((resolve, reject) => { - try { - const url = `wss:/api.fereai.xyz/chat/v2/ws/${this.user}`; - this.ws = new WebSocket(url); - - this.ws.on("open", () => { - console.log("Connected to FerePro WebSocket"); - this.ws?.send(JSON.stringify(payload)); - console.log("Message sent:", payload.message); - }); - - this.ws.on("message", (data) => { - try { - const response = JSON.parse(data.toString()); - const chatResponse: ChatResponse = { - answer: response.answer, - chat_id: response.chat_id, - representation: response.representation || null, - agent_api_name: response.agent_api_name, - query_summary: response.query_summary, - agent_credits: response.agent_credits, - credits_available: response.credits_available, - }; - - console.log("Received ChatResponse:", chatResponse); - - resolve({ - success: true, - data: chatResponse, - }); - } catch (err) { - console.error("Error parsing response:", err); - reject({ - success: false, - error: "Invalid response format", - }); - } - }); - - this.ws.on("close", () => { - console.log("Disconnected from FerePro WebSocket"); - }); - - this.ws.on("error", (err) => { - console.error("WebSocket error:", err); - reject({ - success: false, - error: err.message, - }); - }); - } catch (error) { - reject({ - success: false, - error: - error instanceof Error - ? error.message - : "Error Occured", - }); - } - }); - } -} - -export default FereProService; diff --git a/packages/plugin-ferePro/tsconfig.json b/packages/plugin-ferePro/tsconfig.json deleted file mode 100644 index c5870a42ab1..00000000000 --- a/packages/plugin-ferePro/tsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "compilerOptions": { - "module": "ESNext", - "target": "ESNext", - "outDir": "dist", - "declaration": true, - "declarationMap": true, - "moduleResolution": "Node", - "esModuleInterop": true, - "skipLibCheck": true - } -} diff --git a/packages/plugin-ferePro/tsup.config.ts b/packages/plugin-ferePro/tsup.config.ts deleted file mode 100644 index c7bf2d61a74..00000000000 --- a/packages/plugin-ferePro/tsup.config.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { defineConfig } from "tsup"; - -export default defineConfig({ - entry: ["src/index.ts"], - format: ["esm"], - dts: true, - sourcemap: true, - splitting: false, - clean: true, -}); From 8436f075fd04ae4b192003d012c064683e3214ca Mon Sep 17 00:00:00 2001 From: Shakker Nerd <165377636+shakkernerd@users.noreply.github.com> Date: Sat, 4 Jan 2025 04:43:31 +0000 Subject: [PATCH 10/16] Revert "fix(postgres): Handle vector extension creation properly (#1561)" --- packages/adapter-postgres/schema.sql | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/packages/adapter-postgres/schema.sql b/packages/adapter-postgres/schema.sql index 2467c54028c..4a0f7c6f1dd 100644 --- a/packages/adapter-postgres/schema.sql +++ b/packages/adapter-postgres/schema.sql @@ -10,26 +10,10 @@ -- DROP TABLE IF EXISTS rooms CASCADE; -- DROP TABLE IF EXISTS accounts CASCADE; --- Create extensions schema first -CREATE SCHEMA IF NOT EXISTS extensions; - -DO $$ -BEGIN - IF NOT EXISTS ( - SELECT 1 - FROM pg_extension - WHERE extname = 'vector' - ) THEN - CREATE EXTENSION vector - SCHEMA extensions; - END IF; -END $$; +CREATE EXTENSION IF NOT EXISTS vector; CREATE EXTENSION IF NOT EXISTS fuzzystrmatch; --- Add extensions schema to search path -SET search_path TO public, extensions; - -- Create a function to determine vector dimension CREATE OR REPLACE FUNCTION get_embedding_dimension() RETURNS INTEGER AS $$ From e9a03fee5439a8c2e371626fdad94389008a9a39 Mon Sep 17 00:00:00 2001 From: Shakker Nerd <165377636+shakkernerd@users.noreply.github.com> Date: Sat, 4 Jan 2025 06:04:23 +0000 Subject: [PATCH 11/16] chore: install with no frozen-lockfile flag --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 09649bafaea..45a4b4b3673 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: cache: "pnpm" - name: Install dependencies - run: pnpm install + run: pnpm install -r --no-frozen-lockfile - name: Run Prettier run: pnpm run prettier --check . From e49f2cdfabdb41996768a1dd9b195529051ee35f Mon Sep 17 00:00:00 2001 From: Shakker Nerd Date: Sat, 4 Jan 2025 06:20:03 +0000 Subject: [PATCH 12/16] fix: generatioon tests for trimTokens --- packages/core/src/tests/generation.test.ts | 27 ++++++++++------------ 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/packages/core/src/tests/generation.test.ts b/packages/core/src/tests/generation.test.ts index f1ec8f9bc69..5d2c8720342 100644 --- a/packages/core/src/tests/generation.test.ts +++ b/packages/core/src/tests/generation.test.ts @@ -7,7 +7,6 @@ import { splitChunks, trimTokens, } from "../generation"; -import type { TiktokenModel } from "js-tiktoken"; // Mock the elizaLogger vi.mock("../index.ts", () => ({ @@ -130,30 +129,28 @@ describe("Generation", () => { }); describe("trimTokens", () => { - const model = "gpt-4" as TiktokenModel; - - it("should return empty string for empty input", () => { - const result = trimTokens("", 100, model); + it("should return empty string for empty input", async () => { + const result = await trimTokens("", 100, mockRuntime); expect(result).toBe(""); }); - it("should throw error for negative maxTokens", () => { - expect(() => trimTokens("test", -1, model)).toThrow( + it("should throw error for negative maxTokens", async () => { + await expect(trimTokens("test", -1, mockRuntime)).rejects.toThrow( "maxTokens must be positive" ); }); - it("should return unchanged text if within token limit", () => { + it("should return unchanged text if within token limit", async () => { const shortText = "This is a short text"; - const result = trimTokens(shortText, 10, model); + const result = await trimTokens(shortText, 10, mockRuntime); expect(result).toBe(shortText); }); - it("should truncate text to specified token limit", () => { + it("should truncate text to specified token limit", async () => { // Using a longer text that we know will exceed the token limit const longText = "This is a much longer text that will definitely exceed our very small token limit and need to be truncated to fit within the specified constraints."; - const result = trimTokens(longText, 5, model); + const result = await trimTokens(longText, 5, mockRuntime); // The exact result will depend on the tokenizer, but we can verify: // 1. Result is shorter than original @@ -164,19 +161,19 @@ describe("Generation", () => { expect(longText.includes(result)).toBe(true); }); - it("should handle non-ASCII characters", () => { + it("should handle non-ASCII characters", async () => { const unicodeText = "Hello 👋 World 🌍"; - const result = trimTokens(unicodeText, 5, model); + const result = await trimTokens(unicodeText, 5, mockRuntime); expect(result.length).toBeGreaterThan(0); }); - it("should handle multiline text", () => { + it("should handle multiline text", async () => { const multilineText = `Line 1 Line 2 Line 3 Line 4 Line 5`; - const result = trimTokens(multilineText, 5, model); + const result = await trimTokens(multilineText, 5, mockRuntime); expect(result.length).toBeGreaterThan(0); expect(result.length).toBeLessThan(multilineText.length); }); From 62f21f3eff15d9218957a47b5f1cd4cceba2e558 Mon Sep 17 00:00:00 2001 From: Shakker Nerd Date: Sat, 4 Jan 2025 06:26:02 +0000 Subject: [PATCH 13/16] chore: bump version to v.0.1.7 --- agent/package.json | 146 ++++++------- client/package.json | 90 ++++---- docs/package.json | 112 +++++----- lerna.json | 18 +- packages/adapter-postgres/package.json | 62 +++--- packages/adapter-redis/package.json | 68 +++--- packages/adapter-sqlite/package.json | 70 +++---- packages/adapter-sqljs/package.json | 70 +++---- packages/adapter-supabase/package.json | 66 +++--- packages/client-auto/package.json | 76 +++---- packages/client-direct/package.json | 84 ++++---- packages/client-discord/package.json | 88 ++++---- packages/client-farcaster/package.json | 58 +++--- packages/client-github/package.json | 68 +++--- packages/client-lens/package.json | 68 +++--- packages/client-slack/package.json | 112 +++++----- packages/client-telegram/package.json | 64 +++--- packages/client-twitter/package.json | 70 +++---- packages/core/package.json | 2 +- packages/create-eliza-app/package.json | 58 +++--- packages/plugin-0g/package.json | 58 +++--- packages/plugin-3d-generation/package.json | 62 +++--- packages/plugin-abstract/package.json | 58 +++--- packages/plugin-aptos/package.json | 74 +++---- packages/plugin-avalanche/package.json | 62 +++--- packages/plugin-bootstrap/package.json | 60 +++--- packages/plugin-coinbase/package.json | 70 +++---- packages/plugin-conflux/package.json | 52 ++--- packages/plugin-cronoszkevm/package.json | 62 +++--- packages/plugin-echochambers/package.json | 52 ++--- packages/plugin-evm/package.json | 2 +- packages/plugin-flow/package.json | 94 ++++----- packages/plugin-fuel/package.json | 68 +++--- packages/plugin-gitbook/package.json | 56 ++--- packages/plugin-goat/package.json | 2 +- packages/plugin-icp/package.json | 70 +++---- packages/plugin-image-generation/package.json | 60 +++--- packages/plugin-intiface/package.json | 64 +++--- packages/plugin-multiversx/package.json | 74 +++---- packages/plugin-near/package.json | 72 +++---- packages/plugin-nft-generation/package.json | 82 ++++---- packages/plugin-node/package.json | 194 +++++++++--------- packages/plugin-solana/package.json | 88 ++++---- packages/plugin-starknet/package.json | 78 +++---- packages/plugin-story/package.json | 72 +++---- packages/plugin-sui/package.json | 74 +++---- packages/plugin-tee/package.json | 76 +++---- packages/plugin-ton/package.json | 72 +++---- packages/plugin-trustdb/package.json | 76 +++---- packages/plugin-twitter/package.json | 56 ++--- packages/plugin-video-generation/package.json | 60 +++--- packages/plugin-web-search/package.json | 58 +++--- packages/plugin-whatsapp/package.json | 76 +++---- packages/plugin-zksync-era/package.json | 62 +++--- 54 files changed, 1873 insertions(+), 1873 deletions(-) diff --git a/agent/package.json b/agent/package.json index 48b3f4270ab..f4fa0f33e03 100644 --- a/agent/package.json +++ b/agent/package.json @@ -1,75 +1,75 @@ { - "name": "@elizaos/agent", - "version": "0.1.7-alpha.2", - "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", - "test": "jest" - }, - "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-abstract": "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-echochambers": "workspace:*", - "@elizaos/plugin-flow": "workspace:*", - "@elizaos/plugin-gitbook": "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:*", - "@elizaos/plugin-twitter": "workspace:*", - "@elizaos/plugin-cronoszkevm": "workspace:*", - "@elizaos/plugin-3d-generation": "workspace:*", - "@elizaos/plugin-fuel": "workspace:*", - "@elizaos/plugin-avalanche": "workspace:*", - "@elizaos/plugin-web-search": "workspace:*", - "readline": "1.3.0", - "ws": "8.18.0", - "yargs": "17.7.2" - }, - "devDependencies": { - "@types/jest": "^29.5.14", - "jest": "^29.7.0", - "ts-jest": "^29.2.5", - "ts-node": "10.9.2", - "tsup": "8.3.5" - } + "name": "@elizaos/agent", + "version": "0.1.7", + "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", + "test": "jest" + }, + "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-abstract": "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-echochambers": "workspace:*", + "@elizaos/plugin-flow": "workspace:*", + "@elizaos/plugin-gitbook": "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:*", + "@elizaos/plugin-twitter": "workspace:*", + "@elizaos/plugin-cronoszkevm": "workspace:*", + "@elizaos/plugin-3d-generation": "workspace:*", + "@elizaos/plugin-fuel": "workspace:*", + "@elizaos/plugin-avalanche": "workspace:*", + "@elizaos/plugin-web-search": "workspace:*", + "readline": "1.3.0", + "ws": "8.18.0", + "yargs": "17.7.2" + }, + "devDependencies": { + "@types/jest": "^29.5.14", + "jest": "^29.7.0", + "ts-jest": "^29.2.5", + "ts-node": "10.9.2", + "tsup": "8.3.5" + } } diff --git a/client/package.json b/client/package.json index cd40443b66c..ba963ec4e47 100644 --- a/client/package.json +++ b/client/package.json @@ -1,47 +1,47 @@ { - "name": "eliza-client", - "private": true, - "version": "0.1.7-alpha.2", - "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", + "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 3cd7c59c18b..4b5d443ce69 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,58 +1,58 @@ { - "name": "eliza-docs", - "version": "0.1.7-alpha.2", - "private": true, - "packageManager": "pnpm@9.4.0", - "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", - "@docusaurus/theme-common": "3.6.3", - "@mdx-js/react": "3.0.1", - "clsx": "2.1.1", - "docusaurus-lunr-search": "3.5.0", - "lunr": "2.3.9", - "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", + "private": true, + "packageManager": "pnpm@9.4.0", + "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", + "@docusaurus/theme-common": "3.6.3", + "@mdx-js/react": "3.0.1", + "clsx": "2.1.1", + "docusaurus-lunr-search": "3.5.0", + "lunr": "2.3.9", + "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/lerna.json b/lerna.json index 943b0141101..b03a6a059cf 100644 --- a/lerna.json +++ b/lerna.json @@ -1,11 +1,11 @@ { - "version": "0.1.7-alpha.2", - "packages": [ - "packages/*", - "docs", - "agent", - "client", - "!packages/_examples" - ], - "npmClient": "pnpm" + "version": "0.1.7", + "packages": [ + "packages/*", + "docs", + "agent", + "client", + "!packages/_examples" + ], + "npmClient": "pnpm" } diff --git a/packages/adapter-postgres/package.json b/packages/adapter-postgres/package.json index c475357bdd1..4d8e20870bc 100644 --- a/packages/adapter-postgres/package.json +++ b/packages/adapter-postgres/package.json @@ -1,34 +1,34 @@ { - "name": "@elizaos/adapter-postgres", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/adapter-postgres", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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 ." } - }, - "files": [ - "dist" - ], - "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 0c07d208585..055460a270a 100644 --- a/packages/adapter-redis/package.json +++ b/packages/adapter-redis/package.json @@ -1,37 +1,37 @@ { - "name": "@elizaos/adapter-redis", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/adapter-redis", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 c129476e69f..74642dee834 100644 --- a/packages/adapter-sqlite/package.json +++ b/packages/adapter-sqlite/package.json @@ -1,38 +1,38 @@ { - "name": "@elizaos/adapter-sqlite", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/adapter-sqlite", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 e7cc40f221a..967c00a44cb 100644 --- a/packages/adapter-sqljs/package.json +++ b/packages/adapter-sqljs/package.json @@ -1,38 +1,38 @@ { - "name": "@elizaos/adapter-sqljs", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/adapter-sqljs", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 d5265c32c0f..9c267b86a4b 100644 --- a/packages/adapter-supabase/package.json +++ b/packages/adapter-supabase/package.json @@ -1,36 +1,36 @@ { - "name": "@elizaos/adapter-supabase", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/adapter-supabase", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 3802a33d3ae..dc0fd9b22b3 100644 --- a/packages/client-auto/package.json +++ b/packages/client-auto/package.json @@ -1,41 +1,41 @@ { - "name": "@elizaos/client-auto", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/client-auto", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 58fc4ea7cf2..d6b73a72cb7 100644 --- a/packages/client-direct/package.json +++ b/packages/client-direct/package.json @@ -1,45 +1,45 @@ { - "name": "@elizaos/client-direct", - "version": "0.1.7-alpha.2", - "main": "dist/index.js", - "module": "dist/index.js", - "type": "module", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/client-direct", + "version": "0.1.7", + "main": "dist/index.js", + "module": "dist/index.js", + "type": "module", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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", + "@types/multer": "^1.4.12" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" } - }, - "files": [ - "dist" - ], - "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", - "@types/multer": "^1.4.12" - }, - "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 3a165000260..795788be022 100644 --- a/packages/client-discord/package.json +++ b/packages/client-discord/package.json @@ -1,47 +1,47 @@ { - "name": "@elizaos/client-discord", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/client-discord", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 b9a51a482eb..ceb30f634db 100644 --- a/packages/client-farcaster/package.json +++ b/packages/client-farcaster/package.json @@ -1,32 +1,32 @@ { - "name": "@elizaos/client-farcaster", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/client-farcaster", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 4e8b8c19822..9859b5708ec 100644 --- a/packages/client-github/package.json +++ b/packages/client-github/package.json @@ -1,37 +1,37 @@ { - "name": "@elizaos/client-github", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/client-github", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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 ." } - }, - "files": [ - "dist" - ], - "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 1e27691d8c5..186e45cc745 100644 --- a/packages/client-lens/package.json +++ b/packages/client-lens/package.json @@ -1,37 +1,37 @@ { - "name": "@elizaos/client-lens", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/client-lens", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "dependencies": { + "@elizaos/core": "workspace:*", + "@lens-protocol/client": "2.2.0", + "@lens-protocol/metadata": "1.2.0", + "axios": "^1.7.9" + }, + "devDependencies": { + "tsup": "^8.3.5" + }, + "peerDependencies": { + "@elizaos/core": "workspace:*" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" } - }, - "files": [ - "dist" - ], - "dependencies": { - "@elizaos/core": "workspace:*", - "@lens-protocol/client": "2.2.0", - "@lens-protocol/metadata": "1.2.0", - "axios": "^1.7.9" - }, - "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 fa2ad98263f..98bb8c05ddd 100644 --- a/packages/client-slack/package.json +++ b/packages/client-slack/package.json @@ -1,59 +1,59 @@ { - "name": "@elizaos/client-slack", - "version": "0.1.7-alpha.2", - "description": "Slack client plugin for Eliza framework", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/client-slack", + "version": "0.1.7", + "description": "Slack client plugin for Eliza framework", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 e8b29f4a25b..bca5ff750ea 100644 --- a/packages/client-telegram/package.json +++ b/packages/client-telegram/package.json @@ -1,35 +1,35 @@ { - "name": "@elizaos/client-telegram", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/client-telegram", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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 ." } - }, - "files": [ - "dist" - ], - "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 acd40ea11fb..2dc3a3543ef 100644 --- a/packages/client-twitter/package.json +++ b/packages/client-twitter/package.json @@ -1,38 +1,38 @@ { - "name": "@elizaos/client-twitter", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/client-twitter", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "dependencies": { + "@elizaos/core": "workspace:*", + "agent-twitter-client": "0.0.18", + "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" } - }, - "files": [ - "dist" - ], - "dependencies": { - "@elizaos/core": "workspace:*", - "agent-twitter-client": "0.0.18", - "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 373a52b89d3..3a1b74388fe 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/core", - "version": "0.1.7-alpha.2", + "version": "0.1.7", "description": "", "type": "module", "main": "dist/index.js", diff --git a/packages/create-eliza-app/package.json b/packages/create-eliza-app/package.json index 37aaa92f93d..1fc01090aaf 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.2", - "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", + "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 b9e9b4ba46a..757328f725d 100644 --- a/packages/plugin-0g/package.json +++ b/packages/plugin-0g/package.json @@ -1,32 +1,32 @@ { - "name": "@elizaos/plugin-0g", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-0g", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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-3d-generation/package.json b/packages/plugin-3d-generation/package.json index cbf4eff5b79..c20d3a3e4dd 100644 --- a/packages/plugin-3d-generation/package.json +++ b/packages/plugin-3d-generation/package.json @@ -1,34 +1,34 @@ { - "name": "@elizaos/plugin-3d-generation", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-3d-generation", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "dependencies": { + "@elizaos/core": "workspace:*", + "tsup": "8.3.5", + "whatwg-url": "7.1.0" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" } - }, - "files": [ - "dist" - ], - "dependencies": { - "@elizaos/core": "workspace:*", - "tsup": "8.3.5", - "whatwg-url": "7.1.0" - }, - "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-abstract/package.json b/packages/plugin-abstract/package.json index 2fdcfbc16f2..b9ae3a153ea 100644 --- a/packages/plugin-abstract/package.json +++ b/packages/plugin-abstract/package.json @@ -1,32 +1,32 @@ { - "name": "@elizaos/plugin-abstract", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-abstract", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "dependencies": { + "@elizaos/core": "workspace:*", + "tsup": "^8.3.5", + "web3": "^4.15.0" + }, + "scripts": { + "build": "tsup --format esm --dts" + }, + "peerDependencies": { + "whatwg-url": "7.1.0" } - }, - "files": [ - "dist" - ], - "dependencies": { - "@elizaos/core": "workspace:*", - "tsup": "^8.3.5", - "web3": "^4.15.0" - }, - "scripts": { - "build": "tsup --format esm --dts" - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } } diff --git a/packages/plugin-aptos/package.json b/packages/plugin-aptos/package.json index 520ae327d93..f3fb2d41aff 100644 --- a/packages/plugin-aptos/package.json +++ b/packages/plugin-aptos/package.json @@ -1,40 +1,40 @@ { - "name": "@elizaos/plugin-aptos", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-aptos", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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-avalanche/package.json b/packages/plugin-avalanche/package.json index 5fc791b0fb0..9a10cc11698 100644 --- a/packages/plugin-avalanche/package.json +++ b/packages/plugin-avalanche/package.json @@ -1,34 +1,34 @@ { - "name": "@elizaos/plugin-avalanche", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-avalanche", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "dependencies": { + "@elizaos/core": "workspace:*" + }, + "devDependencies": { + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup src/index.ts --format esm --no-dts", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" } - }, - "files": [ - "dist" - ], - "dependencies": { - "@elizaos/core": "workspace:*" - }, - "devDependencies": { - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup src/index.ts --format esm --no-dts", - "lint": "eslint --fix --cache ." - }, - "peerDependencies": { - "whatwg-url": "7.1.0" - } } diff --git a/packages/plugin-bootstrap/package.json b/packages/plugin-bootstrap/package.json index 6b5a68ffe72..ec3ba9749b8 100644 --- a/packages/plugin-bootstrap/package.json +++ b/packages/plugin-bootstrap/package.json @@ -1,33 +1,33 @@ { - "name": "@elizaos/plugin-bootstrap", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-bootstrap", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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/package.json b/packages/plugin-coinbase/package.json index 94441205677..73ff823b52a 100644 --- a/packages/plugin-coinbase/package.json +++ b/packages/plugin-coinbase/package.json @@ -1,38 +1,38 @@ { - "name": "@elizaos/plugin-coinbase", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-coinbase", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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 ." } - }, - "files": [ - "dist" - ], - "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 9e925d12d53..5905d35d5d7 100644 --- a/packages/plugin-conflux/package.json +++ b/packages/plugin-conflux/package.json @@ -1,29 +1,29 @@ { - "name": "@elizaos/plugin-conflux", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-conflux", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "dependencies": { + "@elizaos/core": "workspace:*", + "cive": "0.7.1" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" } - }, - "files": [ - "dist" - ], - "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-cronoszkevm/package.json b/packages/plugin-cronoszkevm/package.json index e1be0eee392..f47a88d282d 100644 --- a/packages/plugin-cronoszkevm/package.json +++ b/packages/plugin-cronoszkevm/package.json @@ -1,34 +1,34 @@ { - "name": "@elizaos/plugin-cronoszkevm", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-cronoszkevm", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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" - } } diff --git a/packages/plugin-echochambers/package.json b/packages/plugin-echochambers/package.json index 309e194a173..d44fd25bd10 100644 --- a/packages/plugin-echochambers/package.json +++ b/packages/plugin-echochambers/package.json @@ -1,29 +1,29 @@ { - "name": "@elizaos/plugin-echochambers", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-echochambers", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "dependencies": { + "@elizaos/core": "workspace:*", + "@elizaos/plugin-node": "workspace:*" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch" } - }, - "files": [ - "dist" - ], - "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 32cc652fca1..c2ef91edcc8 100644 --- a/packages/plugin-evm/package.json +++ b/packages/plugin-evm/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-evm", - "version": "0.1.7-alpha.1", + "version": "0.1.7", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-flow/package.json b/packages/plugin-flow/package.json index a7bec5c6d72..7643e92eb2a 100644 --- a/packages/plugin-flow/package.json +++ b/packages/plugin-flow/package.json @@ -1,50 +1,50 @@ { - "name": "@elizaos/plugin-flow", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-flow", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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-fuel/package.json b/packages/plugin-fuel/package.json index 3dd9ea16845..cf9bec7d27c 100644 --- a/packages/plugin-fuel/package.json +++ b/packages/plugin-fuel/package.json @@ -1,37 +1,37 @@ { - "name": "@elizaos/plugin-fuel", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-fuel", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "dependencies": { + "@elizaos/core": "workspace:*", + "fuels": "0.97.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" } - }, - "files": [ - "dist" - ], - "dependencies": { - "@elizaos/core": "workspace:*", - "fuels": "0.97.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-gitbook/package.json b/packages/plugin-gitbook/package.json index d4570243c2b..7ae8ea11b5b 100644 --- a/packages/plugin-gitbook/package.json +++ b/packages/plugin-gitbook/package.json @@ -1,31 +1,31 @@ { - "name": "@elizaos/plugin-gitbook", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-gitbook", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "dependencies": { + "@elizaos/core": "workspace:*", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest", + "lint": "eslint --fix --cache ." } - }, - "files": [ - "dist" - ], - "dependencies": { - "@elizaos/core": "workspace:*", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest", - "lint": "eslint --fix --cache ." - } } diff --git a/packages/plugin-goat/package.json b/packages/plugin-goat/package.json index a10ea35ba3a..61fcfec4eaa 100644 --- a/packages/plugin-goat/package.json +++ b/packages/plugin-goat/package.json @@ -1,6 +1,6 @@ { "name": "@elizaos/plugin-goat", - "version": "0.1.7-alpha.2", + "version": "0.1.7", "type": "module", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/plugin-icp/package.json b/packages/plugin-icp/package.json index c0d4672f185..a2f96a51e39 100644 --- a/packages/plugin-icp/package.json +++ b/packages/plugin-icp/package.json @@ -1,38 +1,38 @@ { - "name": "@elizaos/plugin-icp", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-icp", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 2197217c763..9fabd67744d 100644 --- a/packages/plugin-image-generation/package.json +++ b/packages/plugin-image-generation/package.json @@ -1,33 +1,33 @@ { - "name": "@elizaos/plugin-image-generation", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-image-generation", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 42b3060ac98..07960f3e74a 100644 --- a/packages/plugin-intiface/package.json +++ b/packages/plugin-intiface/package.json @@ -1,35 +1,35 @@ { - "name": "@elizaos/plugin-intiface", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-intiface", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 b62c89c1bf8..7eb81cabd1f 100644 --- a/packages/plugin-multiversx/package.json +++ b/packages/plugin-multiversx/package.json @@ -1,40 +1,40 @@ { - "name": "@elizaos/plugin-multiversx", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-multiversx", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 003d11c8634..9f36e0f58a2 100644 --- a/packages/plugin-near/package.json +++ b/packages/plugin-near/package.json @@ -1,39 +1,39 @@ { - "name": "@elizaos/plugin-near", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-near", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 0c629aa0a88..b4a1e5fb222 100644 --- a/packages/plugin-nft-generation/package.json +++ b/packages/plugin-nft-generation/package.json @@ -1,44 +1,44 @@ { - "name": "@elizaos/plugin-nft-generation", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-nft-generation", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 8f591f872dc..24a0520641a 100644 --- a/packages/plugin-node/package.json +++ b/packages/plugin-node/package.json @@ -1,100 +1,100 @@ { - "name": "@elizaos/plugin-node", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-node", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "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" } - }, - "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 25a5b274ff2..0fa42d10758 100644 --- a/packages/plugin-solana/package.json +++ b/packages/plugin-solana/package.json @@ -1,47 +1,47 @@ { - "name": "@elizaos/plugin-solana", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-solana", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 8a81e0f46d9..190a31a118c 100644 --- a/packages/plugin-starknet/package.json +++ b/packages/plugin-starknet/package.json @@ -1,42 +1,42 @@ { - "name": "@elizaos/plugin-starknet", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-starknet", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "dependencies": { + "@elizaos/core": "workspace:*", + "@elizaos/plugin-trustdb": "workspace:*", + "@avnu/avnu-sdk": "2.1.1", + "@uniswap/sdk-core": "6.0.0", + "unruggable-sdk": "1.4.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" } - }, - "files": [ - "dist" - ], - "dependencies": { - "@elizaos/core": "workspace:*", - "@elizaos/plugin-trustdb": "workspace:*", - "@avnu/avnu-sdk": "2.1.1", - "@uniswap/sdk-core": "6.0.0", - "unruggable-sdk": "1.4.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 3362df4d643..7247ece8e67 100644 --- a/packages/plugin-story/package.json +++ b/packages/plugin-story/package.json @@ -1,39 +1,39 @@ { - "name": "@elizaos/plugin-story", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-story", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "dependencies": { + "@elizaos/core": "workspace:*", + "@elizaos/plugin-trustdb": "workspace:*", + "@story-protocol/core-sdk": "1.2.0-rc.3", + "tsup": "8.3.5", + "@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" } - }, - "files": [ - "dist" - ], - "dependencies": { - "@elizaos/core": "workspace:*", - "@elizaos/plugin-trustdb": "workspace:*", - "@story-protocol/core-sdk": "1.2.0-rc.3", - "tsup": "8.3.5", - "@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 142a8fc097c..1c0cf194321 100644 --- a/packages/plugin-sui/package.json +++ b/packages/plugin-sui/package.json @@ -1,40 +1,40 @@ { - "name": "@elizaos/plugin-sui", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-sui", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 6b36486ea52..737a0a406db 100644 --- a/packages/plugin-tee/package.json +++ b/packages/plugin-tee/package.json @@ -1,41 +1,41 @@ { - "name": "@elizaos/plugin-tee", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-tee", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "lint": "eslint --fix --cache ." + }, + "peerDependencies": { + "whatwg-url": "7.1.0" } - }, - "files": [ - "dist" - ], - "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" - }, - "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 337abf74236..bd512e0d5b8 100644 --- a/packages/plugin-ton/package.json +++ b/packages/plugin-ton/package.json @@ -1,39 +1,39 @@ { - "name": "@elizaos/plugin-ton", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-ton", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 972e355f8c5..af700ae2ac5 100644 --- a/packages/plugin-trustdb/package.json +++ b/packages/plugin-trustdb/package.json @@ -1,41 +1,41 @@ { - "name": "@elizaos/plugin-trustdb", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-trustdb", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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-twitter/package.json b/packages/plugin-twitter/package.json index 3f5db83d298..1e002d9f560 100644 --- a/packages/plugin-twitter/package.json +++ b/packages/plugin-twitter/package.json @@ -1,31 +1,31 @@ { - "name": "@elizaos/plugin-twitter", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-twitter", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "dependencies": { + "@elizaos/core": "workspace:*", + "agent-twitter-client": "0.0.17", + "tsup": "8.3.5" + }, + "scripts": { + "build": "tsup --format esm --dts", + "dev": "tsup --format esm --dts --watch", + "test": "vitest run" } - }, - "files": [ - "dist" - ], - "dependencies": { - "@elizaos/core": "workspace:*", - "agent-twitter-client": "0.0.17", - "tsup": "8.3.5" - }, - "scripts": { - "build": "tsup --format esm --dts", - "dev": "tsup --format esm --dts --watch", - "test": "vitest run" - } } diff --git a/packages/plugin-video-generation/package.json b/packages/plugin-video-generation/package.json index 9c9ac1105de..64c030d4a3a 100644 --- a/packages/plugin-video-generation/package.json +++ b/packages/plugin-video-generation/package.json @@ -1,33 +1,33 @@ { - "name": "@elizaos/plugin-video-generation", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-video-generation", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 6c9cafb8572..ab0b91ecb4c 100644 --- a/packages/plugin-web-search/package.json +++ b/packages/plugin-web-search/package.json @@ -1,32 +1,32 @@ { - "name": "@elizaos/plugin-web-search", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-web-search", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 8f7cc5696a3..26399ad62f4 100644 --- a/packages/plugin-whatsapp/package.json +++ b/packages/plugin-whatsapp/package.json @@ -1,41 +1,41 @@ { - "name": "@elizaos/plugin-whatsapp", - "version": "0.1.7-alpha.2", - "description": "WhatsApp Cloud API plugin", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-whatsapp", + "version": "0.1.7", + "description": "WhatsApp Cloud API plugin", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 5f7b0a0dea9..b7c0986324e 100644 --- a/packages/plugin-zksync-era/package.json +++ b/packages/plugin-zksync-era/package.json @@ -1,34 +1,34 @@ { - "name": "@elizaos/plugin-zksync-era", - "version": "0.1.7-alpha.2", - "type": "module", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", - "exports": { - "./package.json": "./package.json", - ".": { - "import": { - "@elizaos/source": "./src/index.ts", - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - } + "name": "@elizaos/plugin-zksync-era", + "version": "0.1.7", + "type": "module", + "main": "dist/index.js", + "module": "dist/index.js", + "types": "dist/index.d.ts", + "exports": { + "./package.json": "./package.json", + ".": { + "import": { + "@elizaos/source": "./src/index.ts", + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + } + }, + "files": [ + "dist" + ], + "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" } - }, - "files": [ - "dist" - ], - "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 87bb7d37d6111d1a769cadad7ba16ce4b0bae70a Mon Sep 17 00:00:00 2001 From: Shakker Nerd <165377636+shakkernerd@users.noreply.github.com> Date: Sat, 4 Jan 2025 06:44:48 +0000 Subject: [PATCH 14/16] chore: install with no frozen-lockfile flag --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 086bfe3c77e..d640179b54c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -35,7 +35,7 @@ jobs: run: sudo apt-get install -y protobuf-compiler - name: Install dependencies - run: pnpm install + run: pnpm install -r --no-frozen-lockfile - name: Build packages run: pnpm run build From cb5de7a6df305888acb3f71022505817d4ecf03f Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 4 Jan 2025 07:19:39 +0000 Subject: [PATCH 15/16] chore: update changelog --- CHANGELOG.md | 157 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 156 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a4af4e5f6c..4646b5f74ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,160 @@ # Changelog +## [v0.1.7](https://github.com/elizaOS/eliza/tree/v0.1.7) (2025-01-04) + +[Full Changelog](https://github.com/elizaOS/eliza/compare/v0.1.7-alpha.2...v0.1.7) + +**Implemented enhancements:** + +- Implement Caching for API Responses [\#1794](https://github.com/elizaOS/eliza/issues/1794) +- Implement Caching for API Responses [\#1792](https://github.com/elizaOS/eliza/issues/1792) +- Implement Caching for API Responses [\#1791](https://github.com/elizaOS/eliza/issues/1791) +- Implement Caching for API Responses [\#1789](https://github.com/elizaOS/eliza/issues/1789) +- Feature Request: Implement Enhanced Error Logging for API Calls [\#1736](https://github.com/elizaOS/eliza/issues/1736) +- Implement feature for issue \#1725 on repository elizaOS/eliza branch develop [\#1734](https://github.com/elizaOS/eliza/issues/1734) +- Enhance API Documentation [\#1732](https://github.com/elizaOS/eliza/issues/1732) +- Implement feature for issue \#1725 [\#1731](https://github.com/elizaOS/eliza/issues/1731) +- Implement feature for issue \#1725 [\#1730](https://github.com/elizaOS/eliza/issues/1730) +- Enhance API Documentation [\#1729](https://github.com/elizaOS/eliza/issues/1729) +- Implement a Caching Mechanism for API Responses [\#1726](https://github.com/elizaOS/eliza/issues/1726) +- Implement a Structured Logging Framework [\#1724](https://github.com/elizaOS/eliza/issues/1724) +- Add support for Coinbase Commerce integration [\#1723](https://github.com/elizaOS/eliza/issues/1723) +- Serve docusaurus docs from a docker container for quick docs verification [\#1720](https://github.com/elizaOS/eliza/issues/1720) +- Use Caret \(^\) for Dependency Versions in package.json [\#1662](https://github.com/elizaOS/eliza/issues/1662) +- Deduplicate dependencies across plugins and move shared dependencies to the root package.json [\#1658](https://github.com/elizaOS/eliza/issues/1658) +- Deduplicate Dependencies Across Plugins [\#1656](https://github.com/elizaOS/eliza/issues/1656) +- Deduplicate Dependencies Across Plugins [\#1652](https://github.com/elizaOS/eliza/issues/1652) +- Deduplicate Dependencies Across Plugins [\#1650](https://github.com/elizaOS/eliza/issues/1650) +- Viem version too old to include Arthera EVM chain [\#1635](https://github.com/elizaOS/eliza/issues/1635) +- Add Spanish Translation for Documentation README \(docs/README\_es.md\) [\#1592](https://github.com/elizaOS/eliza/issues/1592) +- Expand Support for Non-OpenAI Models in Token Trimming [\#1565](https://github.com/elizaOS/eliza/issues/1565) +- spades [\#1563](https://github.com/elizaOS/eliza/issues/1563) +- Support better in-monorepo navigation with custom conditions [\#1363](https://github.com/elizaOS/eliza/issues/1363) +- Add Livepeer as an Image Generation Provider [\#1271](https://github.com/elizaOS/eliza/issues/1271) +- Arbitrum Integration [\#851](https://github.com/elizaOS/eliza/issues/851) +- Twitter Spaces Voice Client [\#301](https://github.com/elizaOS/eliza/issues/301) +- 🐛 fix plugins.md formatting for docs with dockerized docs validation [\#1722](https://github.com/elizaOS/eliza/pull/1722) ([marcellodesales](https://github.com/marcellodesales)) + +**Fixed bugs:** + +- Fix: Standardize ACTION\_INTERVAL unit to minutes in Twitter client [\#1788](https://github.com/elizaOS/eliza/issues/1788) +- pdf js crashes the agent [\#1751](https://github.com/elizaOS/eliza/issues/1751) +- Failed to run on Macbook M1 [\#1742](https://github.com/elizaOS/eliza/issues/1742) +- Issue Created: http proxy error: /e0e10e6f-ff2b-0d4c-8011-1fc1eee7cb32/message [\#1733](https://github.com/elizaOS/eliza/issues/1733) +- can't build framework - followed quick start - pnpm build error [\#1714](https://github.com/elizaOS/eliza/issues/1714) +- Google Model Not Working [\#1709](https://github.com/elizaOS/eliza/issues/1709) +- failed: @elizaos/plugin-echochambers\#build [\#1691](https://github.com/elizaOS/eliza/issues/1691) +- initial setup not working. help needed please. [\#1666](https://github.com/elizaOS/eliza/issues/1666) +- ImageDescriptionService [\#1643](https://github.com/elizaOS/eliza/issues/1643) +- Dockerfile errors when building image [\#1623](https://github.com/elizaOS/eliza/issues/1623) +- Initial setup based on docs not working [\#1622](https://github.com/elizaOS/eliza/issues/1622) +- Running Eliza with LLAMALOCAL fails after first query [\#1575](https://github.com/elizaOS/eliza/issues/1575) +- Quick start guide bug - pnpm start [\#1552](https://github.com/elizaOS/eliza/issues/1552) +- callback throws - \["⛔ TypeError: callback is not a function"\] - when action is called from the Twitter Client [\#1544](https://github.com/elizaOS/eliza/issues/1544) +- Bug: generateText is ignoring dynamic parameters due to a hard-coded model class [\#1439](https://github.com/elizaOS/eliza/issues/1439) +- fix: Slack client Media type implementation missing required properties in message attachments [\#1384](https://github.com/elizaOS/eliza/issues/1384) +- Error when trying deploy using dockerfile [\#1168](https://github.com/elizaOS/eliza/issues/1168) + +**Closed issues:** + +- Pull Request Created: Simulate discord typing while generating a response [\#1786](https://github.com/elizaOS/eliza/issues/1786) +- Fix Public Solana Wallet Not Found! [\#1781](https://github.com/elizaOS/eliza/issues/1781) +- \