Skip to content

Commit 9eb88f0

Browse files
committed
Resolved merge conflicts, keeping current version
1 parent 5f60a21 commit 9eb88f0

File tree

976 files changed

+64578
-54344
lines changed

Some content is hidden

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

976 files changed

+64578
-54344
lines changed

.eslintrc.json

+6-20
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
{
2-
"plugins": [
3-
"@stylistic"
4-
],
5-
"extends": [
6-
"next/core-web-vitals",
7-
"plugin:@stylistic/recommended-extends"
8-
],
2+
"plugins": ["@stylistic"],
3+
"extends": ["next/core-web-vitals", "plugin:@stylistic/recommended-extends"],
94
"rules": {
105
"@stylistic/indent": [
116
"error",
@@ -28,20 +23,11 @@
2823
}
2924
}
3025
],
31-
"@stylistic/eol-last": [
32-
"error",
33-
"always"
34-
],
26+
"@stylistic/eol-last": ["error", "always"],
3527
"@stylistic/multiline-ternary": "off",
36-
"@stylistic/semi": [
37-
"error",
38-
"always"
39-
],
28+
"@stylistic/semi": ["error", "always"],
4029
"@stylistic/quotes": "off",
4130
"@stylistic/comma-dangle": "off",
42-
"@stylistic/brace-style": [
43-
"error",
44-
"1tbs"
45-
]
31+
"@stylistic/brace-style": ["error", "1tbs"]
4632
}
47-
}
33+
}

.github/ISSUE_TEMPLATE/bug_report.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ""
5-
labels: "bug"
6-
assignees: ""
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
77
---
88

99
**Describe the bug**

.github/ISSUE_TEMPLATE/feature_request.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ""
5-
labels: "enhancement"
6-
assignees: ""
4+
title: ''
5+
labels: 'enhancement'
6+
assignees: ''
77
---
88

99
**Is your feature request related to a problem? Please describe.**

.github/workflows/image.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
packages: write
2323
attestations: write
2424
id-token: write
25-
#
25+
#
2626
steps:
2727
- name: Checkout repository
2828
uses: actions/checkout@v4
@@ -50,12 +50,11 @@ jobs:
5050
push: true
5151
tags: ${{ steps.meta.outputs.tags }}
5252
labels: ${{ steps.meta.outputs.labels }}
53-
54-
# 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)."
53+
54+
# 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)."
5555
- name: Generate artifact attestation
5656
uses: actions/attest-build-provenance@v1
5757
with:
5858
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
5959
subject-digest: ${{ steps.push.outputs.digest }}
6060
push-to-registry: true
61-

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,9 @@ tsup.config.bundled_*.mjs
5050

5151
.turbo
5252

53+
<<<<<<< Updated upstream
5354
coverage
5455
.eslintcache
56+
=======
57+
coverage
58+
>>>>>>> Stashed changes

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v23.3.0
1+
v23.3.0

.pre-commit-config.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.5.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: check-added-large-files
9+
- id: check-merge-conflict
10+
11+
# Nix code formatting
12+
- repo: https://github.com/nix-community/alejandra
13+
rev: 3.0.0
14+
hooks:
15+
- id: alejandra
16+
# Alejandra is an opinionated Nix code formatter optimized for speed and consistency
17+
18+
# Nix linting/static analysis
19+
- repo: https://github.com/astro/deadnix
20+
rev: v1.2.1
21+
hooks:
22+
- id: deadnix
23+
# Scans for dead/unused code in .nix files
24+
25+
- repo: https://github.com/nix-community/statix
26+
rev: v0.5.8
27+
hooks:
28+
- id: statix
29+
# Lints for and fixes antipatterns in Nix code

.vscode/launch.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
6-
"configurations": [
7-
{
8-
"type": "node",
9-
"request": "launch",
10-
"name": "Launch via pnpm",
11-
"runtimeExecutable": "pnpm",
12-
"runtimeArgs": ["run", "dev"],
13-
"skipFiles": ["<node_internals>/**"]
14-
}
15-
]
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Launch via pnpm",
11+
"runtimeExecutable": "pnpm",
12+
"runtimeArgs": ["run", "dev"],
13+
"skipFiles": ["<node_internals>/**"]
14+
}
15+
]
1616
}

