Skip to content

Commit 4e068f1

Browse files
authored
Merge branch 'develop' into readme-git-command
2 parents 0453bca + 5912664 commit 4e068f1

File tree

776 files changed

+71984
-16008
lines changed

Some content is hidden

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

776 files changed

+71984
-16008
lines changed

.env.example

+295-144
Large diffs are not rendered by default.

.github/workflows/integrationTests.yaml

+8-11
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches:
55
- "*"
6-
pull_request_target:
6+
pull_request:
77
branches:
88
- "*"
99

@@ -17,11 +17,11 @@ jobs:
1717

1818
- uses: pnpm/action-setup@v3
1919
with:
20-
version: 9.4.0
20+
version: 9.15.0
2121

2222
- uses: actions/setup-node@v4
2323
with:
24-
node-version: "23"
24+
node-version: "23.3.0"
2525
cache: "pnpm"
2626

2727
- name: Clean up
@@ -33,12 +33,9 @@ jobs:
3333
- name: Build packages
3434
run: pnpm build
3535

36-
- name: Check for API key
37-
run: |
38-
if [ -z "$OPENAI_API_KEY" ]; then
39-
echo "Error: OPENAI_API_KEY is not set."
40-
exit 1
41-
fi
42-
4336
- name: Run integration tests
44-
run: pnpm run integrationTests
37+
env:
38+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
39+
COINBASE_COMMERCE_KEY: ${{ secrets.COINBASE_COMMERCE_KEY }}
40+
run: |
41+
pnpm run integrationTests

.github/workflows/jsdoc-automation.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
root_directory:
2121
description: "Only scans files in this directory (relative to repository root, e.g., packages/core/src)"
2222
required: true
23-
default: "packages/plugin-near/"
23+
default: "packages/plugin-bootstrap"
2424
type: string
2525
excluded_directories:
2626
description: "Directories to exclude from scanning (comma-separated, relative to root_directory)"
@@ -37,11 +37,6 @@ on:
3737
required: false
3838
default: "develop"
3939
type: string
40-
language:
41-
description: "Documentation language (e.g., English, Spanish, French)"
42-
required: true
43-
default: "English"
44-
type: string
4540

4641
jobs:
4742
generate-docs:
@@ -99,6 +94,5 @@ jobs:
9994
INPUT_EXCLUDED_DIRECTORIES: ${{ inputs.excluded_directories }}
10095
INPUT_REVIEWERS: ${{ inputs.reviewers }}
10196
INPUT_BRANCH: ${{ inputs.branch }}
102-
INPUT_LANGUAGE: ${{ inputs.language }}
10397
INPUT_JSDOC: ${{ inputs.jsdoc }}
10498
INPUT_README: ${{ inputs.readme }}
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Pnpm Lockfile Check
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
check-lockfile:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: 23.3.0
16+
17+
- uses: pnpm/action-setup@v3
18+
with:
19+
version: 9.15.0
20+
21+
- name: Check if lockfile is up-to-date
22+
id: lockfile-check
23+
run: |
24+
# Try to install with frozen lockfile
25+
if ! pnpm install --frozen-lockfile; then
26+
echo "::error::Lockfile is out of date. Please run 'pnpm install --no-frozen-lockfile' and commit the updated pnpm-lock.yaml"
27+
echo "failed=true" >> $GITHUB_OUTPUT
28+
exit 1
29+
fi
30+
31+
- name: Comment on PR
32+
if: failure() && steps.lockfile-check.outputs.failed == 'true'
33+
uses: actions/github-script@v7
34+
with:
35+
script: |
36+
github.rest.issues.createComment({
37+
issue_number: context.issue.number,
38+
owner: context.repo.owner,
39+
repo: context.repo.repo,
40+
body: '❌ The pnpm-lockfile is out of date. Please run `pnpm install --no-frozen-lockfile` and commit the updated pnpm-lock.yaml file.'
41+
})

.github/workflows/smoke-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515

1616
- uses: pnpm/action-setup@v3
1717
with:
18-
version: 9.4.0
18+
version: 9.15.0
1919

2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: "23"
22+
node-version: "23.3.0"
2323
cache: "pnpm"
2424

