Skip to content

Commit 75a78b9

Browse files
committed
* 'main' of https://github.com/mgunnin/eliza-agent: (954 commits) fix: remove duplicate litPlugin import fix: export dexScreenerPlugin chore(plugin-chainbase): add @biomejs/biome dev dependency feat (chore): plugin-bootstrap: test config and test coverage (elizaOS#3068) feat (chore): plugin bittensor test config and coverage (elizaOS#3064) updated gitignore + removed build files (elizaOS#3117) Update package.json fix scroll to bottom fix: fixing the error parsing json when an array is a value in a JSON object Update Dockerfile Investigated and added the peoper ether to the configuration it was missing and fixed all the code Fixed the initial error in wallet and multiple other typings. I left 2 because not possibler to restore them fast. (elizaOS#3010) Fixed all the issues in Aptos and aded Biome Fixed all the issues this is the commit to keep for arthers docs: Add "What Did You Get Done This Week? 11" notes Great code i just added the Biome fix: fixed a type issue due to which build was failing chore(packages/clients): include section links fix: add biome configuration and fix linting issues in plugin-autonome fix: fixed a type issue due to which build was failing ...
2 parents 02134db + ffa4c1d commit 75a78b9

File tree

2,195 files changed

+250615
-16369
lines changed

Some content is hidden

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

2,195 files changed

+250615
-16369
lines changed

.dockerignore

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Ignore node_modules from the build context
2+
node_modules
3+
4+
# Ignore logs and temporary files
5+
*.log
6+
*.tmp
7+
.DS_Store
8+
9+
# Ignore Git files and metadata
10+
.gitignore
11+
12+
# Ignore IDE and editor config files
13+
.vscode
14+
.idea
15+
*.swp
16+
17+
# Ignore build artifacts from the host
18+
dist
19+
build

.env.example

+603-203
Large diffs are not rendered by default.

.eslintrc.json

-36
This file was deleted.

.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/ci.yaml

+12-5
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ on:
77
jobs:
88
check:
99
runs-on: ubuntu-latest
10+
env:
11+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
12+
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
13+
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
14+
TURBO_REMOTE_ONLY: true
1015
steps:
1116
- uses: actions/checkout@v4
1217

1318
- uses: pnpm/action-setup@v3
1419
with:
15-
version: 9.4.0
20+
version: 9.15.0
1621

1722
- uses: actions/setup-node@v4
1823
with:
@@ -22,11 +27,13 @@ jobs:
2227
- name: Install dependencies
2328
run: pnpm install -r --no-frozen-lockfile
2429

25-
- name: Run Prettier
26-
run: pnpm run prettier --check .
30+
- name: Setup Biome CLI
31+
uses: biomejs/setup-biome@v2
32+
with:
33+
version: latest
2734

28-
- name: Run Linter
29-
run: pnpm run lint
35+
- name: Run Biome
36+
run: biome ci
3037

3138
- name: Create test env file
3239
run: |

.github/workflows/generate-readme-translations.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ jobs:
2424
{ code: "TH", name: "Thai" },
2525
{ code: "TR", name: "Turkish" },
2626
{ code: "VI", name: "Vietnamese" },
27+
{ code: "AR", name: "Arabic" },
28+
{ code: "RS", name: "Srpski" },
29+
{ code: "TG", name: "Tagalog" },
30+
{ code: "PL", name: "Polski" },
31+
{ code: "HU", name: "Hungarian" },
32+
{ code: "FA", name: "Persian" },
33+
{ code: "RO", name: "Romanian" },
34+
{ code: "GR", name: "Greek" },
35+
{ code: "NL", name: "Dutch" },
2736
]
2837
permissions:
2938
contents: write
@@ -53,7 +62,7 @@ jobs:
5362
"content_path": "README.md"
5463
}
5564
],
56-
"save_path": "README_${{ matrix.language.code }}.md",
65+
save_path: "i18n/readme/README_${{ matrix.language.code }}.md",
5766
"model": "gpt-4o"
5867
}
5968

.github/workflows/greetings.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
- uses: actions/first-interaction@v1
1313
with:
1414
repo-token: ${{ secrets.GITHUB_TOKEN }}
15-
issue-message: "Hello @${{ github.actor }}! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor!"
16-
pr-message: "Hi @${{ github.actor }}! Welcome to the ai16z community. Thanks for submitting your first pull request; your efforts are helping us accelerate towards AGI. We'll review it shortly. You are now a ai16z contributor!"
15+
issue-message: "Hello @${{ github.actor }}! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!"
16+
pr-message: "Hi @${{ github.actor }}! Welcome to the elizaOS community. Thanks for submitting your first pull request; your efforts are helping us accelerate towards AGI. We'll review it shortly. You are now an elizaOS contributor!"
+34-31
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,44 @@
11
name: Integration Tests
22
on:
3-
push:
4-
branches:
5-
- "*"
6-
pull_request:
7-
branches:
8-
- "*"
3+
push:
4+
branches:
5+
- "*"
6+
pull_request_target:
7+
branches:
8+
- "*"
99

