Skip to content

Commit 39f5609

Browse files
authored
Merge branch 'develop' into develop
2 parents fd5f73d + 5a85d7f commit 39f5609

File tree

258 files changed

+49367
-1857
lines changed

Some content is hidden

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

258 files changed

+49367
-1857
lines changed

.env.example

+79-5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ SUPABASE_ANON_KEY=
1818
# Comma separated list of remote character urls (optional)
1919
REMOTE_CHARACTER_URLS=
2020

21+
# Logging
22+
DEFAULT_LOG_LEVEL=info
23+
LOG_JSON_FORMAT= # Print everything in logger as json; false by default
24+
2125
###############################
2226
#### Client Configurations ####
2327
###############################
@@ -87,6 +91,13 @@ EMBEDDING_OPENAI_MODEL= # Default: text-embedding-3-small
8791
IMAGE_OPENAI_MODEL= # Default: dall-e-3
8892
USE_OPENAI_EMBEDDING= # Set to TRUE for OpenAI/1536, leave blank for local
8993

94+
# Atoma SDK Configuration
95+
ATOMASDK_BEARER_AUTH= # Atoma SDK Bearer Auth token
96+
ATOMA_API_URL= # Default: https://api.atoma.network/v1
97+
SMALL_ATOMA_MODEL= # Default: meta-llama/Llama-3.3-70B-Instruct
98+
MEDIUM_ATOMA_MODEL= # Default: meta-llama/Llama-3.3-70B-Instruct
99+
LARGE_ATOMA_MODEL= # Default: meta-llama/Llama-3.3-70B-Instruct
100+
90101
# Eternal AI's Decentralized Inference API
91102
ETERNALAI_URL=
92103
ETERNALAI_MODEL= # Default: "NousResearch/Hermes-3-Llama-3.1-70B-FP8"
@@ -134,8 +145,12 @@ MEDIUM_AKASH_CHAT_API_MODEL= # Default: Meta-Llama-3-3-70B-Instruct
134145
LARGE_AKASH_CHAT_API_MODEL= # Default: Meta-Llama-3-1-405B-Instruct-FP8
135146

136147
# Livepeer configuration
137-
LIVEPEER_GATEWAY_URL= # Free inference gateways and docs: https://livepeer-eliza.com/
138-
LIVEPEER_IMAGE_MODEL= # Default: ByteDance/SDXL-Lightning
148+
149+
LIVEPEER_GATEWAY_URL=https://dream-gateway.livepeer.cloud # Free inference gateways and docs: https://livepeer-eliza.com/
150+
IMAGE_LIVEPEER_MODEL= # Default: ByteDance/SDXL-Lightning
151+
SMALL_LIVEPEER_MODEL= # Default: meta-llama/Meta-Llama-3.1-8B-Instruct
152+
MEDIUM_LIVEPEER_MODEL= # Default: meta-llama/Meta-Llama-3.1-8B-Instruct
153+
LARGE_LIVEPEER_MODEL= # Default: meta-llama/Meta-Llama-3.1-8B-Instruct
139154

140155
# Speech Synthesis
141156
ELEVENLABS_XI_API_KEY= # API key from elevenlabs
@@ -221,8 +236,10 @@ LARGE_ANTHROPIC_MODEL= # Default: claude-3-5-sonnet-20241022
221236
HEURIST_API_KEY= # Get from https://heurist.ai/dev-access
222237
SMALL_HEURIST_MODEL= # Default: meta-llama/llama-3-70b-instruct
223238
MEDIUM_HEURIST_MODEL= # Default: meta-llama/llama-3-70b-instruct
224-
LARGE_HEURIST_MODEL= # Default: meta-llama/llama-3.1-405b-instruct
225-
HEURIST_IMAGE_MODEL= # Default: PepeXL
239+
LARGE_HEURIST_MODEL= # Default: meta-llama/llama-3.3-70b-instruct
240+
HEURIST_IMAGE_MODEL= # Default: FLUX.1-dev
241+
HEURIST_EMBEDDING_MODEL= # Default: BAAI/bge-large-en-v1.5
242+
USE_HEURIST_EMBEDDING= # Set to TRUE for HEURIST embedding, leave blank for local
226243

227244
# Gaianet Configuration
228245
GAIANET_MODEL=
@@ -302,6 +319,10 @@ SOLANA_ADMIN_PRIVATE_KEY= # This wallet is used to verify NFTs
302319
SOLANA_ADMIN_PUBLIC_KEY= # This wallet is used to verify NFTs
303320
SOLANA_VERIFY_TOKEN= # Authentication token for calling the verification API
304321

322+
# Injective
323+
INJECTIVE_PRIVATE_KEY= #
324+
INJECTIVE_PUBLIC_KEY= #
325+
INJECTIVE_NETWORK= #
305326
# Fallback Wallet Configuration (deprecated)
306327
WALLET_PRIVATE_KEY=
307328
WALLET_PUBLIC_KEY=
@@ -337,6 +358,11 @@ COINBASE_GENERATED_WALLET_ID= # Not your address but the wallet ID from ge
337358
COINBASE_GENERATED_WALLET_HEX_SEED= # Not your address but the wallet hex seed from generating a wallet through the plugin and calling export
338359
COINBASE_NOTIFICATION_URI= # For webhook plugin the uri you want to send the webhook to for dummy ones use https://webhook.site
339360

