Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
bbc9ef9
updated packages and updated .gitignore
samarth30 Jul 7, 2025
80a83a4
fixed typescript issue in team coordinator plugin in jimmy
samarth30 Jul 7, 2025
e06cb32
cleaned plugins registration and removed dublicate actions registration
samarth30 Jul 8, 2025
3aa4e63
fixed jimmy's actions registration and plugin registration
samarth30 Jul 8, 2025
f384d92
modified record action and seperate checkin schedule users query from it
samarth30 Jul 8, 2025
a54f56d
created checkinfo action for user's query
samarth30 Jul 8, 2025
5d6f186
made jimmy character instructions more clearly for accurate response
samarth30 Jul 8, 2025
ad4b6d4
fixed character file and removed hallucinations
samarth30 Jul 8, 2025
514e471
cleaned task file and increased time in check in service
samarth30 Jul 8, 2025
e2c8de8
improved check in action
samarth30 Jul 8, 2025
0874332
improvised report generation , team member updates and update format …
samarth30 Jul 8, 2025
0cc8446
added jimmy support action for jimmy
samarth30 Jul 8, 2025
3cc3261
removed api key
samarth30 Jul 8, 2025
b7de432
added docker file
samarth30 Jul 8, 2025
443837c
docker files updated
samarth30 Jul 8, 2025
256531e
dockerfile pushed
samarth30 Jul 8, 2025
0fe0a26
fixed docker file
samarth30 Jul 8, 2025
bfc053d
fixed docker
samarth30 Jul 8, 2025
589e1b2
fixed docker
samarth30 Jul 8, 2025
0b296f8
docked bun issue fixed
samarth30 Jul 9, 2025
f1a985d
expored port for docker
samarth30 Jul 9, 2025
0a40108
added elizaos in docker build
samarth30 Jul 9, 2025
c78760e
changed jimmy character to respond normally as well
samarth30 Jul 9, 2025
66a3c45
feat: fixed team member add action to make it more enhanced for end user
samarth30 Jul 11, 2025
ef4cc24
feat: jimmy fixed team member add logic
samarth30 Jul 14, 2025
a448703
updated jimmy character to call action properly without hallucination
samarth30 Jul 14, 2025
3387068
fixed tasks cron job , checkininfo action , report generation action …
samarth30 Jul 14, 2025
ba031c5
removed unnecessary action from jimmy
samarth30 Jul 14, 2025
45ca795
fixed team member list for jimmy
samarth30 Jul 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .bunfig.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[install]
# Disable native module compilation for Railway compatibility
cache = false
registry = "https://registry.npmjs.org/"
exact = true

[install.scopes]
# Skip problematic native modules
"@discordjs" = { optional = true }
"@coral-xyz" = { optional = true }
"@solana" = { optional = true }

