diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-19 21:54:54 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-19 21:54:54 -0500 |
| commit | fcb8629182fa1552e4a840ccd4ec0aa2b8042cc0 (patch) | |
| tree | e389479cf9349fbdab107da739bceef11cf8e7ee /Omni/Dev/Beryllium | |
| parent | e856c766584ed933bed0b79c7ef47b6d98b0fb7e (diff) | |
feat(ava): add tool trace viewer mini-app
- Add SQLite storage for tool traces (Omni/Ava/Trace.hs)
- Add web server to serve trace viewer (Omni/Ava/Web.hs)
- Add HTML/CSS/JS trace viewer UI (Omni/Ava/Web/trace.html)
- Integrate trace storage into Engine.hs tool execution callback
- Add trace links to Telegram responses when AVA_WEB_URL is set
- Configure Tailscale Funnel for public access
- Fix pre-push hook variable scope bug
- Add direnv, bash, nix to Ava service PATH
- Add mustache dep to Ava.hs for template rendering
Epic: t-272
Diffstat (limited to 'Omni/Dev/Beryllium')
| -rw-r--r-- | Omni/Dev/Beryllium/Ava.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Omni/Dev/Beryllium/Ava.nix b/Omni/Dev/Beryllium/Ava.nix index becbf9e..7563b26 100644 --- a/Omni/Dev/Beryllium/Ava.nix +++ b/Omni/Dev/Beryllium/Ava.nix @@ -35,12 +35,14 @@ bild.pkgs.git bild.pkgs.sqlite bild.pkgs.ffmpeg + bild.pkgs.bash pkgs.curl pkgs.pandoc pkgs.imagemagick pkgs.csvkit pkgs.openai-whisper-cpp pkgs.direnv + pkgs.nix ]} ''; }; @@ -61,6 +63,8 @@ in { "AVA_DATA_ROOT=/home/ava" "HOME=/home/ava" "OLLAMA_URL=http://localhost:11434" + "AVA_WEB_PORT=8079" + "AVA_WEB_URL=https://beryllium.oryx-ide.ts.net" ]; EnvironmentFile = "/run/secrets/ava.env"; @@ -111,4 +115,9 @@ in { chown ava:users /home/ava/.bashrc fi ''; + + # Note: Tailscale Funnel for Ava web server is configured via: + # tailscale funnel --bg 8079 + # This persists in tailscaled config and doesn't need a systemd service. + # URL: https://beryllium.oryx-ide.ts.net/ } |