.vscode/settings.json

+50-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
<<<<<<< Updated upstream
23
"editor.codeActionsOnSave": {
34
"source.fixAll.eslint": "explicit"
45
},
@@ -44,4 +45,52 @@
4445
"[shellscript]": {
4546
"editor.defaultFormatter": "foxundermoon.shell-format"
4647
}
47-
}
48+
}
49+
=======
50+
"editor.codeActionsOnSave": {
51+
"source.fixAll.eslint": "explicit"
52+
},
53+
"editor.formatOnSave": true,
54+
"editor.defaultFormatter": "esbenp.prettier-vscode",
55+
"editor.insertSpaces": true,
56+
"editor.detectIndentation": false,
57+
"editor.tabSize": 4,
58+
"eslint.format.enable": true,
59+
"javascript.format.enable": false,
60+
"typescript.format.enable": false,
61+
"files.trimTrailingWhitespace": true,
62+
"editor.trimAutoWhitespace": true,
63+
"cadence.test.maxConcurrency": 5,
64+
"cadence.customConfigPath": "packages/plugin-flow/flow.json",
65+
"[properties]": {
66+
"editor.defaultFormatter": "foxundermoon.shell-format"
67+
},
68+
"[typescript]": {
69+
"editor.defaultFormatter": "esbenp.prettier-vscode"
70+
},
71+
"[typescriptreact]": {
72+
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
73+
},
74+
"[javascriptreact]": {
75+
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
76+
},
77+
"[jsonc]": {
78+
"editor.defaultFormatter": "vscode.json-language-features"
79+
},
80+
"[javascript]": {
81+
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
82+
},
83+
"[scss]": {
84+
"editor.defaultFormatter": "vscode.css-language-features"
85+
},
86+
"[dotenv]": {
87+
"editor.defaultFormatter": "foxundermoon.shell-format"
88+
},
89+
"files.associations": {
90+
"*.css": "tailwindcss"
91+
},
92+
"[shellscript]": {
93+
"editor.defaultFormatter": "foxundermoon.shell-format"
94+
}
95+
}
96+
>>>>>>> Stashed changes

.vscode/tasks.json

+13-15
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
{
2-
// See https://go.microsoft.com/fwlink/?LinkId=733558
3-
// for the documentation about the tasks.json format
4-
"version": "2.0.0",
5-
"tasks": [
6-
{
7-
"type": "typescript",
8-
"tsconfig": "packages/core/tsconfig.json",
9-
"problemMatcher": [
10-
"$tsc"
11-
],
12-
"label": "tsbuild",
13-
"group": "build"
14-
}
15-
]
16-
}
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "typescript",
8+
"tsconfig": "packages/core/tsconfig.json",
9+
"problemMatcher": ["$tsc"],
10+
"label": "tsbuild",
11+
"group": "build"
12+
}
13+
]
14+
}

CONTRIBUTING.md

+42-37
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,35 @@ By contributing to Eliza, you agree that your contributions will be licensed und
1515

1616
We believe in the power of the OODA Loop - a decision-making framework that emphasizes speed and adaptability. OODA stands for:
1717

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.
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.
2222

2323
## How to Contribute
2424

2525
### For Developers
2626

2727
1. **Extend Eliza's Capabilities**
2828

29-
- Develop new actions, evaluators, and providers
30-
- Improve existing components and modules
29+
- Develop new actions, evaluators, and providers
30+
- Improve existing components and modules
3131

3232
2. **Enhance Infrastructure**
3333

34-
- Review open issues and submit PRs
35-
- Test and update documentation
36-
- Optimize performance
37-
- Improve deployment solutions
34+
- Review open issues and submit PRs
35+
- Test and update documentation
36+
- Optimize performance
37+
- Improve deployment solutions
3838

