Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1,691 changes: 869 additions & 822 deletions .env.example

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ data/users/*/mcp_home/
data/elements/
# MemPalace LTM vector store (ChromaDB runtime per tenant/user)
data/mempalace/
# Wren Engine local credentials (synced from AION .env)
wren/**/.env
wren/
# Runtime diagnostics (turn/agent debug JSONL — merge noise if tracked)
data/diagnostics/
data/diagnostics/agent-debug.jsonl
Expand Down
6 changes: 0 additions & 6 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ fan-out. If horizontal scaling is needed, use sticky sessions at the reverse pro
- **Admin auth** (`AION_ADMIN_PASSWORD_AUTH`): always on by default (Grafana-style).
Controls `/admin/*` endpoints. Separate from chat auth.

Legacy env aliases (`AION_CHAINLIT_*`, `CHAINLIT_AUTH_SECRET`) are deprecated;
new names (`AION_CHAT_*`) take precedence. The upgrade script
(`scripts/upgrade-aion.sh`) auto-migrates them.

## MCP tool registration

MCP tools are serialized via Haystack `Tool.to_dict()` → **must be top-level
Expand All @@ -79,8 +75,6 @@ Single database at `data/aion.db` (SQLite via aiosqlite + SQLAlchemy).
Migrations in `migrations/versions/`. Run them with Alembic (configured in
`alembic.ini`). Redis is optional (`AION_REDIS_URL`), with an in-process fallback.

Agent DB is a separate per-user SQLite under `data/agent_dbs/<tenant>/<user>.db`.

## Session management

Sessions are indexed by `(session_id, profile_name, user_id)`. MCP tools are
Expand Down
7 changes: 1 addition & 6 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,13 +307,8 @@ Password auth for chat-ui uses the unified `users` table and HMAC tokens (`src/c
| `AION_SETUP_CHAT_IDENTIFIER` | First admin username (only `-y` / `--import-state`) |
| `AION_SETUP_CHAT_PASSWORD` | First admin password (only `-y` / `--import-state`) |

**Legacy aliases (deprecated, read as fallback):**
`AION_CHAINLIT_PASSWORD_AUTH`, `CHAINLIT_AUTH_SECRET`, `AION_SETUP_CHAINLIT_IDENTIFIER`,
`AION_SETUP_CHAINLIT_PASSWORD`. The new names take precedence; the old names
will be removed in a future release. **Automatic migration** of a legacy `.env`:

```bash
./scripts/upgrade-aion.sh # invoca _migrate_env_legacy_keys()
./scripts/upgrade-aion.sh # invoca upgrade-aion
./scripts/upgrade-aion.sh --docker # idem in flusso Docker
./scripts/upgrade-aion.sh --dry-run # mostra cosa cambierebbe senza scrivere
```
Expand Down
5 changes: 1 addition & 4 deletions admin-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,10 @@ Apri [http://localhost:3870](http://localhost:3870) (in dev locale senza prefiss
| `/profiles` | Profili agente |
| `/skills` | Skill Markdown |
| `/hub` | Registry MCP |
| `/memory` | Query memory + LTM MemPalace |
| `/profile-memory` | File **SOUL / MEMORY / USER** per profilo (`/admin/profile-memory/*`) |
| `/memory` | Query memory + LTM Mnemos |
| `/security` | Audit sicurezza |
| `/settings` | Impostazioni |

Per le route **profile-memory**, se nel backend è impostato `AION_ADMIN_MEMORY_TOKEN`, inserisci lo stesso token nella pagina (salvato in `sessionStorage`).

## Build produzione

```bash
Expand Down
Loading
Loading