361+
# Coinbase AgentKit
362+
COINBASE_AGENT_KIT_NETWORK= # defaults to 'base-sepolia'
363+
CDP_API_KEY_NAME=
364+
CDP_API_KEY_PRIVATE_KEY=
365+
340366
# Coinbase Charity Configuration
341367
IS_CHARITABLE=false # Set to true to enable charity donations
342368
CHARITY_ADDRESS_BASE=0x1234567890123456789012345678901234567890
@@ -361,12 +387,19 @@ ZEROG_EVM_RPC=
361387
ZEROG_PRIVATE_KEY=
362388
ZEROG_FLOW_ADDRESS=
363389

390+
# IQ6900
391+
# Load json recorded on-chain through IQ
392+
# Inscribe your json character file here: https://elizacodein.com/
393+
394+
IQ_WALLET_ADDRESS= # If you enter the wallet address used on the site, the most recently inscribed json will be loaded.
395+
IQSOlRPC=
396+
364397
# Squid Router
365398
SQUID_SDK_URL=https://apiplus.squidrouter.com # Default: https://apiplus.squidrouter.com
366399
SQUID_INTEGRATOR_ID= # get integrator id through https://docs.squidrouter.com/
367400
SQUID_EVM_ADDRESS=
368401
SQUID_EVM_PRIVATE_KEY=
369-
SQUID_API_THROTTLE_INTERVAL= # Default: 0; Used to throttle API calls to avoid rate limiting (in ms)
402+
SQUID_API_THROTTLE_INTERVAL=1000 # Default: 1000; Used to throttle API calls to avoid rate limiting (in ms)
370403

371404
# TEE Configuration
372405
# TEE_MODE options:
@@ -543,6 +576,10 @@ AWS_SECRET_ACCESS_KEY=
543576
AWS_REGION=
544577
AWS_S3_BUCKET=
545578
AWS_S3_UPLOAD_PATH=
579+
AWS_S3_ENDPOINT=
580+
AWS_S3_SSL_ENABLED=
581+
AWS_S3_FORCE_PATH_STYLE=
582+
546583

547584
# Deepgram
548585
DEEPGRAM_API_KEY=
@@ -616,3 +653,40 @@ INSTAGRAM_POST_INTERVAL_MAX=120 # Default: 120 minutes
616653
INSTAGRAM_ENABLE_ACTION_PROCESSING=false # Enable/disable action processing
617654
INSTAGRAM_ACTION_INTERVAL=5 # Interval between actions in minutes
618655
INSTAGRAM_MAX_ACTIONS=1 # Maximum number of actions to process at once
656+
657+
####################################
658+
#### Pyth Plugin Configuration ####
659+
####################################
660+
# Network Environment (mainnet or testnet)git
661+
PYTH_NETWORK_ENV=mainnet
662+
663+
# Mainnet Network Configuration
664+
PYTH_MAINNET_HERMES_URL=https://hermes.pyth.network
665+
PYTH_MAINNET_WSS_URL=wss://hermes.pyth.network/ws
666+
PYTH_MAINNET_PYTHNET_URL=https://pythnet.rpcpool.com
667+
PYTH_MAINNET_CONTRACT_REGISTRY=https://pyth.network/developers/price-feed-ids
668+
PYTH_MAINNET_PROGRAM_KEY=
669+
670+
# Testnet Network Configuration
671+
PYTH_TESTNET_HERMES_URL=https://hermes.pyth.network
672+
PYTH_TESTNET_WSS_URL=wss://hermes.pyth.network/ws
673+
PYTH_TESTNET_PYTHNET_URL=https://pythnet.rpcpool.com
674+
PYTH_TESTNET_CONTRACT_REGISTRY=https://pyth.network/developers/price-feed-ids#testnet
675+
PYTH_TESTNET_PROGRAM_KEY=
676+
677+
# Connection Settings
678+
PYTH_MAX_RETRIES=3
679+
PYTH_RETRY_DELAY=1000
680+
PYTH_TIMEOUT=5000
681+
PYTH_GRANULAR_LOG=true
682+
PYTH_LOG_LEVEL=debug
683+
PYTH_LOG_LEVEL=info
684+
685+
# Runtime Settings
686+
RUNTIME_CHECK_MODE=false
687+
688+
# Pyth Price Streaming and test ID
689+
PYTH_ENABLE_PRICE_STREAMING=true
690+
PYTH_MAX_PRICE_STREAMS=2
691+
PYTH_TEST_ID01=0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43
692+
PYTH_TEST_ID02=0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ace

