Skip to content

Commit d610f2e

Browse files
authored
Merge branch 'develop' into patch-5
2 parents 946a9bc + cd61663 commit d610f2e

File tree

1,262 files changed

+54363
-40778
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,262 files changed

+54363
-40778
lines changed

.devcontainer/Dockerfile

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
ARG NODE_VER=23.5.0
2+
ARG BASE_IMAGE=node:${NODE_VER}
3+
FROM $BASE_IMAGE
4+
5+
ENV DEBIAN_FRONTEND=noninteractive
6+
7+
# Install pnpm globally and install necessary build tools
8+
RUN apt-get update \
9+
&& apt-get install -y \
10+
git \
11+
python3 \
12+
make \
13+
g++ \
14+
nano \
15+
vim \
16+
&& apt-get clean \
17+
&& rm -rf /var/lib/apt/lists/*
18+
19+
ARG PNPM_VER=9.15.2
20+
RUN npm install -g pnpm@${PNPM_VER}
21+
22+
# Set Python 3 as the default python
23+
RUN ln -s /usr/bin/python3 /usr/bin/python
24+
ENV DEBIAN_FRONTEND=dialog

.devcontainer/devcontainer.json

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
2+
{
3+
"name": "elizaos-dev",
4+
"dockerFile": "Dockerfile",
5+
"build": {
6+
"args": {
7+
"NODE_VER": "23.5.0",
8+
"PNPM_VER": "9.15.2"
9+
}
10+
},
11+
"privileged": true,
12+
"runArgs": [
13+
"-p=3000:3000", // Add port for server api
14+
"-p=5173:5173", // Add port for client
15+
//"--volume=/usr/lib/wsl:/usr/lib/wsl", // uncomment for WSL
16+
//"--volume=/mnt/wslg:/mnt/wslg", // uncomment for WSL
17+
"--gpus=all", // ! uncomment for vGPU
18+
//"--device=/dev/dxg", // uncomment this for vGPU under WSL
19+
"--device=/dev/dri"
20+
],
21+
"containerEnv": {
22+
//"MESA_D3D12_DEFAULT_ADAPTER_NAME": "NVIDIA", // uncomment for WSL
23+
//"LD_LIBRARY_PATH": "/usr/lib/wsl/lib" // uncomment for WSL
24+
},
25+
"customizations": {
26+
"vscode": {
27+
"extensions": [
28+
"vscode.json-language-features",
29+
"vscode.css-language-features",
30+
// "foxundermoon.shell-format",
31+
// "dbaeumer.vscode-eslint",
32+
// "esbenp.prettier-vscode"
33+
"ms-python.python"
34+
]
35+
}
36+
},
37+
"features": {}
38+
}

.env.example

+63-5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
CACHE_STORE=database # Defaults to database. Other available cache store: redis and filesystem
33
REDIS_URL= # Redis URL - could be a local redis instance or cloud hosted redis. Also support rediss:// urls
44

5+
PGLITE_DATA_DIR= #../pgLite/ if selecting a directory --- or memory:// if selecting in memory
6+
57
# Discord Configuration
68
DISCORD_APPLICATION_ID=
79
DISCORD_API_TOKEN= # Bot token
@@ -19,10 +21,11 @@ IMAGE_OPENAI_MODEL= # Default: dall-e-3
1921
# Eternal AI's Decentralized Inference API
2022
ETERNALAI_URL=
2123
ETERNALAI_MODEL= # Default: "neuralmagic/Meta-Llama-3.1-405B-Instruct-quantized.w4a16"
24+
ETERNALAI_CHAIN_ID=45762 #Default: "45762"
2225
ETERNALAI_API_KEY=
23-
ETERNAL_AI_LOG_REQUEST=false #Default: false
26+
ETERNALAI_LOG=false #Default: false
2427

25-
GROK_API_KEY= # GROK API Key
28+
GROK_API_KEY= # GROK/xAI API Key
2629
GROQ_API_KEY= # Starts with gsk_
2730
OPENROUTER_API_KEY=
2831
GOOGLE_GENERATIVE_AI_API_KEY= # Gemini API key
@@ -37,6 +40,18 @@ SMALL_HYPERBOLIC_MODEL= # Default: meta-llama/Llama-3.2-3B-Instruct
3740
MEDIUM_HYPERBOLIC_MODEL= # Default: meta-llama/Meta-Llama-3.1-70B-Instruct
3841
LARGE_HYPERBOLIC_MODEL= # Default: meta-llama/Meta-Llama-3.1-405-Instruct
3942

43+
44+
# Infera Configuration
45+
46+
INFERA_API_KEY= # visit api.infera.org/docs to obtain an API key under /signup_user
47+
INFERA_MODEL= # Default: llama3.2:latest
48+
INFERA_SERVER_URL= # Default: https://api.infera.org/
49+
50+
SMALL_INFERA_MODEL= #Recommended: llama3.2:latest
51+
MEDIUM_INFERA_MODEL= #Recommended: mistral-nemo:latest
52+
LARGE_INFERA_MODEL= #Recommended: mistral-small:latest
53+
54+
4055
# Livepeer configuration
4156
LIVEPEER_GATEWAY_URL= # Free inference gateways and docs: https://livepeer-eliza.com/
4257
LIVEPEER_IMAGE_MODEL= # Default: ByteDance/SDXL-Lightning
@@ -73,7 +88,6 @@ TWITTER_TARGET_USERS= # Comma separated list of Twitter user names to
7388
TWITTER_RETRY_LIMIT= # Maximum retry attempts for Twitter login
7489
TWITTER_SPACES_ENABLE=false # Enable or disable Twitter Spaces logic
7590

76-
X_SERVER_URL=
7791
XAI_API_KEY=
7892
XAI_MODEL=
7993

@@ -85,6 +99,8 @@ POST_IMMEDIATELY=
8599
# Twitter action processing configuration
86100
ACTION_INTERVAL= # Interval in minutes between action processing runs (default: 5 minutes)
87101
ENABLE_ACTION_PROCESSING=false # Set to true to enable the action processing loop
102+
MAX_ACTIONS_PROCESSING=1 # Maximum number of actions (e.g., retweets, likes) to process in a single cycle. Helps prevent excessive or uncontrolled actions.
103+
ACTION_TIMELINE_TYPE=foryou # Type of timeline to interact with. Options: "foryou" or "following". Default: "foryou"
88104

89105
# Feature Flags
90106
IMAGE_GEN= # Set to TRUE to enable image generation
@@ -183,6 +199,9 @@ EVM_PROVIDER_URL=
183199
AVALANCHE_PRIVATE_KEY=
184200
AVALANCHE_PUBLIC_KEY=
185201

202+
# Arthera
203+
ARTHERA_PRIVATE_KEY=
204+
186205
# Solana
187206
SOLANA_PRIVATE_KEY=
188207
SOLANA_PUBLIC_KEY=
@@ -201,7 +220,7 @@ BIRDEYE_API_KEY=
201220
SOL_ADDRESS=So11111111111111111111111111111111111111112
202221
SLIPPAGE=1
203222
BASE_MINT=So11111111111111111111111111111111111111112
204-
RPC_URL=https://api.mainnet-beta.solana.com
223+
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
205224
HELIUS_API_KEY=
206225

207226
# Telegram Configuration
@@ -249,6 +268,9 @@ CHARITY_ADDRESS_ETH=0x750EF1D7a0b4Ab1c97B7A623D7917CcEb5ea779C
249268
CHARITY_ADDRESS_ARB=0x1234567890123456789012345678901234567890
250269
CHARITY_ADDRESS_POL=0x1234567890123456789012345678901234567890
251270

271+
# thirdweb
272+
THIRDWEB_SECRET_KEY= # Create key on thirdweb developer dashboard: https://thirdweb.com/
273+
252274
# Conflux Configuration
253275
CONFLUX_CORE_PRIVATE_KEY=
254276
CONFLUX_CORE_SPACE_RPC_URL=
@@ -281,6 +303,10 @@ MEDIUM_VENICE_MODEL= # Default: llama-3.3-70b
281303
LARGE_VENICE_MODEL= # Default: llama-3.1-405b
282304
IMAGE_VENICE_MODEL= # Default: fluently-xl
283305

306+
# Coin Price Configuration
307+
COINMARKETCAP_API_KEY=
308+
COINGECKO_API_KEY=
309+
284310
# Akash Chat API Configuration docs: https://chatapi.akash.network/documentation
285311
AKASH_CHAT_API_KEY= # Get from https://chatapi.akash.network/
286312
SMALL_AKASH_CHAT_API_MODEL= # Default: Meta-Llama-3-2-3B-Instruct
@@ -332,13 +358,23 @@ NEAR_WALLET_SECRET_KEY=
332358
NEAR_WALLET_PUBLIC_KEY=
333359
NEAR_ADDRESS=
334360
SLIPPAGE=1
335-
RPC_URL=https://rpc.testnet.near.org
361+
NEAR_RPC_URL=https://rpc.testnet.near.org
336362
NEAR_NETWORK=testnet # or mainnet
337363

338364
# ZKsync Era Configuration
339365
ZKSYNC_ADDRESS=
340366
ZKSYNC_PRIVATE_KEY=
341367

368+
# Avail DA Configuration
369+
AVAIL_ADDRESS=
370+
AVAIL_SEED=
371+
AVAIL_APP_ID=0
372+
AVAIL_RPC_URL=wss://avail-turing.public.blastapi.io/ # (Default) Testnet: wss://avail-turing.public.blastapi.io/ | Mainnet: wss://avail-mainnet.public.blastapi.io/
373+
374+
# Marlin
375+
TEE_MARLIN= # Set "yes" to enable the plugin
376+
TEE_MARLIN_ATTESTATION_ENDPOINT= # Optional, default "http://127.0.0.1:1350"
377+
342378
# Ton
343379
TON_PRIVATE_KEY= # Ton Mnemonic Seed Phrase Join With Empty String
344380
TON_RPC_URL= # ton rpc
@@ -363,6 +399,9 @@ STORY_API_BASE_URL= # Story API base URL
363399
STORY_API_KEY= # Story API key
364400
PINATA_JWT= # Pinata JWT for uploading files to IPFS
365401

402+
# Cosmos
403+
COSMOS_RECOVERY_PHRASE= # 12 words recovery phrase (need to be in quotes, because of spaces)
404+
COSMOS_AVAILABLE_CHAINS= # mantrachaintestnet2,cosmos # Array of chains
366405
# Cronos zkEVM
367406
CRONOSZKEVM_ADDRESS=
368407
CRONOSZKEVM_PRIVATE_KEY=
@@ -373,3 +412,22 @@ FUEL_WALLET_PRIVATE_KEY=
373412
# Tokenizer Settings
374413
TOKENIZER_MODEL= # Specify the tokenizer model to be used.
375414
TOKENIZER_TYPE= # Options: tiktoken (for OpenAI models) or auto (AutoTokenizer from Hugging Face for non-OpenAI models). Default: tiktoken.
415+
416+
417+
# Spheron
418+
SPHERON_PRIVATE_KEY=
419+
SPHERON_PROVIDER_PROXY_URL=
420+
SPHERON_WALLET_ADDRESS=
421+
422+
# Stargaze NFT marketplace from Cosmos (You can use https://graphql.mainnet.stargaze-apis.com/graphql)
423+
STARGAZE_ENDPOINT=
424+
425+
# GenLayer
426+
GENLAYER_PRIVATE_KEY= # Private key of the GenLayer account to use for the agent in this format (0x0000000000000000000000000000000000000000000000000000000000000000)
427+
428+
# OpenWeather
429+
OPEN_WEATHER_API_KEY= # OpenWeather API key
430+
431+
# Allora
432+
ALLORA_API_KEY= # Allora API key, format: UP-f8db7d6558ab432ca0d92716
433+
ALLORA_CHAIN_SLUG= # must be one of mainnet, testnet. If not specified, it will use testnet by default

.eslintrc.json

+34-45
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,36 @@
11
{
2-
"plugins": [
3-
"@stylistic"
4-
],
5-
"extends": [
6-
"next/core-web-vitals",
7-
"plugin:@stylistic/recommended-extends"
8-
],
9-
"rules": {
10-
"@stylistic/indent": [
11-
"error",
12-
4,
13-
{
14-
"SwitchCase": 1
15-
}
2+
"plugins": ["@stylistic"],
3+
"extends": [
4+
"next/core-web-vitals",
5+
"plugin:@stylistic/recommended-extends"
166
],
17-
"@stylistic/no-tabs": "error",
18-
"@stylistic/member-delimiter-style": [
19-
"error",
20-
{
21-
"multiline": {
22-
"delimiter": "semi",
23-
"requireLast": true
24-
},
25-
"singleline": {
26-
"delimiter": "semi",
27-
"requireLast": false
28-
}
29-
}
30-
],
31-
"@stylistic/eol-last": [
32-
"error",
33-
"always"
34-
],
35-
"@stylistic/multiline-ternary": "off",
36-
"@stylistic/semi": [
37-
"error",
38-
"always"
39-
],
40-
"@stylistic/quotes": "off",
41-
"@stylistic/comma-dangle": "off",
42-
"@stylistic/brace-style": [
43-
"error",
44-
"1tbs"
45-
]
46-
}
47-
}
7+
"rules": {
8+
"@stylistic/indent": [
9+
"error",
10+
4,
11+
{
12+
"SwitchCase": 1
13+
}
14+
],
15+
"@stylistic/no-tabs": "error",
16+
"@stylistic/member-delimiter-style": [
17+
"error",
18+
{
19+
"multiline": {
20+
"delimiter": "semi",
21+
"requireLast": true
22+
},
23+
"singleline": {
24+
"delimiter": "semi",
25+
"requireLast": false
26+
}
27+
}
28+
],
29+
"@stylistic/eol-last": ["error", "always"],
30+
"@stylistic/multiline-ternary": "off",
31+
"@stylistic/semi": ["error", "always"],
32+
"@stylistic/quotes": "off",
33+
"@stylistic/comma-dangle": "off",
34+
"@stylistic/brace-style": ["error", "1tbs"]
35+
}
36+
}

0 commit comments

Comments
 (0)