Skip to content

Commit

Permalink
chore: move characters out to submodule (#3509)
Browse files Browse the repository at this point in the history
* cli utility v1

* set name to elizaos

* add cli

* set bin/author

* make more executable

* bump lock

* dynamically update version from package.json, update description

* bump

* fix branding

* move out characters

* add characters to be submoduled in

* character submodule, CLI plugin commands, include both Discords

* clean adapters out

* add back sqlite's README

* add more overrides per audit

* audit

* Checkout submodules so characters are available for tests

* get types inline with express 4.x

* remove action, aliases, clean up

* bump lockfile

* upgrade turbo to 2.4.2

* fix integration tests (cast return as Router)

---------

Co-authored-by: Shakker Nerd <[email protected]>
  • Loading branch information
odilitime and shakkernerd authored Feb 16, 2025
1 parent a0cb979 commit 2bc24b1
Show file tree
Hide file tree
Showing 40 changed files with 1,655 additions and 6,792 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/integrationTests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
TURBO_REMOTE_ONLY: true
steps:
- uses: actions/checkout@v4
with:
submodules: true # Ensures submodules are checked out

- uses: pnpm/action-setup@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
TURBO_REMOTE_ONLY: true
steps:
- uses: actions/checkout@v4

with:
submodules: true # Ensures submodules are checked out
- uses: pnpm/action-setup@v3
with:
version: 9.15.0
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "characters"]
path = characters
url = https://github.com/elizaos/characters
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ cp .env.example .env
pnpm i && pnpm build && pnpm start
```

### Manually Start Eliza (Only recommended for platform development)
### Manually Start Eliza (Only recommended for plugin or platform development)

#### Checkout the latest release

Expand All @@ -76,6 +76,12 @@ git checkout $(git describe --tags --abbrev=0)
# git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
```

If you would like the sample character files too, then run this:
```bash
# Download characters submodule from the character repos
git submodule update --init
```

#### Edit the .env file

Copy .env.example to .env and fill in the appropriate values.
Expand Down Expand Up @@ -137,6 +143,12 @@ For detailed instructions on using the start script, including character managem

---

### Add more plugins

1. run `npx elizaos plugins list` to get a list of available plugins or visit https://elizaos.github.io/registry/

2. run `npx elizaos plugins add @elizaos-plugins/plugin-NAME` to install the plugin into your instance

#### Additional Requirements

You may need to install Sharp. If you see an error when starting up, try installing it with the following command:
Expand All @@ -153,7 +165,7 @@ pnpm install --include=optional sharp

---

### Deploy Eliza in one click
### 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
Expand All @@ -167,7 +179,8 @@ 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.
- [elizaOS Discord](https://discord.gg/elizaos). Best for: hanging out with the elizaOS technical community
- [DAO Discord](https://discord.gg/ai16z). Best for: hanging out with the larger non-technical community

## Citation

Expand Down
1 change: 1 addition & 0 deletions characters
Submodule characters added at 461d0d
102 changes: 0 additions & 102 deletions characters/c3po.character.json

This file was deleted.

157 changes: 0 additions & 157 deletions characters/cosmosHelper.character.json

This file was deleted.

Loading

0 comments on commit 2bc24b1

Please sign in to comment.