Skip to content

Commit 1253a13

Browse files
committed
Merge branch 'main' into fixes-db
2 parents 746c9ec + afb7cc1 commit 1253a13

File tree

148 files changed

+10673
-10016
lines changed

Some content is hidden

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

148 files changed

+10673
-10016
lines changed

.env.example

+2-1
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,5 @@ STARKNET_ADDRESS=
9191
STARKNET_PRIVATE_KEY=
9292
STARKNET_RPC_URL=
9393

94-
94+
# Coinbase Commerce
95+
COINBASE_COMMERCE_KEY=

.github/workflows/ci.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
- name: Run Prettier
2626
run: pnpm run prettier --check .
2727

28+
- name: Run Linter
29+
run: pnpm run lint
30+
2831
- name: Create test env file
2932
run: |
3033
echo "TEST_DATABASE_CLIENT=sqlite" > packages/core/.env.test

.github/workflows/pre-release.yml

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: Pre-Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
release_type:
7+
description: "Type of release (prerelease, prepatch, patch, minor, preminor, major)"
8+
required: true
9+
default: "prerelease"
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: 22
22+
23+
- uses: pnpm/action-setup@v3
24+
with:
25+
version: 8
26+
27+
- name: Configure Git
28+
run: |
29+
git config user.name "${{ github.actor }}"
30+
git config user.email "${{ github.actor }}@users.noreply.github.com"
31+
32+
- name: "Setup npm for npmjs"
33+
run: |
34+
npm config set registry https://registry.npmjs.org/
35+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
36+
37+
- name: Install Protobuf Compiler
38+
run: sudo apt-get install -y protobuf-compiler
39+
40+
- name: Install dependencies
41+
run: pnpm install
42+
43+
- name: Build packages
44+
run: pnpm run build
45+
46+
- name: Tag and Publish Packages
47+
id: tag_publish
48+
run: |
49+
RELEASE_TYPE=${{ github.event_name == 'push' && 'prerelease' || github.event.inputs.release_type }}
50+
npx lerna version $RELEASE_TYPE --conventional-commits --yes --no-private --force-publish
51+
npx lerna publish from-git --yes --dist-tag next
52+
53+
- name: Get Version Tag
54+
id: get_tag
55+
run: echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
56+
57+
- name: Generate Release Body
58+
id: release_body
59+
run: |
60+
if [ -f CHANGELOG.md ]; then
61+
echo "body=$(cat CHANGELOG.md)" >> $GITHUB_OUTPUT
62+
else
63+
echo "body=No changelog provided for this release." >> $GITHUB_OUTPUT
64+
fi
65+
66+
- name: Create GitHub Release
67+
uses: actions/create-release@v1
68+
env:
69+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
70+
PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
71+
with:
72+
tag_name: ${{ steps.get_tag.outputs.TAG }}
73+
release_name: Release
74+
body_path: CHANGELOG.md
75+
draft: false
76+
prerelease: ${{ github.event_name == 'push' }}

.github/workflows/release.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
with:
1717
fetch-depth: 0
1818

19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: 22
22+
1923
- uses: pnpm/action-setup@v3
2024
with:
2125
version: 8

.husky/commit-msg

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env sh
2+
3+
# Inform the user about commit message format requirements
4+
echo "┌──────────────────────────────────────────────────────────────┐"
5+
echo "│ ℹ️ Commit message must follow the format: 'type: description' │"
6+
echo "│ Valid types: feat, fix, docs, style, refactor, test, chore │"
7+
echo "│ Example: 'feat: add new login feature' │"
8+
echo "└──────────────────────────────────────────────────────────────┘"
9+
echo ""
10+
11+
# Run commitlint to validate the commit message
12+
npx --no -- commitlint --edit ${1}

.husky/pre-commit

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pnpm run prettier-check
2+
pnpm run lint

CHANGELOG.md

+75
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,80 @@
11
# Changelog
22

