Skip to content

Commit 82cf61e

Browse files
authored
Merge branch 'develop' into fix/react_hooks_rules_agentroute
2 parents d511171 + 16f83b7 commit 82cf61e

Some content is hidden

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

68 files changed

+13113
-328
lines changed

.env.example

+55-2
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,12 @@ MEDIUM_AKASH_CHAT_API_MODEL= # Default: Meta-Llama-3-3-70B-Instruct
141141
LARGE_AKASH_CHAT_API_MODEL= # Default: Meta-Llama-3-1-405B-Instruct-FP8
142142

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

147151
# Speech Synthesis
148152
ELEVENLABS_XI_API_KEY= # API key from elevenlabs
@@ -348,6 +352,11 @@ COINBASE_GENERATED_WALLET_ID= # Not your address but the wallet ID from ge
348352
COINBASE_GENERATED_WALLET_HEX_SEED= # Not your address but the wallet hex seed from generating a wallet through the plugin and calling export
349353
COINBASE_NOTIFICATION_URI= # For webhook plugin the uri you want to send the webhook to for dummy ones use https://webhook.site
350354

355+
# Coinbase AgentKit
356+
COINBASE_AGENT_KIT_NETWORK= # defaults to 'base-sepolia'
357+
CDP_API_KEY_NAME=
358+
CDP_API_KEY_PRIVATE_KEY=
359+
351360
# Coinbase Charity Configuration
352361
IS_CHARITABLE=false # Set to true to enable charity donations
353362
CHARITY_ADDRESS_BASE=0x1234567890123456789012345678901234567890
@@ -372,6 +381,13 @@ ZEROG_EVM_RPC=
372381
ZEROG_PRIVATE_KEY=
373382
ZEROG_FLOW_ADDRESS=
374383

384+
# IQ6900
385+
# Load json recorded on-chain through IQ
386+
# Inscribe your json character file here: https://elizacodein.com/
387+
388+
IQ_WALLET_ADDRESS= # If you enter the wallet address used on the site, the most recently inscribed json will be loaded.
389+
IQSOlRPC=
390+
375391
# Squid Router
376392
SQUID_SDK_URL=https://apiplus.squidrouter.com # Default: https://apiplus.squidrouter.com
377393
SQUID_INTEGRATOR_ID= # get integrator id through https://docs.squidrouter.com/
@@ -631,3 +647,40 @@ INSTAGRAM_POST_INTERVAL_MAX=120 # Default: 120 minutes
631647
INSTAGRAM_ENABLE_ACTION_PROCESSING=false # Enable/disable action processing
632648
INSTAGRAM_ACTION_INTERVAL=5 # Interval between actions in minutes
633649
INSTAGRAM_MAX_ACTIONS=1 # Maximum number of actions to process at once
650+
651+
####################################
652+
#### Pyth Plugin Configuration ####
653+
####################################
654+
# Network Environment (mainnet or testnet)git
655+
PYTH_NETWORK_ENV=mainnet
656+
657+
# Mainnet Network Configuration
658+
PYTH_MAINNET_HERMES_URL=https://hermes.pyth.network
659+
PYTH_MAINNET_WSS_URL=wss://hermes.pyth.network/ws
660+
PYTH_MAINNET_PYTHNET_URL=https://pythnet.rpcpool.com
661+
PYTH_MAINNET_CONTRACT_REGISTRY=https://pyth.network/developers/price-feed-ids
662+
PYTH_MAINNET_PROGRAM_KEY=
663+
664+
# Testnet Network Configuration
665+
PYTH_TESTNET_HERMES_URL=https://hermes.pyth.network
666+
PYTH_TESTNET_WSS_URL=wss://hermes.pyth.network/ws
667+
PYTH_TESTNET_PYTHNET_URL=https://pythnet.rpcpool.com
668+
PYTH_TESTNET_CONTRACT_REGISTRY=https://pyth.network/developers/price-feed-ids#testnet
669+
PYTH_TESTNET_PROGRAM_KEY=
670+
671+
# Connection Settings
672+
PYTH_MAX_RETRIES=3
673+
PYTH_RETRY_DELAY=1000
674+
PYTH_TIMEOUT=5000
675+
PYTH_GRANULAR_LOG=true
676+
PYTH_LOG_LEVEL=debug
677+
PYTH_LOG_LEVEL=info
678+
679+
# Runtime Settings
680+
RUNTIME_CHECK_MODE=false
681+
682+
# Pyth Price Streaming and test ID
683+
PYTH_ENABLE_PRICE_STREAMING=true
684+
PYTH_MAX_PRICE_STREAMS=2
685+
PYTH_TEST_ID01=0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43
686+
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

+14-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:*",
@@ -62,15 +69,18 @@
6269
"@elizaos/plugin-node": "workspace:*",
6370
"@elizaos/plugin-solana": "workspace:*",
6471
"@elizaos/plugin-injective": "workspace:*",
72+
"@elizaos/plugin-injective": "workspace:*",
6573
"@elizaos/plugin-solana-agentkit": "workspace:*",
6674
"@elizaos/plugin-squid-router": "workspace:*",
75+
"@elizaos/plugin-squid-router": "workspace:*",
6776
"@elizaos/plugin-autonome": "workspace:*",
6877
"@elizaos/plugin-starknet": "workspace:*",
6978
"@elizaos/plugin-stargaze": "workspace:*",
7079
"@elizaos/plugin-giphy": "workspace:*",
7180
"@elizaos/plugin-ton": "workspace:*",
7281
"@elizaos/plugin-sui": "workspace:*",
7382
"@elizaos/plugin-sgx": "workspace:*",
83+
"@elizaos/plugin-iq6900": "workspace:*",
7484
"@elizaos/plugin-tee": "workspace:*",
7585
"@elizaos/plugin-tee-log": "workspace:*",
7686
"@elizaos/plugin-tee-marlin": "workspace:*",
@@ -86,10 +96,12 @@
8696
"@elizaos/plugin-video-generation": "workspace:*",
8797
"@elizaos/plugin-web-search": "workspace:*",
8898
"@elizaos/plugin-dexscreener": "workspace:*",
99+
"@elizaos/plugin-dexscreener": "workspace:*",
89100
"@elizaos/plugin-letzai": "workspace:*",
90101
"@elizaos/plugin-thirdweb": "workspace:*",
91102
"@elizaos/plugin-genlayer": "workspace:*",
92103
"@elizaos/plugin-tee-verifiable-log": "workspace:*",
104+
"@elizaos/plugin-tee-verifiable-log": "workspace:*",
93105
"@elizaos/plugin-depin": "workspace:*",
94106
"@elizaos/plugin-open-weather": "workspace:*",
95107
"@elizaos/plugin-obsidian": "workspace:*",
@@ -101,6 +113,7 @@
101113
"@elizaos/plugin-quai": "workspace:*",
102114
"@elizaos/plugin-b2": "workspace:*",
103115
"@elizaos/plugin-nft-collections": "workspace:*",
116+
"@elizaos/plugin-pyth-data": "workspace:*",
104117
"readline": "1.3.0",
105118
"ws": "8.18.0",
106119
"yargs": "17.7.2"
@@ -112,4 +125,4 @@
112125
"ts-node": "10.9.2",
113126
"tsup": "8.3.5"
114127
}
115-
}
128+
}

0 commit comments

Comments
 (0)