Skip to content

Commit f6dac23

Browse files
author
Shaw
committed
Squash code into single file write
The full develop history (22208 commits) is preserved as empty attribution commits below this commit. The complete pre-squash history is on branch develop-full-commits and is summarised in CONTRIBUTIONS.md.
1 parent 6cca799 commit f6dac23

15,726 files changed

Lines changed: 3472184 additions & 0 deletions

File tree

Some content is hidden

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

.biomeignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
**/dist/**
2+
**/node_modules/**
3+
**/.git/**
4+
**/build/**
5+
**/*.d.ts
6+
**/.venv/**
7+
**/coverage/**
8+
**/scripts/async-optimizer.js
9+
.turbo
10+
.turbo/**
11+
**/.turbo
12+
**/.turbo/**
13+
**/target/**
14+
target
15+
**/data/**
16+
data
17+
.eliza
18+
**/.eliza/**
19+
.cursor
20+
**/.cursor/**
21+
.next
22+
**/.next/**

.dockerignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Reduce build context: build artifacts, env secrets, and largest dirs
2+
.git
3+
**/node_modules
4+
**/.turbo
5+
**/dist
6+
**/target
7+
**/venv
8+
**/.venv
9+
**/*.so
10+
**/*.wasm
11+
**/.eliza
12+
**/.elizadb
13+
**/*.log
14+
**/.env
15+
**/.env.*
16+
.DS_Store
17+
.github
18+
.cursor
19+
# Large dirs (keep all packages/ and plugins/ so workspace resolves)
20+
examples
21+
apps
22+
eliza-cloud-v2
23+
**/fonts
24+
**/*.otf
25+
**/*.ttf
26+
**/*.woff2

.env.example

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
####################################
2+
#### Server Configuration ####
3+
####################################
4+
5+
# Server Port
6+
SERVER_PORT=3000
7+
8+
# Server Host (default: 0.0.0.0)
9+
SERVER_HOST=
10+
11+
# Environment Mode (development/production - affects UI and security)
12+
NODE_ENV=development
13+
14+
# Controls whether the web UI is available
15+
# Set to "true" to force enable, "false" to force disable, or leave unset for automatic behavior
16+
# Default: enabled in development, disabled in production
17+
ELIZA_UI_ENABLE=
18+
19+
# Server authentication token for API access
20+
# When set, all /api/* routes require X-API-KEY header with this value
21+
ELIZA_SERVER_AUTH_TOKEN=
22+
23+
# Express Maximum Payload Size (default: 2mb)
24+
EXPRESS_MAX_PAYLOAD=2mb
25+
26+
####################################
27+
#### Provider Configuration ####
28+
####################################
29+
30+
# Total timeout for all providers running in parallel (in milliseconds)
31+
# When providers exceed this timeout, the pipeline aborts and returns an error message
32+
# Default: 1000 (1 second)
33+
PROVIDERS_TOTAL_TIMEOUT_MS=1000
34+
35+
####################################
36+
#### Database Configuration ####
37+
####################################
38+
39+
# PostgreSQL Connection URL
40+
POSTGRES_URL=
41+
42+
# PGLite Database Directory (or use memory:// for in-memory)
43+
# Alternative to Postgres
44+
PGLITE_DATA_DIR=
45+
46+
####################################
47+
#### AI Model Provider APIs ####
48+
####################################
49+
50+
# OpenAI API Key
51+
OPENAI_API_KEY=
52+
53+
# Google Generative AI API Key
54+
GOOGLE_GENERATIVE_AI_API_KEY=
55+
56+
57+
# Anthropic Claude API Key (Embedding Provider required; will default to local embedding if not provided)
58+
ANTHROPIC_API_KEY=
59+
60+
# OpenRouter API Key (Embedding Provider required; will default to local embedding if not provided)
61+
OPENROUTER_API_KEY=
62+
63+
# Ollama API Endpoint (for local LLM hosting, supports embedding)
64+
OLLAMA_API_ENDPOINT=
65+
66+
####################################
67+
#### Character & Content Loading ####
68+
####################################
69+
70+
# Remote Character URLs (comma-separated)
71+
REMOTE_CHARACTER_URLS=
72+
73+
74+
####################################
75+
#### Development & Build Control ####
76+
####################################
77+
78+
# Non-interactive CLI Mode (true/false)
79+
ELIZA_NONINTERACTIVE=
80+
81+
####################################
82+
#### Data Directory Configuration ####
83+
####################################
84+
85+
# Base data directory (default: .eliza)
86+
# ELIZA_DATA_DIR=.eliza
87+
88+
# Database directory (default: {ELIZA_DATA_DIR}/.elizadb)
89+
# ELIZA_DATABASE_DIR=
90+
91+
# Characters storage directory (default: {ELIZA_DATA_DIR}/data/characters)
92+
# ELIZA_DATA_DIR_CHARACTERS=
93+
94+
# AI-generated content directory (default: {ELIZA_DATA_DIR}/data/generated)
95+
# ELIZA_DATA_DIR_GENERATED=
96+
97+
# Agent uploads directory (default: {ELIZA_DATA_DIR}/data/uploads/agents)
98+
# ELIZA_DATA_DIR_UPLOADS_AGENTS=
99+
100+
# Channel uploads directory (default: {ELIZA_DATA_DIR}/data/uploads/channels)
101+
# ELIZA_DATA_DIR_UPLOADS_CHANNELS=
102+
103+
####################################
104+
#### Plugin Control ####
105+
####################################
106+
# Note: for all available / required configuration for specific plugins
107+
# Check agentConfig property on their package.json
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ""
5+
labels: "bug"
6+
assignees: ""
7+
---
8+
9+
**Describe the bug**
10+
11+
<!-- A clear and concise description of what the bug is. -->
12+
13+
**To Reproduce**
14+
15+
<!-- Steps to reproduce the behavior. -->
16+
17+
**Expected behavior**
18+
19+
<!-- A clear and concise description of what you expected to happen. -->
20+
21+
**Screenshots**
22+
23+
<!-- If applicable, add screenshots to help explain your problem. -->
24+
25+
**Additional context**
26+
27+
<!-- Add any other context about the problem here. -->
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ""
5+
labels: "enhancement"
6+
assignees: ""
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
11+
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
12+
13+
**Describe the solution you'd like**
14+
15+
<!-- A clear and concise description of what you want to happen. -->
16+
17+
**Describe alternatives you've considered**
18+
19+
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
20+
21+
**Additional context**
22+
23+
<!-- Add any other context or screenshots about the feature request here. -->

.github/actionlint.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# actionlint configuration
2+
# https://github.com/rhysd/actionlint/blob/main/docs/config.md
3+
4+
# Most jobs run on GitHub-hosted runners (ubuntu-24.04 / ubuntu-24.04-arm /
5+
# windows-2025 / macos-15 etc.). The labels below are self-hosted runner
6+
# labels we use:
7+
# kvm — Linux x86_64 host with /dev/kvm available, used for Cuttlefish/AOSP
8+
# builds (.github/workflows/elizaos-cuttlefish.yml).
9+
10+
self-hosted-runner:
11+
labels:
12+
- kvm
13+
14+
paths:
15+
.github/workflows/release.yml:
16+
ignore:
17+
# Optional signing secrets — linter cannot verify repo secrets exist
18+
- "Context access might be invalid:.+"
19+
.github/workflows/release-electrobun.yml:
20+
ignore:
21+
- "Context access might be invalid:.+"
22+
.github/workflows/android-release.yml:
23+
ignore:
24+
- "Context access might be invalid:.+"
25+
.github/workflows/apple-store-release.yml:
26+
ignore:
27+
- "Context access might be invalid:.+"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Normalize Snapd Root Ownership
2+
description: Best-effort repair of root ownership on ephemeral runners before invoking snapd-based build steps. Soft-fails when sudo is unavailable so downstream snapcraft errors remain the authoritative signal.
3+
runs:
4+
using: composite
5+
steps:
6+
- shell: bash
7+
run: |
8+
set -euo pipefail
9+
ROOT_OWNER="$(stat -c '%u:%g' /)"
10+
echo "Runner root owner: ${ROOT_OWNER}"
11+
if [ "${ROOT_OWNER}" = "0:0" ]; then
12+
echo "Root is already 0:0 — snapd canonicalization OK"
13+
exit 0
14+
fi
15+
echo "Attempting to repair / ownership so snapd/systemd path canonicalization accepts this runner"
16+
if sudo -n chown root:root / 2>/dev/null; then
17+
echo "Chown succeeded; new owner: $(stat -c '%u:%g' /)"
18+
else
19+
echo "::warning::Unable to chown / to root:root (sudo unavailable or passwordless sudo disabled). snapd may fail downstream. Remediation: run this job on a standard ubuntu-latest / ubuntu-24.04 GitHub-hosted runner, or configure the container image so / is owned by 0:0."
20+
fi

0 commit comments

Comments
 (0)