Skip to content

Commit 1559885

Browse files
authored
Merge branch 'develop' into feature/archetype-selector
2 parents 6383cf9 + eb140e0 commit 1559885

File tree

233 files changed

+47992
-1130
lines changed

Some content is hidden

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

233 files changed

+47992
-1130
lines changed

.env.example

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

21+
# Logging
22+
LOG_JSON_FORMAT= # Print everything in logger as json; false by default
23+
2124
###############################
2225
#### Client Configurations ####
2326
###############################
@@ -141,8 +144,12 @@ MEDIUM_AKASH_CHAT_API_MODEL= # Default: Meta-Llama-3-3-70B-Instruct
141144
LARGE_AKASH_CHAT_API_MODEL= # Default: Meta-Llama-3-1-405B-Instruct-FP8
142145

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

147154
# Speech Synthesis
148155
ELEVENLABS_XI_API_KEY= # API key from elevenlabs
@@ -228,8 +235,10 @@ LARGE_ANTHROPIC_MODEL= # Default: claude-3-5-sonnet-20241022
228235
HEURIST_API_KEY= # Get from https://heurist.ai/dev-access
229236
SMALL_HEURIST_MODEL= # Default: meta-llama/llama-3-70b-instruct
230237
MEDIUM_HEURIST_MODEL= # Default: meta-llama/llama-3-70b-instruct
231-
LARGE_HEURIST_MODEL= # Default: meta-llama/llama-3.1-405b-instruct
232-
HEURIST_IMAGE_MODEL= # Default: PepeXL
238+
LARGE_HEURIST_MODEL= # Default: meta-llama/llama-3.3-70b-instruct
239+
HEURIST_IMAGE_MODEL= # Default: FLUX.1-dev
240+
HEURIST_EMBEDDING_MODEL= # Default: BAAI/bge-large-en-v1.5
241+
USE_HEURIST_EMBEDDING= # Set to TRUE for HEURIST embedding, leave blank for local
233242

234243
# Gaianet Configuration
235244
GAIANET_MODEL=
@@ -309,6 +318,10 @@ SOLANA_ADMIN_PRIVATE_KEY= # This wallet is used to verify NFTs
309318
SOLANA_ADMIN_PUBLIC_KEY= # This wallet is used to verify NFTs
310319
SOLANA_VERIFY_TOKEN= # Authentication token for calling the verification API
311320

321+
# Injective
322+
INJECTIVE_PRIVATE_KEY= #
323+
INJECTIVE_PUBLIC_KEY= #
324+
INJECTIVE_NETWORK= #
312325
# Fallback Wallet Configuration (deprecated)
313326
WALLET_PRIVATE_KEY=
314327
WALLET_PUBLIC_KEY=
@@ -344,6 +357,11 @@ COINBASE_GENERATED_WALLET_ID= # Not your address but the wallet ID from ge
344357
COINBASE_GENERATED_WALLET_HEX_SEED= # Not your address but the wallet hex seed from generating a wallet through the plugin and calling export
345358
COINBASE_NOTIFICATION_URI= # For webhook plugin the uri you want to send the webhook to for dummy ones use https://webhook.site
346359

360+
# Coinbase AgentKit
361+
COINBASE_AGENT_KIT_NETWORK= # defaults to 'base-sepolia'
362+
CDP_API_KEY_NAME=
363+
CDP_API_KEY_PRIVATE_KEY=
364+
347365
# Coinbase Charity Configuration
348366
IS_CHARITABLE=false # Set to true to enable charity donations
349367
CHARITY_ADDRESS_BASE=0x1234567890123456789012345678901234567890
@@ -368,6 +386,13 @@ ZEROG_EVM_RPC=
368386
ZEROG_PRIVATE_KEY=
369387
ZEROG_FLOW_ADDRESS=
370388