[install.lockfile]
# Don't save lockfile to avoid issues
save = false
18 changes: 18 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
node_modules
.git
.env
.env.local
.env.*.local
dist
.turbo
*.log
README.md
Dockerfile
.dockerignore
.turbo-tsconfig.json
tsconfig.tsbuildinfo
logs.txt
eliza/
.DS_Store
.vscode
.idea
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,7 @@ tmp/
.pglite
elizadb
dist/
.eliza
.eliza
*elizadb
CLAUDE.md
prd/*
48 changes: 48 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
FROM node:20-slim

WORKDIR /app

RUN apt-get update && \
apt-get install -y --no-install-recommends \
curl \
ffmpeg \
git \
python3 \
unzip \
build-essential \
make \
g++ \
pkg-config \
libnss3-dev \
libatk-bridge2.0-dev \
libgtk-3-dev \
libxss1 \
libasound2-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN npm install -g bun@1.2.5 @elizaos/cli

# Set environment variables to avoid native module compilation issues
ENV NODE_ENV=production
ENV PYTHON=/usr/bin/python3
ENV PORT=3000
ENV HOST=0.0.0.0

COPY package.json tsconfig.json ./
COPY .bunfig.toml ./

# Install dependencies
RUN bun install

# Copy source code
COPY src ./src
COPY . .

# Build the project
RUN bun run build

EXPOSE 3000
EXPOSE 50000-50100/udp

CMD ["bun", "run", "start"]
20 changes: 20 additions & 0 deletions Dockerfile.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# syntax=docker/dockerfile:1

# Use the official Bun image
FROM oven/bun:1 AS base
WORKDIR /usr/src/app

# Copy everything needed for the docs
COPY packages/docs/ ./
COPY packages/core/ /usr/src/core/
COPY .git/ ./.git/
COPY tsconfig.json ./

# Install dependencies and build
RUN bun install && \
bun run build

# Run the server
USER bun
EXPOSE 3000/tcp
CMD ["bun", "run", "build"]
1,508 changes: 286 additions & 1,222 deletions bun.lock

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions docker-compose-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
services:
docs:
build:
dockerfile: Dockerfile.docs
context: .
ports:
- 3000:3000
54 changes: 54 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
version: '3'
services:
postgres:
image: ankane/pgvector:latest
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=eliza
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- postgres-data:/var/lib/postgresql/data:rw
ports:
- '127.0.0.1:5432:5432'
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}']
interval: 5s
timeout: 5s
retries: 5
restart: always
networks:
- eliza-network
eliza:
build:
context: .
dockerfile: Dockerfile
container_name: elizav2
command: bun run start
volumes:
- /var/run/tappd.sock:/var/run/tappd.sock
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- SERVER_PORT=${SERVER_PORT}
- POSTGRES_URL=${POSTGRES_URL}
- EVM_CHAINS=${EVM_CHAINS}
- BIRDEYE_API_KEY=${BIRDEYE_API_KEY}
- DISCORD_APPLICATION_ID=${DISCORD_APPLICATION_ID}
- DISCORD_API_TOKEN=${DISCORD_API_TOKEN}
ports:
- '3000:3000'
- '50000-50100:50000-50100/udp'
depends_on:
postgres:
condition: service_healthy
restart: always
networks:
- eliza-network

networks:
eliza-network:
driver: bridge

volumes:
postgres-data:
30 changes: 16 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,22 @@
},
"dependencies": {
"@coral-xyz/anchor": "^0.31.1",
"@elizaos/cli": "^1.0.0-beta.76",
"@elizaos/core": "^1.0.0-beta.76",
"@elizaos/plugin-anthropic": "^1.0.0-beta.52",
"@elizaos/plugin-bootstrap": "^1.0.0-beta.76",
"@elizaos/plugin-discord": "^1.0.0-beta.55",
"@elizaos/plugin-groq": "^1.0.0-beta.52",
"@elizaos/plugin-openai": "^1.0.0-beta.72",
"@elizaos/plugin-pdf": "^1.0.0-beta.55",
"@elizaos/plugin-solana": "^1.0.0-beta.52",
"@elizaos/plugin-sql": "^1.0.0-beta.76",
"@elizaos/plugin-tee": "^1.0.0-beta.75",
"@elizaos/plugin-telegram": "^1.0.0-beta.53",
"@elizaos/plugin-twitter": "^1.0.0-beta.55",
"@elizaos/plugin-video-understanding": "^1.0.0-beta.40",
"@elizaos/cli": "^1.0.19",
"@elizaos/core": "^1.0.19",
"@elizaos/plugin-anthropic": "^1.0.3",
"@elizaos/plugin-bootstrap": "^1.0.19",
"@elizaos/plugin-discord": "^1.0.10",
"@elizaos/plugin-google-genai": "^1.0.1",
"@elizaos/plugin-groq": "^1.0.4",
"@elizaos/plugin-openai": "^1.0.6",
"@elizaos/plugin-openrouter": "^1.0.5",
"@elizaos/plugin-pdf": "^1.0.1",
"@elizaos/plugin-solana": "^1.0.3",
"@elizaos/plugin-sql": "^1.0.19",
"@elizaos/plugin-tee": "^1.0.2",
"@elizaos/plugin-telegram": "^1.0.4",
"@elizaos/plugin-twitter": "^1.0.14",
"@elizaos/plugin-video-understanding": "^1.0.2",
"@radix-ui/react-slot": "^1.1.1",
"@radix-ui/react-tabs": "^1.1.2",
"@solana/web3.js": "^1.87.6",
Expand Down
8 changes: 5 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ function hasRequiredEnvVars(agent: ProjectAgent | { character: Partial<Character

if (usesDiscord) {
// Get the actual values from agent settings
const discordId = agent.character.settings?.secrets?.DISCORD_APPLICATION_ID;
const discordToken = agent.character.settings?.secrets?.DISCORD_API_TOKEN;
const secrets = agent.character.settings?.secrets as Record<string, any> | undefined;
const discordId = secrets?.DISCORD_APPLICATION_ID;
const discordToken = secrets?.DISCORD_API_TOKEN;

if (discordId && discordToken) {
hasValidPlatform = true;
Expand All @@ -36,7 +37,8 @@ function hasRequiredEnvVars(agent: ProjectAgent | { character: Partial<Character
}

if (usesTelegram) {
const telegramToken = agent.character.settings?.secrets?.TELEGRAM_BOT_TOKEN;
const secrets = agent.character.settings?.secrets as Record<string, any> | undefined;
const telegramToken = secrets?.TELEGRAM_BOT_TOKEN;

if (telegramToken) {
hasValidPlatform = true;
Expand Down
Loading