Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/v2/telegram #56

Open
wants to merge 81 commits into
base: feature/v2/groq
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
8370be0
update quick action links
madjin Mar 19, 2025
a613ac6
Merge branch 'v2-develop' of github.com:elizaOS/eliza into jin-docs-v2
madjin Mar 19, 2025
93bc999
add thumbnails, update frontpage links
madjin Mar 20, 2025
f252328
cleanup core docs
madjin Mar 20, 2025
da094d8
update sidebars and intro
madjin Mar 20, 2025
0bddf26
fetch latest news
madjin Mar 20, 2025
cb0b576
fix syntax highlighting
madjin Mar 20, 2025
11c697f
add redpill plugin
HashWarlock Mar 21, 2025
3599bf3
update readme
HashWarlock Mar 21, 2025
ba88aa5
update package json
HashWarlock Mar 21, 2025
647d3f3
Merge branch 'v2-develop' into jin-docs-v2
madjin Mar 21, 2025
558d41a
update llms.txt files
madjin Mar 22, 2025
1dec6bc
update analysis files
madjin Mar 22, 2025
4fc5b75
update repomix configs
madjin Mar 22, 2025
fea5f3a
update blog
madjin Mar 22, 2025
3de4c9a
update blog post
madjin Mar 22, 2025
a2da8a5
update post
madjin Mar 22, 2025
5f45553
remove extra
madjin Mar 22, 2025
bc50b39
update config
madjin Mar 22, 2025
e2e91b0
update news
madjin Mar 22, 2025
ad87dc1
Merge branch 'v2-develop' into jin-docs-v2
madjin Mar 22, 2025
f20951f
fixed add plugin command quickstart.md
antman1p Mar 22, 2025
4074cb5
Merge pull request #4047 from antman1p/patch-5
madjin Mar 22, 2025
7733821
Merge branch 'v2-develop' into jin-docs-v2
madjin Mar 22, 2025
f68c7fb
add new blog post
madjin Mar 22, 2025
28e1e3b
Merge pull request #4045 from elizaOS/hash/add-redpill
lalalune Mar 23, 2025
e002e38
Merge pull request #4044 from meta-introspector/feature/v2/groq
lalalune Mar 23, 2025
40f2fa1
Merge branch 'v2-develop' into jin-docs-v2
madjin Mar 23, 2025
16cd5c9
add llms.txt generator workflow
madjin Mar 23, 2025
ce75ea2
Merge branch 'jin-docs-v2' of github.com:elizaOS/eliza into jin-docs-v2
madjin Mar 23, 2025
5a18419
fix: tg negative id
Mar 23, 2025
0954a7e
feat: add partial agent update
Mar 20, 2025
2df73bd
feat: make partial updates by navbars in char settings
Mar 20, 2025
b927f2d
feat: restructure update by panels
Mar 20, 2025
f7ffc36
chore: remove debug logs
Mar 20, 2025
91fb23d
chore: remove logs & fix avatar size
Mar 20, 2025
a7bdd72
chore: optimize logic for update
Mar 20, 2025
8f3b643
fix: remove unused vars
Mar 20, 2025
45d3763
chore: ensure min req for agent start
Mar 20, 2025
86d2ece
chore: remove unused function
Mar 20, 2025
6ed42d3
chore: enahnce settings update on agent
Mar 21, 2025
eade2a5
chore: clean the code
Mar 22, 2025
bb9c3be
chore: temp disable usePlugins
Mar 22, 2025
d70c3e0
fix: send only text response
Mar 23, 2025
495577b
add mermaid / bun notes
madjin Mar 23, 2025
dc2ce5c
fix: env drag and drop
Mar 23, 2025
ef8982b
add new links at footer, add copy page button
madjin Mar 24, 2025
bab0c6d
remove artifacts
madjin Mar 24, 2025
dceef56
fix chatgpt link, and sidebars order
madjin Mar 24, 2025
d849b44
add some svgs of worlds / rooms / entities
madjin Mar 24, 2025
861a25b
Merge pull request #4032 from elizaOS/jin-docs-v2
madjin Mar 24, 2025
e688afa
test existing salting
wtfsayo Mar 24, 2025
769acf2
handle salt without agentId
wtfsayo Mar 24, 2025
28b2542
clean up
wtfsayo Mar 24, 2025
6756d41
Merge branch 'v2-develop' into ELI2-130/change-agent-update-to-send-o…
wtfsayo Mar 24, 2025
00e5102
Merge pull request #4026 from 0xbbjoker/ELI2-130/change-agent-update-…
wtfsayo Mar 24, 2025
ca8fc5f
Merge branch 'v2-develop' into test-secret-encryption
wtfsayo Mar 24, 2025
c9bd2b7
Merge branch 'v2-develop' into fix/telegram-negative-chatid-uuid
wtfsayo Mar 24, 2025
feaa91d
Merge pull request #4052 from 0xbbjoker/fix/telegram-negative-chatid-…
wtfsayo Mar 24, 2025
337e066
Merge branch 'v2-develop' into test-secret-encryption
wtfsayo Mar 24, 2025
41ee10d
show client on received messages memory
wtfsayo Mar 24, 2025
aedfcdb
Merge pull request #4058 from elizaOS/minor-memory-viewer
wtfsayo Mar 24, 2025
fbea9f2
chore: encrypt character secrets from GUI
Mar 24, 2025
b6314ce
Merge pull request #4059 from 0xbbjoker/chore/gui-secret-encryption
wtfsayo Mar 24, 2025
c135a27
Merge branch 'v2-develop' into test-secret-encryption
wtfsayo Mar 24, 2025
b556504
Merge pull request #4056 from elizaOS/test-secret-encryption
wtfsayo Mar 24, 2025
cbd1b76
fix agent details display on cli
wtfsayo Mar 25, 2025
42d8fd9
better error for connection
wtfsayo Mar 25, 2025
0f2ebb2
fix display banner
wtfsayo Mar 25, 2025
69f7873
fix remaining cli issues
wtfsayo Mar 25, 2025
905545a
Merge pull request #4061 from elizaOS/cli-fixes
wtfsayo Mar 25, 2025
734eed2
change default director for models and cache for localai
wtfsayo Mar 25, 2025
e20bd81
Merge pull request #4062 from elizaOS/v2-local-ai-default-dir
wtfsayo Mar 25, 2025
3b7cd02
adding in branch name
Mar 25, 2025
9efd7c8
try again
Mar 25, 2025
37158ce
revert changes
Mar 25, 2025
59a5887
# This is a combination of 3 commits.tree c93d4d0f7a3b0b7c1cdc34b8aaf…
Mar 22, 2025
6baa4d9
merge
Mar 25, 2025
2889117
fix the env
Mar 25, 2025
df48bb6
again
Mar 25, 2025
8e94c8f
fixing quotes
Mar 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ node_modules