1010
jobs:
11-
integration-tests:
12-
runs-on: ubuntu-latest
13-
env:
14-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
15-
steps:
16-
- uses: actions/checkout@v4
11+
integration-tests:
12+
runs-on: ubuntu-latest
13+
env:
14+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
15+
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
16+
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
17+
TURBO_REMOTE_ONLY: true
18+
steps:
19+
- uses: actions/checkout@v4
1720

18-
- uses: pnpm/action-setup@v3
19-
with:
20-
version: 9.15.0
21+
- uses: pnpm/action-setup@v3
22+
with:
23+
version: 9.15.0
2124

22-
- uses: actions/setup-node@v4
23-
with:
24-
node-version: "23.3.0"
25-
cache: "pnpm"
25+
- uses: actions/setup-node@v4
26+
with:
27+
node-version: "23.3"
28+
cache: "pnpm"
2629

27-
- name: Clean up
28-
run: pnpm clean
30+
- name: Install dependencies
31+
run: pnpm install --no-frozen-lockfile
2932

30-
- name: Install dependencies
31-
run: pnpm install -r --no-frozen-lockfile
33+
- name: Build packages
34+
run: pnpm build
3235

33-
- name: Build packages
34-
run: pnpm build
36+
- name: Check for API key
37+
run: |
38+
if [ -z "$OPENAI_API_KEY" ]; then
39+
echo "Error: OPENAI_API_KEY is not set."
40+
exit 1
41+
fi
3542
36-
- name: Run integration tests
37-
env:
38-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
39-
COINBASE_COMMERCE_KEY: ${{ secrets.COINBASE_COMMERCE_KEY }}
40-
run: |
41-
pnpm run integrationTests
43+
- name: Run integration tests
44+
run: pnpm run integrationTests
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Merge Group Checks
2+
on:
3+
merge_group:
4+
types: [checks_requested]
5+
jobs:
6+
minimal-check:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Always pass
10+
run: echo "All good!"

.github/workflows/pre-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- uses: pnpm/action-setup@v3
2424
with:
25-
version: 8
25+
version: 9.15.0
2626

2727
- name: Configure Git
2828
run: |

.github/workflows/smoke-tests.yml

+24-19
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
11
name: smoke-test
22
on:
3-
push:
4-
branches:
5-
- "*"
6-
pull_request:
7-
branches:
8-
- "*"
3+
push:
4+
branches:
5+
- "*"
6+
pull_request:
7+
branches:
8+
- "*"
99

1010
jobs:
11-
smoke-tests:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v4
11+
smoke-tests:
12+
runs-on: ubuntu-latest
13+
env:
14+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
15+
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
16+
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
17+
TURBO_REMOTE_ONLY: true
18+
steps:
19+
- uses: actions/checkout@v4
1520

16-
- uses: pnpm/action-setup@v3
17-
with:
18-
version: 9.15.0
21+
- uses: pnpm/action-setup@v3
22+
with:
23+
version: 9.15.0
1924

20-
- uses: actions/setup-node@v4
21-
with:
22-
node-version: "23.3.0"
23-
cache: "pnpm"
25+
- uses: actions/setup-node@v4
26+
with:
27+
node-version: "23.3"
28+
cache: "pnpm"
2429

25-
- name: Run smoke tests
26-
run: pnpm run smokeTests
30+
- name: Run smoke tests
31+
run: pnpm run smokeTests

.gitignore

+31-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ concatenated-output.ts
99
embedding-cache.json
1010
packages/plugin-buttplug/intiface-engine
1111

12+
node-compile-cache
13+
1214
.idea
15+
.vscode
16+
.zed
1317
.DS_Store
1418

1519
dist/
@@ -40,7 +44,11 @@ timeline_cache.json
4044

4145
*.sqlite
4246

43-
characters/
47+
# Character configurations
48+
characters/**/secrets.json
49+
characters/**/*.env
50+
characters/**/*.key
51+
characters/**/private/
4452

4553
packages/core/src/providers/cache
4654
packages/core/src/providers/cache/*
@@ -52,6 +60,8 @@ tsup.config.bundled_*.mjs
5260
.turbo
5361
.cursorrules
5462
.pnpm-store
63+
instructions.md
64+
wallet_data.txt
5565

5666
coverage
5767
.eslintcache
@@ -62,6 +72,23 @@ eliza.manifest
6272
eliza.manifest.sgx
6373
eliza.sig
6474

65-
.specstory
66-
notes
67-
agent/wallet_data.txt
75+
packages/plugin-nvidia-nim/extra
76+
packages/plugin-nvidia-nim/old_code
77+
packages/plugin-nvidia-nim/docs
78+
79+
# Edriziai specific ignores
80+
characters/edriziai-info/secrets.json
81+
82+
# Bug Hunter logs and checkpoints
83+
scripts/bug_hunt/logs/
84+
scripts/bug_hunt/logs/*.log
85+
scripts/bug_hunt/checkpoints/
86+
scripts/bug_hunt/checkpoints/*.json
87+
scripts/bug_hunt/reports/
88+
scripts/bug_hunt/reports/*.md
89+
90+
lit-config.json
91+
92+
# Configuration to exclude the extra and local_docs directories
93+
extra
94+
**/dist/**

0 commit comments

Comments
 (0)