Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/skinny eliza/feb10 #18

Open
wants to merge 2,249 commits into
base: feature/tine-devops-variables
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2249 commits
Select commit Hold shift + click to select a range
69af5ff
Merge pull request #3255 from AIFlowML/fix-client-alexa
shakkernerd Feb 5, 2025
2eb94ab
fix(deps): update dependency vitest [security] (#3254)
renovate[bot] Feb 5, 2025
2295da6
Merge branch 'develop' into fix-rag-optimizations
azep-ninja Feb 5, 2025
4e84563
Remove old package installs
avaer Jan 15, 2025
c9545d0
Add missing @huggingface/transformers
avaer Jan 15, 2025
9cf62c9
Update lock
avaer Jan 15, 2025
c47cdb3
Clean up core plugin depenencies
avaer Jan 15, 2025
3b63d5b
Bump lock
avaer Jan 15, 2025
b2b2b20
Fix turbo
avaer Jan 15, 2025
542329d
Update lock
avaer Jan 15, 2025
9601047
Add client direct dist
avaer Jan 15, 2025
650cc54
Add bootstrap dist
avaer Jan 15, 2025
d6f26ce
Unlock clients validation
avaer Jan 15, 2025
f5cc56a
Hook in discord plugin
avaer Jan 15, 2025
761188c
Add notes
avaer Jan 15, 2025
a115f75
Update package deps
avaer Jan 16, 2025
776917d
Add missing deps
avaer Jan 16, 2025
bef3bbe
Remove double DirectClient ref
avaer Jan 16, 2025
67ce7e5
Fix client-discord naming
avaer Jan 16, 2025
50ee813
Refresh lock file
avaer Jan 16, 2025
fe10b4a
Update core
avaer Jan 16, 2025
566ee0f
Initial new client integration support
avaer Jan 16, 2025
ddbb781
Install core to default to support dynamic plugins loading
avaer Jan 16, 2025
a741295
Add discord client to character
avaer Jan 16, 2025
016d50a
Update lock
avaer Jan 16, 2025
21e5aa8
Update lock
avaer Jan 16, 2025
bf2a155
Add client-twitter
avaer Jan 17, 2025
de0c56b
Update lock
avaer Jan 17, 2025
a514c05
Core cleanup
avaer Jan 19, 2025
163d884
Update core initialization type
avaer Jan 19, 2025
7493edf
Load plugin.json file names
avaer Jan 19, 2025
7b59f5c
Update error handling
avaer Jan 19, 2025
7f828f0
Update clients/plugins loading
avaer Jan 19, 2025
a0b1a68
Update clients format
avaer Jan 19, 2025
68c110e
Update plugin imports
avaer Jan 19, 2025
9a94700
Update lock
avaer Jan 19, 2025
4c28809
Update lock
avaer Jan 19, 2025
e1c1e63
Update modules
avaer Jan 19, 2025
874dcf4
Update lock
avaer Jan 19, 2025
a7a0925
Remove start:plugins
avaer Jan 19, 2025
7af55b8
Use new agentConfig spec in package.json
avaer Jan 22, 2025
80734ba
Update types
avaer Jan 30, 2025
7f5c911
Update plugin-bootstrap
avaer Jan 30, 2025
fc0ce00
Update client-direct
avaer Jan 30, 2025
4e705a5
Update imports
avaer Jan 30, 2025
268a6ea
Add dynamic imports support
avaer Jan 30, 2025
871e725
Update lock
avaer Jan 30, 2025
33a9fcf
Clean up discord.js dep
avaer Feb 4, 2025
39069c3
handle invalid json format
tcm390 Feb 5, 2025
304768f
trim input
tcm390 Feb 5, 2025
eb15c6e
use raw text to normalized
tcm390 Feb 5, 2025
3e5a8ad
Merge branch 'develop' into tcm-handle-invalid-json
tcm390 Feb 5, 2025
3f66c9a
Merge branch 'develop' into dynamic-plugins2
avaer Feb 5, 2025
981e04b
Add missing names in plugins
avaer Feb 5, 2025
d0319d8
Remove package.json
avaer Feb 5, 2025
d66384c
Remove duplicate in package.json
avaer Feb 5, 2025
e73eb7a
Update conflicting param name
avaer Feb 5, 2025
4b97b2f
Update client-direct build
avaer Feb 5, 2025
9ad9b89
Build plugin-bootstrap
avaer Feb 5, 2025
662aa25
Update types
avaer Feb 5, 2025
b34c519
Remove plugin di
avaer Feb 5, 2025
3c7ed4b
Comment out on chain json
avaer Feb 5, 2025
6780b2a
fix install
tcm390 Feb 5, 2025
3e9cb21
Merge pull request #3261 from elizaOS/tcm-fix-install
tcm390 Feb 5, 2025
d36f226
fix http dynamic require issue
tcm390 Feb 5, 2025
5e73b91
Merge branch 'develop' into tcm/fix-plugin-ton
tcm390 Feb 5, 2025
ba3a9e3
Merge pull request #3262 from elizaOS/tcm/fix-plugin-ton
tcm390 Feb 5, 2025
71a9c74
Fix PG query: Use only 'text' subfield name, field name is not needed…
esen Feb 5, 2025
6b6e208
add github issues link
nilaysarma Feb 5, 2025
0794435
Fix broken links on contributing.md
johntad110 Feb 5, 2025
718d865
Update broken link README.md
rebustron Feb 5, 2025
e3e6412
fix develop build issue
lalalune Feb 5, 2025
5169f4c
Merge branch 'develop' of http://github.com/ai16z/eliza into HEAD
lalalune Feb 5, 2025
7ae0e0d
Add chracters
lalalune Feb 5, 2025
d2ff8a7
remove minified code block
lalalune Feb 5, 2025
66fdd95
Merge pull request #3269 from johntad110/fix-broken-links
lalalune Feb 5, 2025
a457d61
Merge pull request #3268 from nilaysarma/add-link-to-issues
lalalune Feb 5, 2025
fd64139
Merge pull request #3264 from esen/fix_pg_memory_query
lalalune Feb 5, 2025
7ee5834
Merge branch 'develop' into tcm-handle-invalid-json
lalalune Feb 5, 2025
cbe6020
Merge pull request #3258 from elizaOS/tcm-handle-invalid-json
lalalune Feb 5, 2025
b321bbb
typo corr README.md
rebustron Feb 5, 2025
9a292cc
Merge branch 'develop' of http://github.com/ai16z/eliza into HEAD
lalalune Feb 5, 2025
9b78c5e
typo corr 2025-01-17.md
rebustron Feb 5, 2025
594b380
Update chat_2024-11-19.md
XxAlex74xX Feb 5, 2025
f043385
Update chat_2024-11-22.md
XxAlex74xX Feb 5, 2025
50377c5
Update chat_2024-06-20.md
XxAlex74xX Feb 5, 2025
54187a8
Update README.md
XxAlex74xX Feb 5, 2025
68b6e01
fix: handleGoogle(options) lost apiKey
abcfy2 Feb 5, 2025
0b5d5e3
add support for Twitter cookies from environment settings
tcm390 Feb 5, 2025
5fed4b0
add support for Twitter cookies from environment settings
tcm390 Feb 5, 2025
8a35d1b
Merge branch 'develop' into main
shakkernerd Feb 5, 2025
8c22bf6
Merge pull request #3270 from rebustron/main
shakkernerd Feb 5, 2025
e77f5e9
Merge branch 'develop' into main
shakkernerd Feb 5, 2025
b6929e9
Merge pull request #3271 from XxAlex74xX/main
shakkernerd Feb 5, 2025
66c18c5
fix(core): improve OpenAI-like provider endpoint resolution in `gener…
btspoony Feb 5, 2025
8a49fe6
rename variable
tcm390 Feb 5, 2025
b390e34
Merge branch 'develop' into tcm-fix-DenyLoginSubtask
tcm390 Feb 5, 2025
4b40ef5
chore: add description text to env example
shakkernerd Feb 5, 2025
1f4b6d4
Merge pull request #3278 from elizaOS/tcm-fix-DenyLoginSubtask
shakkernerd Feb 5, 2025
f043076
Merge branch 'develop' into fix-rag-optimizations
azep-ninja Feb 5, 2025
f37658b
optimize template/add suppress init msg
azep-ninja Feb 5, 2025
89127fb
add actions suppress action ability.
azep-ninja Feb 5, 2025
a9f36fa
add actions suppress action ability.
azep-ninja Feb 5, 2025
97c8f09
add actions suppress action ability.
azep-ninja Feb 5, 2025
f5669f7
Merge pull request #3286 from azep-ninja/fix-twitter-suppress-message…
shakkernerd Feb 5, 2025
bb9d24b
Merge branch 'develop' into fix-rag-optimizations
shakkernerd Feb 5, 2025
b148eb4
Merge pull request #3248 from azep-ninja/fix-rag-optimizations
shakkernerd Feb 5, 2025
e06acb0
Merge branch 'develop' into fix-optimize-quick-intel-plugin
shakkernerd Feb 5, 2025
ae5cfa8
Merge pull request #3283 from azep-ninja/fix-optimize-quick-intel-plugin
shakkernerd Feb 5, 2025
92f6b66
Merge branch 'develop' into fix-discord-suppress-message-add
shakkernerd Feb 5, 2025
ebc5c39
Merge pull request #3284 from azep-ninja/fix-discord-suppress-message…
shakkernerd Feb 5, 2025
5883b0c
Merge branch 'develop' into fix-telegram-suppress-message-add
shakkernerd Feb 5, 2025
39e1fe3
Merge pull request #3285 from azep-ninja/fix-telegram-suppress-messag…
shakkernerd Feb 5, 2025
b0208c2
Merge branch 'develop' into develop
shakkernerd Feb 5, 2025
08aaeaf
Merge pull request #3238 from elpulpo0/develop
shakkernerd Feb 5, 2025
19929e2
Merge branch 'develop' of https://github.com/elizaos/eliza into odi-fix
odilitime Feb 5, 2025
3ad44de
bump lock
odilitime Feb 5, 2025
8db37d1
Merge branch 'odi-fix' of https://github.com/elizaos/eliza into odi-fix
odilitime Feb 5, 2025
354f66d
add zod globally
odilitime Feb 5, 2025
62e227d
Move adapter-redis -> cache-redis
avaer Feb 6, 2025
0aa7919
remove zod
odilitime Feb 6, 2025
a85aba4
bump lockfile
odilitime Feb 6, 2025
8a3082b
clean json before normalized
tcm390 Feb 6, 2025
074648a
Merge pull request #3220 from elizaOS/odi-fix
odilitime Feb 6, 2025
47c2b7c
bump version to 0.25.6-alpha.1
odilitime Feb 6, 2025
87d41fc
bump lock
odilitime Feb 6, 2025
f99fb7d
Refactor constructor parameter name in WhatsAppPlugin class
avaer Feb 6, 2025
eb51bd2
Internalize adapter-mongodb initialization
avaer Feb 6, 2025
f38b532
Internalize adapter-pglite initialization
avaer Feb 6, 2025
b5f783b
Internalize adapter-postgres initialization
avaer Feb 6, 2025
690a8a9
Internalize adapter-qdrant initialization
avaer Feb 6, 2025
9c20e80
Internalize adapter-sqlite initialization
avaer Feb 6, 2025
ef9646e
Internalize adapter-supabase initialization
avaer Feb 6, 2025
a1508c2
Update adapter plugin names
avaer Feb 6, 2025
69a7c22
Port alexa plugin
avaer Feb 6, 2025
1bb4dd7
Merge branch 'develop' into tcm-clean-json
tcm390 Feb 6, 2025
d654a99
Update client-auto interface
avaer Feb 6, 2025
5867933
Update client-deva interface
avaer Feb 6, 2025
28c1724
Update client-direct interdace
avaer Feb 6, 2025
68a6a39
Update client-discord interface
avaer Feb 6, 2025
41e7528
Update client-eliza-home interface
avaer Feb 6, 2025
d5228c5
Update client-farcaster interface
avaer Feb 6, 2025
3e89c15
Update client-discord interface
avaer Feb 6, 2025
74141e4
Update cache-redis name
avaer Feb 6, 2025
23f5e64
Update client-instagram interface
avaer Feb 6, 2025
4eb6ea5
Update client-lens interface
avaer Feb 6, 2025
9e43ae6
Update client-simsai interface
avaer Feb 6, 2025
6df82d9
Update client-slack interface
avaer Feb 6, 2025
71aa61e
Update client-telegram-account interface
avaer Feb 6, 2025
d126891
Update client-telegram interface
avaer Feb 6, 2025
ca2c41a
Update client-twitter interface
avaer Feb 6, 2025
453c65c
Merge branch 'develop' into tbh/fix-openai-like-provider-endpoint
tcm390 Feb 6, 2025
40930f0
Major refactor to xmtp plugin
avaer Feb 6, 2025
06dd58b
Do not check in client-direct dist
avaer Feb 6, 2025
15dfb2f
Merge branch 'develop' of https://github.com/elizaos/eliza into odi-fix
odilitime Feb 6, 2025
75cc6bf
Merge pull request #3281 from btspoony/tbh/fix-openai-like-provider-e…
tcm390 Feb 6, 2025
4a73f35
Update client plugins names
avaer Feb 6, 2025
df2385c
Remove dead dep from client-discord
avaer Feb 6, 2025
f6b670f
Merge branch 'develop' into tcm-clean-json
tcm390 Feb 6, 2025
4a7c3c0
Remove clients from defaultCharacter.ts
avaer Feb 6, 2025
7d1aa96
Remove clients from CharacterSchema
avaer Feb 6, 2025
d1f7be8
Defer loading database/cache
avaer Feb 6, 2025
e513fbf
Add plugin adapters tracking
avaer Feb 6, 2025
6673587
Update clients tracking in types
avaer Feb 6, 2025
c01a03f
Remove dupe dep
avaer Feb 6, 2025
e8737fe
Remove twitter client dep from bittensor
avaer Feb 6, 2025
112945d
Update plugin-echochambers
avaer Feb 6, 2025
8c09dc8
Merge branch 'develop' into odi-fix
odilitime Feb 6, 2025
66c9a07
Remove dead dep
avaer Feb 6, 2025
ef84a8b
Update agent deps
avaer Feb 6, 2025
1080837
Dynamic adapter loading in agent
avaer Feb 6, 2025
9419a2e
Install adapter-sqlite by default
avaer Feb 6, 2025
14d4d10
Rename client-direct
avaer Feb 6, 2025
f7705d2
Update plugin-rabbi-trader deps
avaer Feb 6, 2025
4eda739
Update lock
avaer Feb 6, 2025
ebe5a05
Merge pull request #3306 from elizaOS/odi-fix
odilitime Feb 6, 2025
29ea253
Merge branch 'develop' into tcm-clean-json
tcm390 Feb 6, 2025
cbc782c
Merge pull request #3307 from elizaOS/develop
odilitime Feb 6, 2025
f835377
Merge pull request #3301 from elizaOS/tcm-clean-json
odilitime Feb 6, 2025
a2efabd
Fix plugin-solana-v2 package.json (#3308)
oxy-Op Feb 6, 2025
3ad37f6
set initial value to null
tcm390 Feb 6, 2025
9ab48ff
return string
tcm390 Feb 6, 2025
6a5e9a3
return null of empty object
tcm390 Feb 6, 2025
e510861
Merge pull request #3311 from elizaOS/tcm-parsing-unit-test
tcm390 Feb 6, 2025
ed0311c
use latest getModelSettings function
tcm390 Feb 6, 2025
899f51e
fix model test
tcm390 Feb 6, 2025
c87a9f7
update LIVEPEER endpoint
tcm390 Feb 6, 2025
31bc219
Merge branch 'develop' into tcm/fix-models-unit-test
tcm390 Feb 6, 2025
b224b8e
Merge pull request #3312 from elizaOS/tcm/fix-models-unit-test
tcm390 Feb 6, 2025
abe068f
read modelConfig from character file
Feb 4, 2025
f640c04
allow plugins to interact w messangerManager to post on tg
kesar Feb 6, 2025
01a24e2
Merge branch 'develop' into patch-4
kesar Feb 6, 2025
04547be
Update eliza-in-tee.md
Bilogweb3 Feb 6, 2025
057574e
Update evaluators.md
Bilogweb3 Feb 6, 2025
a25b4d8
Update agent.md
Bilogweb3 Feb 6, 2025
b2889dc
Merge pull request #3313 from TbLtzk/fix/model-config
tcm390 Feb 6, 2025
76466ce
Merge branch 'develop' into main
tcm390 Feb 6, 2025
e16cf8e
Merge pull request #3317 from Bilogweb3/main
tcm390 Feb 6, 2025
1d756f4
Merge branch 'develop' into main
tcm390 Feb 6, 2025
61887b3
Merge pull request #3274 from abcfy2/main
tcm390 Feb 6, 2025
285c29d
Merge branch 'develop' into patch-4
kesar Feb 6, 2025
d449ca2
Merge pull request #3314 from kesar/patch-4
shakkernerd Feb 6, 2025
bfb3583
Update plugins.md
aso20455 Feb 6, 2025
c108525
chore: add missing version to package.json
shakkernerd Feb 6, 2025
a84c7e2
Merge pull request #3325 from elizaOS/fix/packages_json
shakkernerd Feb 6, 2025
866abc2
chore: remove remnant files/folders
shakkernerd Feb 6, 2025
05cd314
Merge pull request #3326 from elizaOS/fix/packages
shakkernerd Feb 6, 2025
20697fb
Update post.ts
vidvidvid Feb 6, 2025
7ba4dfa
Merge branch 'develop' into patch-1
shakkernerd Feb 6, 2025
967553b
Merge pull request #3324 from aso20455/patch-1
shakkernerd Feb 6, 2025
9d47576
chore: pnpm lock file
shakkernerd Feb 6, 2025
865cfee
feat: set package publish access to public
shakkernerd Feb 6, 2025
87515e2
Merge pull request #3330 from elizaOS/feat/packages
shakkernerd Feb 6, 2025
b2e7ed9
Merge branch 'develop' into vidvidvid-fix/twitter-post-error
shakkernerd Feb 6, 2025
2dbf2cc
Merge pull request #3327 from vidvidvid/vidvidvid-fix/twitter-post-error
shakkernerd Feb 6, 2025
6fce48f
pretty
lalalune Feb 6, 2025
74088fe
pretty
lalalune Feb 6, 2025
81a3528
Merge pull request #3332 from elizaOS/develop
odilitime Feb 6, 2025
c00852f
Merge branch 'develop' of http://github.com/ai16z/eliza into HEAD
lalalune Feb 6, 2025
4a37bb0
Remove redis cache from repo and update
lalalune Feb 6, 2025
670e1ad
remove unncessary depen
lalalune Feb 6, 2025
72ebc05
move default character to agent
lalalune Feb 6, 2025
7150496
Merge pull request #3339 from elizaOS/dynamic-plugins2-merged
lalalune Feb 6, 2025
733fd92
Merge pull request #3343 from elizaOS/shaw/move-default-character
lalalune Feb 6, 2025
90b4ca2
remove verifiable inference concept, will be plugin loaded
lalalune Feb 6, 2025
63b438e
fix missing verifiableInference
lalalune Feb 6, 2025
e071a12
fix defualt character
lalalune Feb 6, 2025
3c616c6
Merge pull request #3344 from elizaOS/shaw/remove-verifiable-inference
lalalune Feb 6, 2025
a6a729b
Merge pull request #3345 from elizaOS/fix-default-character
lalalune Feb 6, 2025
523d012
Remove commented plugin imports from agent source
avaer Feb 6, 2025
74fe5dd
Remove more dead imports
avaer Feb 6, 2025
b70c35b
fix some testing stuff
lalalune Feb 6, 2025
1cdbc5b
Merge branch 'develop' into rm-plugins-from-agent
lalalune Feb 6, 2025
fd3693c
Merge pull request #3346 from elizaOS/rm-plugins-from-agent
lalalune Feb 6, 2025
dccb903
Merge branch 'main' of http://github.com/ai16z/eliza into HEAD
lalalune Feb 7, 2025
6e2f5f8
fix ws
lalalune Feb 7, 2025
51050d1
Merge branch 'develop' of http://github.com/ai16z/eliza into HEAD
lalalune Feb 7, 2025
6f40883
update runtime to handle ensureUserExists in edge cases
lalalune Feb 7, 2025
b6e3a0b
Readd missing @elizaos-plugins/adapter-sqlite
avaer Feb 7, 2025
d431ee3
Merge pull request #3357 from elizaOS/sqlite-plugin-missing
lalalune Feb 7, 2025
0ebbafe
rebase and discarded more changes
Feb 10, 2025
fe58394
revert
Feb 10, 2025
6327d9c
adding buildspec
Feb 10, 2025
77e052c
buildspec
Feb 11, 2025
ae4494c
fix sudo
Feb 11, 2025
c62d10e
install docker from instructions
Feb 11, 2025
8cf43af
simplify your life
Feb 11, 2025
894d2d9
updated lock
Feb 12, 2025
563539f
fix typo
Feb 12, 2025
2b31fbe
this same bug occurs on aws so we reproduced it
Feb 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 19 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Ignore node_modules from the build context
node_modules

# Ignore logs and temporary files
*.log
*.tmp
.DS_Store

# Ignore Git files and metadata
.gitignore

# Ignore IDE and editor config files
.vscode
.idea
*.swp

# Ignore build artifacts from the host
dist
build
792 changes: 615 additions & 177 deletions .env.example

Large diffs are not rendered by default.

36 changes: 0 additions & 36 deletions .eslintrc.json

This file was deleted.

31 changes: 19 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,33 @@ on:
jobs:
check:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
TURBO_REMOTE_ONLY: true
steps:
- uses: actions/checkout@v4
- uses: meta-introspector/checkout@v4

- uses: pnpm/action-setup@v3
- uses: meta-introspector/action-setup@v3
with:
version: 9.4.0
version: 9.15.0

- uses: actions/setup-node@v4
- uses: meta-introspector/setup-node@v4
with:
node-version: "23"
cache: "pnpm"

- name: Install dependencies
run: pnpm install -r --no-frozen-lockfile

- name: Run Prettier
run: pnpm run prettier --check .
- name: Setup Biome CLI
uses: biomejs/setup-biome@v2
with:
version: latest

- name: Run Linter
run: pnpm run lint
- name: Run Biome
run: biome ci

- name: Create test env file
run: |
Expand All @@ -39,7 +46,7 @@ jobs:
- name: Build packages
run: pnpm run build

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
# - name: Upload coverage reports to Codecov
# uses: meta-introspector/codecov-action@v5
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
build-mode: none
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: meta-introspector/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: meta-introspector/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand All @@ -50,6 +50,6 @@ jobs:
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: meta-introspector/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
11 changes: 10 additions & 1 deletion .github/workflows/generate-readme-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ jobs:
{ code: "TH", name: "Thai" },
{ code: "TR", name: "Turkish" },
{ code: "VI", name: "Vietnamese" },
{ code: "AR", name: "Arabic" },
{ code: "RS", name: "Srpski" },
{ code: "TG", name: "Tagalog" },
{ code: "PL", name: "Polski" },
{ code: "HU", name: "Hungarian" },
{ code: "FA", name: "Persian" },
{ code: "RO", name: "Romanian" },
{ code: "GR", name: "Greek" },
{ code: "NL", name: "Dutch" },
]
permissions:
contents: write
Expand Down Expand Up @@ -53,7 +62,7 @@ jobs:
"content_path": "README.md"
}
],
"save_path": "README_${{ matrix.language.code }}.md",
save_path: "i18n/readme/README_${{ matrix.language.code }}.md",
"model": "gpt-4o"
}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
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!"
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!"
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!"
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!"
126 changes: 76 additions & 50 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
@@ -1,70 +1,96 @@
#

name: Create and publish a Docker image

# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
release:
types: [created]
workflow_dispatch:
# push:
# pull_request:

# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
jobs:

build-and-push-image:
runs-on: ubuntu-latest
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
contents: read
packages: write
attestations: write
id-token: write
#

steps:
- name: Checkout repository
uses: actions/checkout@v4
# Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels.
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
- name: Build and push Docker image
id: push
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Configure AWS credentials
uses: meta-introspector/configure-aws-credentials@v4
with:
aws-region: ${{ secrets.AWS_REGION || 'us-east-2'}}
role-session-name: github-actions-${{ env.APP_NAME || 'eliza'}}
# FIXME hard coded
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID || '767503528736' }}:role/github

- name: Set up Docker Buildx
uses: meta-introspector/[email protected]
with:
install: true
platforms: linux/amd64,linux/arm/v7,linux/arm/v8

- name: Login to Amazon ECR
id: login-ecr
uses: meta-introspector/amazon-ecr-login@v1

- name: Set short sha
id: sha_short
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Login to Docker Hub
uses: meta-introspector/login-action@v3
with:
username: ${{ vars.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Checkout repository
uses: meta-introspector/checkout@v4

- name: Log in to the Container registry
uses: meta-introspector/[email protected]
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: meta-introspector/[email protected]
with:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
h4ckermike/elizaos-eliza
${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY || 'agent/eliza'}}

- name: Build and push Docker image
id: push
uses: meta-introspector/[email protected]
with:
platforms: linux/arm64,linux/arm64/v8
context: .
push: true
tags: |
${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see "[AUTOTITLE](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds)."
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
- name: Generate artifact attestation
uses: meta-introspector/attest-build-provenance@local
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

# This step makes the Docker image public, so users can pull it without authentication.
- name: Make Docker image public
run: |
curl \
-X PATCH \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/user/packages/container/${{ env.IMAGE_NAME }}/visibility \
-d '{"visibility":"public"}'
- name: Make Docker image public
run: |
curl \
-X PATCH \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/user/packages/container/${{ env.IMAGE_NAME }}/visibility \
-d '{"visibility":"public"}'
65 changes: 34 additions & 31 deletions .github/workflows/integrationTests.yaml
Original file line number Diff line number Diff line change
@@ -1,41 +1,44 @@
name: Integration Tests
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
push:
branches:
- "*"
pull_request_target:
branches:
- "*"

jobs:
integration-tests:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- uses: actions/checkout@v4
integration-tests:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
TURBO_REMOTE_ONLY: true
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
with:
version: 9.15.0
- uses: pnpm/action-setup@v3
with:
version: 9.15.0

- uses: actions/setup-node@v4
with:
node-version: "23.3.0"
cache: "pnpm"
- uses: actions/setup-node@v4
with:
node-version: "23.3"
cache: "pnpm"

- name: Clean up
run: pnpm clean
- name: Install dependencies
run: pnpm install --no-frozen-lockfile

- name: Install dependencies
run: pnpm install -r --no-frozen-lockfile
- name: Build packages
run: pnpm build

- name: Build packages
run: pnpm build
- name: Check for API key
run: |
if [ -z "$OPENAI_API_KEY" ]; then
echo "Error: OPENAI_API_KEY is not set."
exit 1
fi

- name: Run integration tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
COINBASE_COMMERCE_KEY: ${{ secrets.COINBASE_COMMERCE_KEY }}
run: |
pnpm run integrationTests
- name: Run integration tests
run: pnpm run integrationTests
Loading