# Ignore build artifacts from the host
dist
build
build
.env
8 changes: 7 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,10 @@ JUPITER_API_KEY=
HELIUS_API_KEY=
COINMARKETCAP_API_KEY=
ZEROEX_API_KEY=
COINGECKO_API_KEY=
COINGECKO_API_KEY=

GROQ_API_KEY=
EMBEDDING_GROQ_MODEL=llama-3.1-8b-instant
LARGE_GROQ_MODEL=llama-3.2-90b-vision-preview
MEDIUM_GROQ_MODEL=llama-3.3-70b-versatile
SMALL_GROQ_MODEL=llama-3.1-8b-instant
2 changes: 1 addition & 1 deletion .github/workflows/generate-readme-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
}
],
save_path: "packages/docs/packages/docs/i18n/readme/README_${{ matrix.language.code }}.md",
"model": "gpt-4o"
"model": "gpt-422222o"
}

# Upload each translated file as an artifact
Expand Down
82 changes: 55 additions & 27 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
@@ -1,70 +1,98 @@
#
name: Create and publish a Docker image

# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
release:
types: [created]
workflow_dispatch:
#push:
#pull_request:
# on:
push:
branches:
- main
- docker/*/*/*

# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
jobs:
build-and-push-image:
runs-on: ubuntu-latest
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
permissions:
contents: read
packages: write
attestations: write
id-token: write
#

steps:
#- name: Configure AWS credentials
# uses: meta-introspector/configure-aws-credentials@v4
# with:
# aws-region: ${{ secrets.AWS_REGION || 'us-east-2'}}
# role-session-name: github-actions-${{ env.APP_NAME || 'eliza'}}
# # FIXME hard coded
# role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID || '767503528736' }}:role/github

- name: Set up Docker Buildx
uses: meta-introspector/setup-buildx-action@v3.8.0
with:
install: true
platforms: linux/amd64,linux/arm/v7,linux/arm/v8

# - name: Login to Amazon ECR
# id: login-ecr
# uses: meta-introspector/amazon-ecr-login@v1