389+
# IQ6900
390+
# Load json recorded on-chain through IQ
391+
# Inscribe your json character file here: https://elizacodein.com/
392+
393+
IQ_WALLET_ADDRESS= # If you enter the wallet address used on the site, the most recently inscribed json will be loaded.
394+
IQSOlRPC=
395+
371396
# Squid Router
372397
SQUID_SDK_URL=https://apiplus.squidrouter.com # Default: https://apiplus.squidrouter.com
373398
SQUID_INTEGRATOR_ID= # get integrator id through https://docs.squidrouter.com/
@@ -550,6 +575,10 @@ AWS_SECRET_ACCESS_KEY=
550575
AWS_REGION=
551576
AWS_S3_BUCKET=
552577
AWS_S3_UPLOAD_PATH=
578+
AWS_S3_ENDPOINT=
579+
AWS_S3_SSL_ENABLED=
580+
AWS_S3_FORCE_PATH_STYLE=
581+
553582

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

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@elizaos/agent",
33
"version": "0.1.9-alpha.1",
4+
"version": "0.1.9-alpha.1",
45
"main": "src/index.ts",
56
"type": "module",
67
"scripts": {
@@ -31,13 +32,18 @@
3132
"@elizaos/client-telegram": "workspace:*",
3233
"@elizaos/client-twitter": "workspace:*",
3334
"@elizaos/client-instagram": "workspace:*",
35+
"@elizaos/client-instagram": "workspace:*",
3436
"@elizaos/client-slack": "workspace:*",
3537
"@elizaos/core": "workspace:*",
3638
"@elizaos/plugin-0g": "workspace:*",
3739
"@elizaos/plugin-abstract": "workspace:*",
40+
"@elizaos/plugin-agentkit": "workspace:*",
41+
"@elizaos/plugin-agentkit": "workspace:*",
3842
"@elizaos/plugin-aptos": "workspace:*",
3943
"@elizaos/plugin-birdeye": "workspace:*",
4044
"@elizaos/plugin-coingecko": "workspace:*",
45+
"@elizaos/plugin-birdeye": "workspace:*",
46+
"@elizaos/plugin-coingecko": "workspace:*",
4147
"@elizaos/plugin-coinmarketcap": "workspace:*",
4248
"@elizaos/plugin-binance": "workspace:*",
4349
"@elizaos/plugin-avail": "workspace:*",
@@ -52,6 +58,7 @@
5258
"@elizaos/plugin-gitbook": "workspace:*",
5359
"@elizaos/plugin-story": "workspace:*",
5460
"@elizaos/plugin-gitcoin-passport": "workspace:*",
61+
"@elizaos/plugin-gitcoin-passport": "workspace:*",
5562
"@elizaos/plugin-goat": "workspace:*",
5663
"@elizaos/plugin-lensNetwork": "workspace:*",
5764
"@elizaos/plugin-icp": "workspace:*",
@@ -61,15 +68,19 @@
6168
"@elizaos/plugin-nft-generation": "workspace:*",
6269
"@elizaos/plugin-node": "workspace:*",
6370
"@elizaos/plugin-solana": "workspace:*",
71+
"@elizaos/plugin-injective": "workspace:*",
72+
"@elizaos/plugin-injective": "workspace:*",
6473
"@elizaos/plugin-solana-agentkit": "workspace:*",
6574
"@elizaos/plugin-squid-router": "workspace:*",
75+
"@elizaos/plugin-squid-router": "workspace:*",
6676
"@elizaos/plugin-autonome": "workspace:*",
6777
"@elizaos/plugin-starknet": "workspace:*",
6878
"@elizaos/plugin-stargaze": "workspace:*",
6979
"@elizaos/plugin-giphy": "workspace:*",
7080
"@elizaos/plugin-ton": "workspace:*",
7181
"@elizaos/plugin-sui": "workspace:*",
7282
"@elizaos/plugin-sgx": "workspace:*",
83+
"@elizaos/plugin-iq6900": "workspace:*",
7384
"@elizaos/plugin-tee": "workspace:*",
7485
"@elizaos/plugin-tee-log": "workspace:*",
7586
"@elizaos/plugin-tee-marlin": "workspace:*",
@@ -85,10 +96,12 @@
8596
"@elizaos/plugin-video-generation": "workspace:*",
8697
"@elizaos/plugin-web-search": "workspace:*",
8798
"@elizaos/plugin-dexscreener": "workspace:*",
99+
"@elizaos/plugin-dexscreener": "workspace:*",
88100
"@elizaos/plugin-letzai": "workspace:*",
89101
"@elizaos/plugin-thirdweb": "workspace:*",
90102
"@elizaos/plugin-genlayer": "workspace:*",
91103
"@elizaos/plugin-tee-verifiable-log": "workspace:*",
104+
"@elizaos/plugin-tee-verifiable-log": "workspace:*",
92105
"@elizaos/plugin-depin": "workspace:*",
93106
"@elizaos/plugin-open-weather": "workspace:*",
94107
"@elizaos/plugin-obsidian": "workspace:*",
@@ -100,6 +113,7 @@
100113
"@elizaos/plugin-quai": "workspace:*",
101114
"@elizaos/plugin-b2": "workspace:*",
102115
"@elizaos/plugin-nft-collections": "workspace:*",
116+
"@elizaos/plugin-pyth-data": "workspace:*",
103117
"readline": "1.3.0",
104118
"ws": "8.18.0",
105119
"yargs": "17.7.2"
@@ -111,4 +125,4 @@
111125
"ts-node": "10.9.2",
112126
"tsup": "8.3.5"
113127
}
114-
}
128+
}

0 commit comments

Comments
 (0)