Skip to content

Commit 3bf4b5d

Browse files
authored
Merge branch 'ai16z:main' into main
2 parents bafbb03 + 10aa5d6 commit 3bf4b5d

File tree

46 files changed

+1569
-9051
lines changed

Some content is hidden

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

46 files changed

+1569
-9051
lines changed

.github/workflows/pre-release.yml

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

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

+72-19
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,38 @@
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**
28+
- Develop new actions, evaluators, and providers
29+
- Improve existing components and modules
30+
31+
2. **Enhance Infrastructure**
32+
- Review open issues and submit PRs
33+
- Test and update documentation
34+
- Optimize performance
35+
- Improve deployment solutions
2636

2737
1. Fork the repo and create your branch from `main`.
2838
1. The name of the branch should start with the issue number and be descriptive of the changes you are making.
@@ -64,12 +74,55 @@ This section lists the labels we use to help us track and manage issues and pull
6474
- `documentation` - Issues or pull requests related to documentation.
6575
- `good first issue` - Good for newcomers.
6676

67-
## Recognition
6877

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.
78+
## Getting Help
79+
80+
- Join [Discord](https://discord.gg/ai16z)
81+
- Check [FAQ](docs/community/faq.md)
82+
- Create GitHub issues
83+
84+
## Additional Resources
85+
86+
- [Local Development Guide](docs/guides/local-development.md)
87+
- [Configuration Guide](docs/guides/configuration.md)
88+
- [API Documentation](docs/api)
89+
90+
## Contributor Guide
91+
92+
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.
93+
94+
### Code of Conduct
95+
96+
#### Our Pledge
97+
98+
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.
99+
100+
#### Our Standards
101+
102+
Examples of behavior that contributes to creating a positive environment include:
103+
104+
- Using welcoming and inclusive language
105+
- Being respectful of differing viewpoints and experiences
106+
- Gracefully accepting constructive criticism
107+
- Focusing on what is best for the community
108+
- Showing empathy towards other community members
109+
110+
Examples of unacceptable behavior include:
111+
112+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
113+
- Trolling, insulting/derogatory comments, and personal or political attacks
114+
- Public or private harassment
115+
- Publishing others' private information without explicit permission
116+
- Other conduct which could reasonably be considered inappropriate in a professional setting
117+
118+
#### Our Responsibilities
119+
120+
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.
121+
122+
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.
70123

71-
## Questions?
124+
#### Scope
72125

73-
If you have any questions, please feel free to contact the project maintainers with an issue or in discord.
126+
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.
74127

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

docs/README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# Eliza
1+
# Eliza - Multi-agent simulation framework
2+
# https://github.com/ai16z/eliza
3+
# Visit https://eliza.builders for support
4+
# dev branch
25

36
<img src="./docs/static/img/eliza_banner.jpg" alt="Eliza Banner" width="100%" />
47

0 commit comments

Comments
 (0)