- name: Set short sha
id: sha_short
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Login to Docker Hub
uses: meta-introspector/login-action@v3
with:
username: ${{ vars.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Checkout repository
uses: actions/checkout@v4
# Uses the `docker/login-action` action to log in to the Container registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
uses: meta-introspector/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
uses: meta-introspector/login-action@v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels.

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
uses: meta-introspector/metadata-action@v5.5.1
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
h4ckermike/elizaos-eliza
# ${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY || 'agent/eliza'}}
- name: Build and push Docker image
id: push
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
uses: meta-introspector/build-push-action@v6.10.0
with:
platforms: linux/arm64,linux/arm64/v8
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: |
${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# 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)."
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
uses: meta-introspector/attest-build-provenance@local
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

# This step makes the Docker image public, so users can pull it without authentication.
- name: Make Docker image public
run: |
curl \
-X PATCH \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/user/packages/container/${{ env.IMAGE_NAME }}/visibility \
-d '{"visibility":"public"}'
-X PATCH \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/user/packages/container/${{ env.IMAGE_NAME }}/visibility \
-d '{"visibility":"public"}'
101 changes: 101 additions & 0 deletions .github/workflows/llmstxt-generator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
name: Repomix Documentation Generator

on:
workflow_dispatch:
inputs:
target_branch:
description: 'Target branch for changes (defaults to autodocs)'
required: false
default: 'autodocs'
type: string
create_pr:
description: 'Create a pull request instead of pushing directly (T/F)'
required: false
default: 'F'
type: string
base_branch:
description: 'Base branch for PR (if creating PR)'
required: false
default: 'main'
type: string

jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '23'

- name: Install Repomix globally
run: npm install -g repomix

- name: Run Repomix with standard config
run: repomix -c scripts/repomix.config.json

- name: Run Repomix with full config
run: repomix -c scripts/repomix-full.config.json

- name: Set up Git user
run: |
git config --global user.name "GitHub Action"
git config --global user.email "action@github.com"

- name: Check if target branch exists
id: check_branch
run: |
if git ls-remote --heads origin ${{ inputs.target_branch }} | grep -q ${{ inputs.target_branch }}; then
echo "branch_exists=true" >> $GITHUB_OUTPUT
else
echo "branch_exists=false" >> $GITHUB_OUTPUT
fi

- name: Create target branch if it doesn't exist
if: steps.check_branch.outputs.branch_exists == 'false'
run: git checkout -b ${{ inputs.target_branch }}

- name: Switch to target branch if it exists
if: steps.check_branch.outputs.branch_exists == 'true'
run: |
git fetch origin ${{ inputs.target_branch }}:${{ inputs.target_branch }}
git checkout ${{ inputs.target_branch }}

- name: Commit changes
id: commit
run: |
git add packages/docs/static/llms.txt packages/docs/static/llms-full.txt
if git diff --staged --quiet; then
echo "No changes to commit"
echo "changes_made=false" >> $GITHUB_OUTPUT
else
git commit -m "Update documentation with Repomix [skip ci]"
echo "changes_made=true" >> $GITHUB_OUTPUT
fi

- name: Push changes directly to branch
if: inputs.create_pr == 'F' && steps.commit.outputs.changes_made == 'true'
run: git push origin ${{ inputs.target_branch }}

- name: Create Pull Request
if: inputs.create_pr == 'T' && steps.commit.outputs.changes_made == 'true'
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Update documentation with Repomix [skip ci]"
title: "Update documentation with Repomix"
body: |
This PR was automatically generated by the Repomix Documentation Generator workflow.

It updates the documentation files:
- packages/docs/static/llms.txt
- packages/docs/static/llms-full.txt
branch: ${{ inputs.target_branch }}
base: ${{ inputs.base_branch }}
draft: false

3 changes: 1 addition & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: PR Title Check

on:
pull_request:
types: [opened, edited, synchronize]
workflow_dispatch:

jobs:
check-pr-title:
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/tauri-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,7 @@ env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1

on:
push:
branches: [main, develop, v2-develop]
paths:
- 'packages/app/**'
- '.github/workflows/**'
pull_request:
branches: [v2-develop]
paths:
- 'packages/app/**'
- '.github/workflows/**'
workflow_dispatch:

jobs:
test-build:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: testdocker
on:
workflow_dispatch:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- name: Login to Docker Hub
uses: meta-introspector/login-action@v3
with:
username: ${{ vars.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push Docker image
id: push
uses: meta-introspector/build-push-action@v6.10.0
with:
platforms: linux/arm64,linux/arm64/v8
context: .
push: true
tags: |
${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
21 changes: 21 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[submodule "vendor/elizaos/plugin-twitter"]
path = vendor/elizaos/plugin-twitter
url = https://github.com/meta-introspector/plugin-twitter
[submodule "vendor/elizaos/agent-twitter-client"]
path = vendor/elizaos/agent-twitter-client
url = https://github.com/meta-introspector/agent-twitter-client.git
[submodule "vendor/elizaos/client-twitter"]
path = vendor/elizaos/client-twitter
url = https://github.com/meta-introspector/client-twitter-eliza-zos
[submodule "vendor/elizaos/client-discord-eliza"]
path = vendor/elizaos/client-discord-eliza
url = https://github.com/meta-introspector/client-discord-eliza-zos
[submodule "vendor/elizaos/plugin-speech-tts"]
path = vendor/elizaos/plugin-speech-tts
url = https://github.com/meta-introspector/plugin-speech-tts-eliza-zos
[submodule "vendor/elizaos/client-telegram"]
path = vendor/elizaos/client-telegram
url = https://github.com/meta-introspector/client-telegram-eliza-zos
[submodule "characters"]
path = characters
url = https://github.com/meta-introspector/characters-eliza-zos
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v23.3.0
v23.9.0
6 changes: 6 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"url": "bws://localhost:9229/hhigw51enm5",
"name": "Attach bun",
"type": "bun",
"request": "attach"
},
{
"type": "node",
"request": "launch",
Expand Down
Loading