.github/workflows/block-mini.yml

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Block Minified JavaScript/TypeScript
2+
3+
on:
4+
pull_request:
5+
branches: ["main", "develop", "*"]
6+
push:
7+
branches: ["main", "develop", "*"]
8+
9+
jobs:
10+
block-minified-code:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check out code
14+
uses: actions/checkout@v4
15+
16+
- name: Detect potential minified code
17+
shell: bash
18+
run: |
19+
echo "Scanning for potential minified JS/TS code..."
20+
21+
# We'll look in .ts, .tsx, .js, .jsx files, skipping common build dirs.
22+
FILES=$(find . \
23+
\( -name 'node_modules' -prune \) -o \
24+
\( -name 'dist' -prune \) -o \
25+
\( -name 'build' -prune \) -o \
26+
-type f \( -name '*.ts' -o -name '*.tsx' -o -name '*.js' -o -name '*.jsx' \) \
27+
-print)
28+
29+
if [ -z "$FILES" ]; then
30+
echo "No relevant JS/TS files found."
31+
exit 0
32+
fi
33+
34+
THRESHOLD=1000
35+
VIOLATIONS=0
36+
37+
for file in $FILES; do
38+
# Use grep -En to capture line number and text
39+
# If any line is ≥ THRESHOLD chars, we store those lines in RESULTS
40+
RESULTS=$(grep -En ".{${THRESHOLD},}" "$file" || true)
41+
if [ -n "$RESULTS" ]; then
42+
# We have potential minified lines
43+
while IFS= read -r match; do
44+
# 'match' will be something like "1234:the entire matched line"
45+
LINENUM=$(echo "$match" | cut -d: -f1)
46+
# If you want the text, you can do:
47+
# MATCHED_LINE=$(echo "$match" | cut -d: -f2-)
48+
49+
echo "::error file=$file,line=$LINENUM::Detected potential minified code (≥ $THRESHOLD chars)."
50+
done <<< "$RESULTS"
51+
VIOLATIONS=1
52+
fi
53+
done
54+
55+
if [ "$VIOLATIONS" -eq 1 ]; then
56+
echo "ERROR: Minified code detected. Please remove or exclude it."
57+
exit 1
58+
else
59+
echo "No minified code detected."
60+
fi

.github/workflows/smoke-tests.yml

+12-5
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,24 @@ on:
1010
jobs:
1111
smoke-tests:
1212
runs-on: ubuntu-latest
13+
container:
14+
image: node:23-bullseye
1315
steps:
1416
- uses: actions/checkout@v4
1517

16-
- uses: pnpm/action-setup@v3
18+
- name: Cache pnpm
19+
uses: actions/cache@v4
1720
with:
18-
version: 9.15.0
21+
path: |
22+
~/.pnpm-store
23+
**/node_modules
24+
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
25+
restore-keys: ${{ runner.os }}-pnpm-
1926

20-
- uses: actions/setup-node@v4
27+
- name: Setup pnpm
28+
uses: pnpm/action-setup@v3
2129
with:
22-
node-version: "23.3.0"
23-
cache: "pnpm"
30+
version: 9.15.0
2431

2532
- name: Run smoke tests
2633
run: pnpm run smokeTests

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ tsup.config.bundled_*.mjs
5252
.turbo
5353
.cursorrules
5454
.pnpm-store
55+
instructions.md
56+
wallet_data.txt
5557

5658
coverage
5759
.eslintcache

agent/package.json

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"@elizaos/core": "workspace:*",
3636
"@elizaos/plugin-0g": "workspace:*",
3737
"@elizaos/plugin-abstract": "workspace:*",
38+
"@elizaos/plugin-agentkit": "workspace:*",
3839
"@elizaos/plugin-aptos": "workspace:*",
3940
"@elizaos/plugin-birdeye": "workspace:*",
4041
"@elizaos/plugin-coingecko": "workspace:*",
@@ -61,6 +62,7 @@
6162
"@elizaos/plugin-nft-generation": "workspace:*",
6263
"@elizaos/plugin-node": "workspace:*",
6364
"@elizaos/plugin-solana": "workspace:*",
65+
"@elizaos/plugin-injective": "workspace:*",
6466
"@elizaos/plugin-solana-agentkit": "workspace:*",
6567
"@elizaos/plugin-squid-router": "workspace:*",
6668
"@elizaos/plugin-autonome": "workspace:*",
@@ -70,6 +72,7 @@
7072
"@elizaos/plugin-ton": "workspace:*",
7173
"@elizaos/plugin-sui": "workspace:*",
7274
"@elizaos/plugin-sgx": "workspace:*",
75+
"@elizaos/plugin-iq6900": "workspace:*",
7376
"@elizaos/plugin-tee": "workspace:*",
7477
"@elizaos/plugin-tee-log": "workspace:*",
7578
"@elizaos/plugin-tee-marlin": "workspace:*",
@@ -100,6 +103,7 @@
100103
"@elizaos/plugin-quai": "workspace:*",
101104
"@elizaos/plugin-b2": "workspace:*",
102105
"@elizaos/plugin-nft-collections": "workspace:*",
106+
"@elizaos/plugin-pyth-data": "workspace:*",
103107
"readline": "1.3.0",
104108
"ws": "8.18.0",
105109
"yargs": "17.7.2"

0 commit comments

Comments
 (0)