2525
- name: Run smoke tests

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ packages/plugin-buttplug/intiface-engine
1515
dist/
1616
# Allow models directory but ignore model files
1717
models/*.gguf
18+
pgLite/
1819

1920
cookies.json
2021

@@ -56,3 +57,7 @@ coverage
5657
.eslintcache
5758

5859
agent/content
60+
61+
eliza.manifest
62+
eliza.manifest.sgx
63+
eliza.sig

.vscode/settings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"editor.defaultFormatter": "esbenp.prettier-vscode"
2222
},
2323
"[typescriptreact]": {
24-
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
24+
"editor.defaultFormatter": "esbenp.prettier-vscode"
2525
},
2626
"[javascriptreact]": {
2727
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
@@ -44,4 +44,4 @@
4444
"[shellscript]": {
4545
"editor.defaultFormatter": "foxundermoon.shell-format"
4646
}
47-
}
47+
}

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@
11681168
- Abstract transcript provider [\#73](https://github.com/elizaOS/eliza/issues/73)
11691169
- 🤖 Confidence Level Implementation [\#50](https://github.com/elizaOS/eliza/issues/50)
11701170
- 📈 Trading Assistant Implementation [\#48](https://github.com/elizaOS/eliza/issues/48)
1171-
- swap Dao action initital [\#196](https://github.com/elizaOS/eliza/pull/196) ([MarcoMandar](https://github.com/MarcoMandar))
1171+
- swap Dao action initial [\#196](https://github.com/elizaOS/eliza/pull/196) ([MarcoMandar](https://github.com/MarcoMandar))
11721172

11731173
**Fixed bugs:**
11741174

Makefile

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Copyright (C) 2024 Gramine contributors
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
4+
THIS_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
5+
NODEJS_DIR ?= /usr/bin
6+
7+
ARCH_LIBDIR ?= /lib/$(shell $(CC) -dumpmachine)
8+
9+
ifeq ($(DEBUG),1)
10+
GRAMINE_LOG_LEVEL = debug
11+
else
12+
GRAMINE_LOG_LEVEL = error
13+
endif
14+
15+
.PHONY: all
16+
all: eliza.manifest
17+
ifeq ($(SGX),1)
18+
all: eliza.manifest.sgx eliza.sig
19+
endif
20+
21+
.PHONY: eliza.manifest
22+
eliza.manifest: eliza.manifest.template
23+
gramine-manifest \
24+
-Dlog_level=$(GRAMINE_LOG_LEVEL) \
25+
-Darch_libdir=$(ARCH_LIBDIR) \
26+
-Dnodejs_dir=$(NODEJS_DIR) \
27+
$< >$@
28+
29+
# Make on Ubuntu <= 20.04 doesn't support "Rules with Grouped Targets" (`&:`),
30+
# for details on this workaround see
31+
# https://github.com/gramineproject/gramine/blob/e8735ea06c/CI-Examples/helloworld/Makefile
32+
eliza.manifest.sgx eliza.sig: sgx_sign
33+
@:
34+
35+
.INTERMEDIATE: sgx_sign
36+
sgx_sign: eliza.manifest
37+
gramine-sgx-sign \
38+
--manifest $< \
39+
--output $<.sgx
40+
41+
ifeq ($(SGX),)
42+
GRAMINE = gramine-direct
43+
else
44+
GRAMINE = gramine-sgx
45+
endif
46+
47+
# Start the default character:
48+
# SGX=1 make start
49+
# Start a specific character by passing arguments:
50+
# SGX=1 make start -- --character "character/your_character_file.json"
51+
.PHONY: start
52+
start: all
53+
$(GRAMINE) ./eliza --loader ts-node/esm src/index.ts --isRoot $(filter-out $@,$(MAKECMDGOALS))
54+
.PHONY: clean
55+
clean:
56+
$(RM) *.manifest *.manifest.sgx *.sig
57+
58+
.PHONY: distclean
59+
distclean: clean

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212

1313
## 🌍 README Translations
1414

15-
[中文说明](./README_CN.md) | [日本語の説明](./README_JA.md) | [한국어 설명](./README_KOR.md) | [Français](./README_FR.md) | [Português](./README_PTBR.md) | [Türkçe](./README_TR.md) | [Русский](./README_RU.md) | [Español](./README_ES.md) | [Italiano](./README_IT.md) | [ไทย](./README_TH.md) | [Deutsch](./README_DE.md) | [Tiếng Việt](./README_VI.md) | [עִברִית](https://github.com/elizaos/Elisa/blob/main/README_HE.md) | [Tagalog](./README_TG.md) | [Polski](./README_PL.md) | [Arabic](./README_AR.md) | [Hungarian](./README_HU.md) | [Srpski](./README_RS.md) | [Română](./README_RO.md)
15+
[中文说明](./README_CN.md) | [日本語の説明](./README_JA.md) | [한국어 설명](./README_KOR.md) | [Français](./README_FR.md) | [Português](./README_PTBR.md) | [Türkçe](./README_TR.md) | [Русский](./README_RU.md) | [Español](./README_ES.md) | [Italiano](./README_IT.md) | [ไทย](./README_TH.md) | [Deutsch](./README_DE.md) | [Tiếng Việt](./README_VI.md) | [עִברִית](https://github.com/elizaos/Elisa/blob/main/README_HE.md) | [Tagalog](./README_TG.md) | [Polski](./README_PL.md) | [Arabic](./README_AR.md) | [Hungarian](./README_HU.md) | [Srpski](./README_RS.md) | [Română](./README_RO.md) | [Nederlands](./README_NL.md)
1616

1717
## 🚩 Overview
1818

1919
<div align="center">
20-
<img src="./docs/static/img/eliza_diagram.jpg" alt="Eliza Diagram" width="100%" />
20+
<img src="./docs/static/img/eliza_diagram.png" alt="Eliza Diagram" width="100%" />
2121
</div>
2222

2323
## ✨ Features

0 commit comments

Comments
 (0)