3939
3. Fork the repo and create your branch from `main`.
40+
<<<<<<< Updated upstream
4041
1. The name of the branch should start with the issue number and be descriptive of the changes you are making.
4142
2. Example: 9999--add-test-for-bug-123
43+
=======
44+
1. The name of the branch should start with the issue number and be descriptive of the changes you are making.
45+
1. eg. 40--add-test-for-bug-123
46+
>>>>>>> Stashed changes
4247
4. If you've added code that should be tested, add tests.
4348
5. Ensure the test suite passes.
4449
6. Make sure your code lints.
@@ -48,45 +53,45 @@ We believe in the power of the OODA Loop - a decision-making framework that emph
4853

4954
### Git Commit Messages
5055

51-
- Use the present tense ("Add feature" not "Added feature")
52-
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
53-
- Limit the first line to 72 characters or less
54-
- Reference issues and pull requests liberally after the first line
56+
- Use the present tense ("Add feature" not "Added feature")
57+
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
58+
- Limit the first line to 72 characters or less
59+
- Reference issues and pull requests liberally after the first line
5560

5661
### JavaScript Styleguide
5762

58-
- All JavaScript must adhere to [JavaScript Standard Style](https://standardjs.com/).
63+
- All JavaScript must adhere to [JavaScript Standard Style](https://standardjs.com/).
5964

6065
### TypeScript Styleguide
6166

62-
- All TypeScript must adhere to [TypeScript Standard Style](https://github.com/standard/ts-standard).
67+
- All TypeScript must adhere to [TypeScript Standard Style](https://github.com/standard/ts-standard).
6368

6469
### Documentation Styleguide
6570

66-
- Use [Markdown](https://daringfireball.net/projects/markdown/) for documentation.
71+
- Use [Markdown](https://daringfireball.net/projects/markdown/) for documentation.
6772

6873
## Additional Notes
6974

7075
### Issue and Pull Request Labels
7176

7277
This section lists the labels we use to help us track and manage issues and pull requests.
7378

74-
- `bug` - Issues that are bugs.
75-
- `enhancement` - Issues that are feature requests.
76-
- `documentation` - Issues or pull requests related to documentation.
77-
- `good first issue` - Good for newcomers.
79+
- `bug` - Issues that are bugs.
80+
- `enhancement` - Issues that are feature requests.
81+
- `documentation` - Issues or pull requests related to documentation.
82+
- `good first issue` - Good for newcomers.
7883

7984
## Getting Help
8085

81-
- Join [Discord](https://discord.gg/ai16z)
82-
- Check [FAQ](docs/community/faq.md)
83-
- Create GitHub issues
86+
- Join [Discord](https://discord.gg/ai16z)
87+
- Check [FAQ](docs/community/faq.md)
88+
- Create GitHub issues
8489

8590
## Additional Resources
8691

87-
- [Local Development Guide](docs/guides/local-development.md)
88-
- [Configuration Guide](docs/guides/configuration.md)
89-
- [API Documentation](docs/api)
92+
- [Local Development Guide](docs/guides/local-development.md)
93+
- [Configuration Guide](docs/guides/configuration.md)
94+
- [API Documentation](docs/api)
9095

9196
## Contributor Guide
9297

@@ -102,19 +107,19 @@ In the interest of fostering an open and welcoming environment, we as contributo
102107

103108
Examples of behavior that contributes to creating a positive environment include:
104109

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+
- Using welcoming and inclusive language
111+
- Being respectful of differing viewpoints and experiences
112+
- Gracefully accepting constructive criticism
113+
- Focusing on what is best for the community
114+
- Showing empathy towards other community members
110115

111116
Examples of unacceptable behavior include:
112117

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+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
119+
- Trolling, insulting/derogatory comments, and personal or political attacks
120+
- Public or private harassment
121+
- Publishing others' private information without explicit permission
122+
- Other conduct which could reasonably be considered inappropriate in a professional setting
118123

119124
#### Our Responsibilities
120125

0 commit comments

Comments
 (0)