Skip to content

Commit deed309

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into news-plugin
2 parents 3559a1f + e6dfc08 commit deed309

File tree

1,626 files changed

+180415
-10976
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,626 files changed

+180415
-10976
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

+485-201
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

+6-4
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ jobs:
2222
- name: Install dependencies
2323
run: pnpm install -r --no-frozen-lockfile
2424

25-
- name: Run Prettier
26-
run: pnpm run prettier --check .
25+
- name: Setup Biome CLI
26+
uses: biomejs/setup-biome@v2
27+
with:
28+
version: latest
2729

28-
- name: Run Linter
29-
run: pnpm run lint
30+
- name: Run Biome
31+
run: biome ci
3032

3133
- name: Create test env file
3234
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
+31-31
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
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+
steps:
16+
- uses: actions/checkout@v4
1717

18-
- uses: pnpm/action-setup@v3
19-
with:
20-
version: 9.15.0
18+
- uses: pnpm/action-setup@v3
19+
with:
20+
version: 9.4.0
2121

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

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

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

33-
- name: Build packages
34-
run: pnpm build
33+
- name: Check for API key
34+
run: |
35+
if [ -z "$OPENAI_API_KEY" ]; then
36+
echo "Error: OPENAI_API_KEY is not set."
37+
exit 1
38+
fi
3539
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
40+
- name: Run integration tests
41+
run: pnpm run integrationTests

.github/workflows/smoke-tests.yml

+21-19
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
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+
steps:
16+
- uses: actions/checkout@v4
1517

16-
- uses: pnpm/action-setup@v3
17-
with:
18-
version: 9.15.0
18+
- uses: pnpm/action-setup@v3
19+
with:
20+
version: 9.4.0
1921

20-
- uses: actions/setup-node@v4
21-
with:
22-
node-version: "23.3.0"
23-
cache: "pnpm"
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: "23.3"
25+
cache: "pnpm"
2426

25-
- name: Run smoke tests
26-
run: pnpm run smokeTests
27+
- name: Run smoke tests
28+
run: pnpm run smokeTests

.gitignore

+10-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ concatenated-output.ts
99
embedding-cache.json
1010
packages/plugin-buttplug/intiface-engine
1111

12+
node-compile-cache
13+
1214
.idea
1315
.DS_Store
1416

@@ -52,6 +54,8 @@ tsup.config.bundled_*.mjs
5254
.turbo
5355
.cursorrules
5456
.pnpm-store
57+
instructions.md
58+
wallet_data.txt
5559

5660
coverage
5761
.eslintcache
@@ -60,4 +64,9 @@ agent/content
6064

6165
eliza.manifest
6266
eliza.manifest.sgx
63-
eliza.sig
67+
eliza.sig
68+
packages/plugin-nvidia-nim/extra
69+
packages/plugin-nvidia-nim/old_code
70+
packages/plugin-nvidia-nim/docs
71+
72+
lit-config.json

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1312,7 +1312,7 @@
13121312
- Add OLLAMA as Model Provider [\#221](https://github.com/elizaOS/eliza/pull/221) ([o-on-x](https://github.com/o-on-x))
13131313
- lazy load llama [\#220](https://github.com/elizaOS/eliza/pull/220) ([lalalune](https://github.com/lalalune))
13141314
- Implement grok beta [\#216](https://github.com/elizaOS/eliza/pull/216) ([MeDott29](https://github.com/MeDott29))
1315-
- Abstracts Eliza into a Package to enble publishing onto NPM along with plugin system [\#214](https://github.com/elizaOS/eliza/pull/214) ([ponderingdemocritus](https://github.com/ponderingdemocritus))
1315+
- Abstracts Eliza into a Package to enable publishing onto NPM along with plugin system [\#214](https://github.com/elizaOS/eliza/pull/214) ([ponderingdemocritus](https://github.com/ponderingdemocritus))
13161316
- add the template overrides [\#207](https://github.com/elizaOS/eliza/pull/207) ([lalalune](https://github.com/lalalune))
13171317
- Shaw fix characters paths, .ts requirement and missings args [\#204](https://github.com/elizaOS/eliza/pull/204) ([lalalune](https://github.com/lalalune))
13181318
- Fix Discord Voice and DMs [\#203](https://github.com/elizaOS/eliza/pull/203) ([lalalune](https://github.com/lalalune))

0 commit comments

Comments
 (0)