Skip to content

Commit

Permalink
dev sync
Browse files Browse the repository at this point in the history
  • Loading branch information
azep-ninja committed Jan 28, 2025
2 parents ef55e5c + 3b4bc85 commit cdd2151
Show file tree
Hide file tree
Showing 1,199 changed files with 147,307 additions and 8,335 deletions.
284 changes: 270 additions & 14 deletions .env.example

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ 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

Expand Down
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.4.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
10 changes: 10 additions & 0 deletions .github/workflows/minimal-merge-queue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Merge Group Checks
on:
merge_group:
types: [checks_requested]
jobs:
minimal-check:
runs-on: ubuntu-latest
steps:
- name: Always pass
run: echo "All good!"
52 changes: 24 additions & 28 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,31 @@
name: smoke-test
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
push:
branches:
- "*"
pull_request:
branches:
- "*"

jobs:
smoke-tests:
runs-on: ubuntu-latest
container:
image: node:23-bullseye
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- uses: actions/checkout@v4
smoke-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

- name: Cache pnpm
uses: actions/cache@v4
with:
path: |
~/.pnpm-store
**/node_modules
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-
- uses: pnpm/action-setup@v3
with:
version: 9.4.0

- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 9.15.0
- uses: actions/setup-node@v4
with:
node-version: "23.3"
cache: "pnpm"

- name: Run smoke tests
run: pnpm run smokeTests
- name: Run smoke tests
run: pnpm run smokeTests
30 changes: 29 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ concatenated-output.ts
embedding-cache.json
packages/plugin-buttplug/intiface-engine

node-compile-cache

.idea
.vscode
.zed
.DS_Store

dist/
Expand Down Expand Up @@ -40,7 +44,11 @@ timeline_cache.json

*.sqlite

characters/
# Character configurations
characters/**/secrets.json
characters/**/*.env
characters/**/*.key
characters/**/private/

packages/core/src/providers/cache
packages/core/src/providers/cache/*
Expand All @@ -63,3 +71,23 @@ agent/content
eliza.manifest
eliza.manifest.sgx
eliza.sig

packages/plugin-nvidia-nim/extra
packages/plugin-nvidia-nim/old_code
packages/plugin-nvidia-nim/docs

# Edriziai specific ignores
characters/edriziai-info/secrets.json

# Bug Hunter logs and checkpoints
scripts/bug_hunt/logs/
scripts/bug_hunt/logs/*.log
scripts/bug_hunt/checkpoints/
scripts/bug_hunt/checkpoints/*.json
scripts/bug_hunt/reports/
scripts/bug_hunt/reports/*.md

lit-config.json

# Configuration to exclude the extra and local_docs directories
extra
16 changes: 0 additions & 16 deletions .vscode/launch.json

This file was deleted.

58 changes: 0 additions & 58 deletions .vscode/settings.json

This file was deleted.

14 changes: 0 additions & 14 deletions .vscode/tasks.json

This file was deleted.

2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ WORKDIR /app
# Copy only necessary files from builder
COPY --from=builder /app/package.json ./
COPY --from=builder /app/pnpm-workspace.yaml ./
COPY --from=builder /app/eslint.config.mjs ./
COPY --from=builder /app/.eslintrc.json ./
COPY --from=builder /app/.npmrc ./
COPY --from=builder /app/turbo.json ./
COPY --from=builder /app/node_modules ./node_modules
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Shaw Walters, aka Moon aka @lalalune
Copyright (c) 2025 Shaw Walters, aka Moon aka @lalalune

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
30 changes: 27 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<div align="center">

πŸ“– [Documentation](https://elizaos.github.io/eliza/) | 🎯 [Examples](https://github.com/thejoven/awesome-eliza)
πŸ“‘ [Technical Report](https://arxiv.org/pdf/2501.06781) | πŸ“– [Documentation](https://elizaos.github.io/eliza/) | 🎯 [Examples](https://github.com/thejoven/awesome-eliza)

</div>

Expand Down Expand Up @@ -100,7 +100,7 @@ pnpm clean

Once the agent is running, you should see the message to run "pnpm start:client" at the end.

Open another terminal, move to same directory, run the command below, then follow the URL to chat with your agent.
Open another terminal, move to the same directory, run the command below, then follow the URL to chat with your agent.

```bash
pnpm start:client
Expand Down Expand Up @@ -152,17 +152,41 @@ pnpm install --include=optional sharp

---

### Deploy Eliza in one click

Use [Fleek](https://fleek.xyz/eliza/) to deploy Eliza in one click. This opens Eliza to non-developers and provides the following options to build your agent:
1. Start with a template
2. Build characterfile from scratch
3. Upload pre-made characterfile

Click [here](https://fleek.xyz/eliza/) to get started!

---

### Community & contact

- [GitHub Issues](https://github.com/elizaos/eliza/issues). Best for: bugs you encounter using Eliza, and feature proposals.
- [Discord](https://discord.gg/ai16z). Best for: sharing your applications and hanging out with the community.

## Citation

We now have a [paper](https://arxiv.org/pdf/2501.06781) you can cite for the Eliza OS:
```bibtex
@article{walters2025eliza,
title={Eliza: A Web3 friendly AI Agent Operating System},
author={Walters, Shaw and Gao, Sam and Nerd, Shakker and Da, Feng and Williams, Warren and Meng, Ting-Chien and Han, Hunter and He, Frank and Zhang, Allen and Wu, Ming and others},
journal={arXiv preprint arXiv:2501.06781},
year={2025}
}
```

## Contributors

<a href="https://github.com/elizaos/eliza/graphs/contributors">
<img src="https://contrib.rocks/image?repo=elizaos/eliza" />
<img src="https://contrib.rocks/image?repo=elizaos/eliza" alt="Eliza project contributors" />
</a>


## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=elizaos/eliza&type=Date)](https://star-history.com/#elizaos/eliza&Date)
Loading

0 comments on commit cdd2151

Please sign in to comment.