3+
## [v0.1.4-alpha.3](https://github.com/ai16z/eliza/tree/v0.1.4-alpha.3) (2024-11-22)
4+
5+
[Full Changelog](https://github.com/ai16z/eliza/compare/v0.1.4-alpha.2...v0.1.4-alpha.3)
6+
7+
**Merged pull requests:**
8+
9+
- fix: speech service fix [\#512](https://github.com/ai16z/eliza/pull/512) ([ponderingdemocritus](https://github.com/ponderingdemocritus))
10+
11+
## [v0.1.4-alpha.2](https://github.com/ai16z/eliza/tree/v0.1.4-alpha.2) (2024-11-22)
12+
13+
[Full Changelog](https://github.com/ai16z/eliza/compare/v0.1.4-alpha.1...v0.1.4-alpha.2)
14+
15+
**Merged pull requests:**
16+
17+
- fix: services fix [\#509](https://github.com/ai16z/eliza/pull/509) ([ponderingdemocritus](https://github.com/ponderingdemocritus))
18+
19+
## [v0.1.4-alpha.1](https://github.com/ai16z/eliza/tree/v0.1.4-alpha.1) (2024-11-22)
20+
21+
[Full Changelog](https://github.com/ai16z/eliza/compare/v0.1.4-alpha.0...v0.1.4-alpha.1)
22+
23+
**Merged pull requests:**
24+
25+
- fix: issue with npm [\#505](https://github.com/ai16z/eliza/pull/505) ([ponderingdemocritus](https://github.com/ponderingdemocritus))
26+
27+
## [v0.1.4-alpha.0](https://github.com/ai16z/eliza/tree/v0.1.4-alpha.0) (2024-11-22)
28+
29+
[Full Changelog](https://github.com/ai16z/eliza/compare/v0.1.3...v0.1.4-alpha.0)
30+
31+
**Implemented enhancements:**
32+
33+
- Run using Bun.sh [\#492](https://github.com/ai16z/eliza/issues/492)
34+
- Move Trust DB into package [\#342](https://github.com/ai16z/eliza/issues/342)
35+
- Core Unit Tests [\#340](https://github.com/ai16z/eliza/issues/340)
36+
37+
**Fixed bugs:**
38+
39+
- Twitter Dry Run not working [\#451](https://github.com/ai16z/eliza/issues/451)
40+
- getCachedEmbeddings broken for sqlite adapter [\#251](https://github.com/ai16z/eliza/issues/251)
41+
42+
**Merged pull requests:**
43+
44+
- fix: remove sol dep [\#504](https://github.com/ai16z/eliza/pull/504) ([ponderingdemocritus](https://github.com/ponderingdemocritus))
45+
- fix: deps [\#503](https://github.com/ai16z/eliza/pull/503) ([ponderingdemocritus](https://github.com/ponderingdemocritus))
46+
- chore: add contributor license [\#502](https://github.com/ai16z/eliza/pull/502) ([futjrnaut](https://github.com/futjrnaut))
47+
- node-v [\#501](https://github.com/ai16z/eliza/pull/501) ([ponderingdemocritus](https://github.com/ponderingdemocritus))
48+
- fix: improve embeddings [\#496](https://github.com/ai16z/eliza/pull/496) ([ponderingdemocritus](https://github.com/ponderingdemocritus))
49+
- feat: improve type saftey [\#494](https://github.com/ai16z/eliza/pull/494) ([ponderingdemocritus](https://github.com/ponderingdemocritus))
50+
- fix: added missing packages to tsup configs' externals [\#488](https://github.com/ai16z/eliza/pull/488) ([massivefermion](https://github.com/massivefermion))
51+
- fix: fix character path loading [\#487](https://github.com/ai16z/eliza/pull/487) ([bmgalego](https://github.com/bmgalego))
52+
- fix: agent loadCharacters file resolver [\#486](https://github.com/ai16z/eliza/pull/486) ([bmgalego](https://github.com/bmgalego))
53+
- fix: agent type error and sqlite file env [\#484](https://github.com/ai16z/eliza/pull/484) ([bmgalego](https://github.com/bmgalego))
54+
- feat: Improvements [\#482](https://github.com/ai16z/eliza/pull/482) ([bmgalego](https://github.com/bmgalego))
55+
- refactor: add template types [\#479](https://github.com/ai16z/eliza/pull/479) ([vivoidos](https://github.com/vivoidos))
56+
- feat: Twitter Refactor [\#478](https://github.com/ai16z/eliza/pull/478) ([bmgalego](https://github.com/bmgalego))
57+
- feat: Added TWITTER\_COOKIE example on quickstart.md [\#476](https://github.com/ai16z/eliza/pull/476) ([haeunchin](https://github.com/haeunchin))
58+
- fix: ci [\#475](https://github.com/ai16z/eliza/pull/475) ([ponderingdemocritus](https://github.com/ponderingdemocritus))
59+
- ollama generate case was using console.debug. [\#474](https://github.com/ai16z/eliza/pull/474) ([drew-royster](https://github.com/drew-royster))
60+
- feat: Improve knowledge embeddings [\#472](https://github.com/ai16z/eliza/pull/472) ([tarrencev](https://github.com/tarrencev))
61+
- docs: Update Contributors to bring inline with PR468 [\#470](https://github.com/ai16z/eliza/pull/470) ([odilitime](https://github.com/odilitime))
62+
- docs: Add Discord username question [\#468](https://github.com/ai16z/eliza/pull/468) ([odilitime](https://github.com/odilitime))
63+
- feat: adds check [\#466](https://github.com/ai16z/eliza/pull/466) ([ponderingdemocritus](https://github.com/ponderingdemocritus))
64+
- fix: Fixing failling tests token.test.ts and videoGeneration.test.ts [\#465](https://github.com/ai16z/eliza/pull/465) ([ai16z-demirix](https://github.com/ai16z-demirix))
65+
- docs: Create best-practices.md documentation [\#463](https://github.com/ai16z/eliza/pull/463) ([snobbee](https://github.com/snobbee))
66+
- feat: create-eliza-app [\#462](https://github.com/ai16z/eliza/pull/462) ([coffeeorgreentea](https://github.com/coffeeorgreentea))
67+
- fix: Add missing fuzzystrmatch extension for levenshtein\(\) method to postgresql schema.sql definition [\#460](https://github.com/ai16z/eliza/pull/460) ([martincik](https://github.com/martincik))
68+
- Add npm install instructions to homepage header [\#459](https://github.com/ai16z/eliza/pull/459) ([null-hax](https://github.com/null-hax))
69+
- feat: init github client [\#456](https://github.com/ai16z/eliza/pull/456) ([tarrencev](https://github.com/tarrencev))
70+
- fix: X dry run [\#452](https://github.com/ai16z/eliza/pull/452) ([laser-riot](https://github.com/laser-riot))
71+
- feat: readme and linting [\#449](https://github.com/ai16z/eliza/pull/449) ([ponderingdemocritus](https://github.com/ponderingdemocritus))
72+
- fix: ignored modelEndpointOverride in generation [\#446](https://github.com/ai16z/eliza/pull/446) ([darwintree](https://github.com/darwintree))
73+
- docs: Fix my name in stream notes [\#442](https://github.com/ai16z/eliza/pull/442) ([odilitime](https://github.com/odilitime))
74+
- fix: postgres embedding issues [\#425](https://github.com/ai16z/eliza/pull/425) ([tarrencev](https://github.com/tarrencev))
75+
- feat: Cache Manager [\#378](https://github.com/ai16z/eliza/pull/378) ([bmgalego](https://github.com/bmgalego))
76+
- feat: adding back the renovate file for automated security scanning [\#358](https://github.com/ai16z/eliza/pull/358) ([sirkitree](https://github.com/sirkitree))
77+
378
## [v0.1.3](https://github.com/ai16z/eliza/tree/v0.1.3) (2024-11-20)
479

580
[Full Changelog](https://github.com/ai16z/eliza/compare/v0.1.3-alpha.2...v0.1.3)

CONTRIBUTING.md

+78-24
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,48 @@
11
# Contributing to Eliza
22

3-
First off, thank you for considering contributing to Eliza! It's people like you that make Eliza such a great tool. We welcome contributions from everyone, regardless of their experience level.
3+
First off, thank you for considering contributing to Eliza! We welcome contributions from everyone, regardless of experience level.
44

5-
## Code of Conduct
5+
## Contribution License Agreement
66

7-
By participating in this project, you are expected to uphold our Code of Conduct. Please report unacceptable behavior.
7+
By contributing to Eliza, you agree that your contributions will be licensed under the MIT License. This means:
88

9-
## How Can I Contribute?
9+
1. You grant us (and everyone else) a perpetual, worldwide, non-exclusive, royalty-free license to use your contributions.
10+
2. Your contributions are and will be available as Free and Open Source Software (FOSS).
11+
3. You have the right to submit the work under this license.
12+
4. You understand that your contributions are public and that a record of the contribution is maintained indefinitely.
1013

11-
### Reporting Bugs
14+
## The OODA Loop: A Framework for Contribution
1215

13-
1. Ensure the bug was not already reported by searching on GitHub under [Issues](https://github.com/ai16z/eliza/issues).
14-
2. If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/ai16z/eliza/issues/new). Be sure to include
16+
We believe in the power of the OODA Loop - a decision-making framework that emphasizes speed and adaptability. OODA stands for:
1517

16-
- a title and clear description,
17-
- as much relevant information as possible, and
18-
- a code sample or an executable test case demonstrating the expected behavior that is not occurring.
18+
- **Observe**: Gather information and insights about the project, the community, and the broader AI ecosystem.
19+
- **Orient**: Analyze your observations to identify opportunities for contribution and improvement.
20+
- **Decide**: Choose a course of action based on your analysis. This could be proposing a new feature, fixing a bug, or creating content.
21+
- **Act**: Execute your decision and share your work with the community.
1922

20-
### Suggesting Enhancements
23+
## How to Contribute
2124

22-
1. Open a new issue with a clear title and detailed description of the suggested enhancement.
23-
2. Include any relevant examples or mock-ups if applicable.
25+
### For Developers
2426

25-
### Pull Requests
27+
1. **Extend Eliza's Capabilities**
2628

27-
1. Fork the repo and create your branch from `main`.
29+
- Develop new actions, evaluators, and providers
30+
- Improve existing components and modules
31+
32+
2. **Enhance Infrastructure**
33+
34+
- Review open issues and submit PRs
35+
- Test and update documentation
36+
- Optimize performance
37+
- Improve deployment solutions
38+
39+
3. Fork the repo and create your branch from `main`.
2840
1. The name of the branch should start with the issue number and be descriptive of the changes you are making.
2941
1. eg. 40--add-test-for-bug-123
30-
2. If you've added code that should be tested, add tests.
31-
3. Ensure the test suite passes.
32-
4. Make sure your code lints.
33-
5. Issue that pull request!
42+
4. If you've added code that should be tested, add tests.
43+
5. Ensure the test suite passes.
44+
6. Make sure your code lints.
45+
7. Issue that pull request!
3446

3547
## Styleguides
3648

@@ -64,12 +76,54 @@ This section lists the labels we use to help us track and manage issues and pull
6476
- `documentation` - Issues or pull requests related to documentation.
6577
- `good first issue` - Good for newcomers.
6678

67-
## Recognition
79+
## Getting Help
80+
81+
- Join [Discord](https://discord.gg/ai16z)
82+
- Check [FAQ](docs/community/faq.md)
83+
- Create GitHub issues
84+
85+
## Additional Resources
86+
87+
- [Local Development Guide](docs/guides/local-development.md)
88+
- [Configuration Guide](docs/guides/configuration.md)
89+
- [API Documentation](docs/api)
90+
91+
## Contributor Guide
92+
93+
Welcome to the Eliza contributor guide! This document is designed to help you understand how you can be part of building the future of autonomous AI agents, regardless of your technical background.
94+
95+
### Code of Conduct
96+
97+
#### Our Pledge
98+
99+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
100+
101+
#### Our Standards
102+
103+
Examples of behavior that contributes to creating a positive environment include:
104+
105+
- Using welcoming and inclusive language
106+
- Being respectful of differing viewpoints and experiences
107+
- Gracefully accepting constructive criticism
108+
- Focusing on what is best for the community
109+
- Showing empathy towards other community members
110+
111+
Examples of unacceptable behavior include:
112+
113+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
114+
- Trolling, insulting/derogatory comments, and personal or political attacks
115+
- Public or private harassment
116+
- Publishing others' private information without explicit permission
117+
- Other conduct which could reasonably be considered inappropriate in a professional setting
118+
119+
#### Our Responsibilities
120+
121+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
68122

69-
We value every contribution. Contributors will be recognized in our README.md file. Significant contributions may be acknowledged with special roles or responsibilities within the project.
123+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
70124

71-
## Questions?
125+
#### Scope
72126

73-
If you have any questions, please feel free to contact the project maintainers with an issue or in discord.
127+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
74128

75-
Thank you for your interest in contributing to Eliza!
129+
Thank you for contributing to Eliza and helping build the future of autonomous AI agents! 🎉

0 commit comments

Comments
 (0)