Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
ca7e01b
Add make swarmui-update for in-container SwarmUI upgrades
surrealwolf May 29, 2026
766bba6
Fix make sui update race and avoid full stack teardown
surrealwolf May 29, 2026
2dbc809
chore: move Compose/Comfy stack under legacy/
surrealwolf Nov 21, 2026
edaf8a8
feat: add OpenRouter operator, API, and Freya UI
surrealwolf Nov 21, 2026
9a1ebeb
merge: resolve conflicts with origin/main for #9
surrealwolf Nov 21, 2026
0d95536
feat: add Freya mock UI and agentic session assist
surrealwolf Nov 21, 2026
a9a2954
fix(ci): validate Compose and Dockerfiles under legacy/
surrealwolf Nov 21, 2026
60a84b0
fix: address Bugbot security and review findings (#9)
surrealwolf Nov 21, 2026
c9bb5e0
fix(security): close residual auth gaps on API and worker (#9)
surrealwolf Nov 21, 2026
ef7941f
fix(security): close UI proxy and asset auth gaps (#9)
surrealwolf Nov 21, 2026
6180a90
fix(security): stop leaking Civitai key in errors (#9)
surrealwolf Nov 21, 2026
591c46f
docs(env): align examples with OpenRouter stack (#9)
surrealwolf Nov 21, 2026
1e0694f
fix(api): route OpenRouter images correctly (#9)
surrealwolf Nov 21, 2026
0789208
style(ui): use Norse display font for Freya title (#9)
surrealwolf Nov 21, 2026
6c62d73
feat(civitai): previews, mixed types, and detail modal (#9)
surrealwolf Nov 21, 2026
a60d527
fix(ui): soft-fail Civitai detail when catalog misses id (#9)
surrealwolf Nov 21, 2026
2cbebdf
feat(chat): make left pane conversation-first (#9)
surrealwolf Nov 21, 2026
caef586
feat(samples): enable freya.dataknife.net Ingress (#9)
surrealwolf Nov 21, 2026
e1b5760
feat(worker): GPU stats and start/stop controls (#9)
surrealwolf Nov 21, 2026
bda935c
feat(studio): worker bases, auth token, kind TLS (#9)
surrealwolf Nov 22, 2026
0106706
feat: route models inside Freya and ship the studio worker
surrealwolf Nov 22, 2026
6c20dff
feat: load Auto model matrix from JSON
surrealwolf Nov 22, 2026
d2eb26f
merge: resolve main into studio branch
surrealwolf Nov 22, 2026
97b6453
fix: close review findings on CRDs, auth, and secrets
surrealwolf Nov 22, 2026
7d31183
fix: real image ids and prompt-bar cost
surrealwolf Nov 22, 2026
fb78e5a
fix(router): judge generate vs guidance
surrealwolf Nov 22, 2026
04e5760
fix(router): keep image advice in chat
surrealwolf Nov 22, 2026
1ab4cdf
fix(router): trust intent over render verbs
surrealwolf Nov 22, 2026
a17a17d
feat(studio): add downloads and agent tools
surrealwolf Nov 22, 2026
c6cbcd9
fix(web): match download icon contrast
surrealwolf Nov 22, 2026
fa4b854
fix(web): open cost tier from $ button
surrealwolf Nov 22, 2026
61dfd26
fix(web): replace empty-state art
surrealwolf Nov 22, 2026
ed2178a
feat(web): archive and delete sessions
surrealwolf Nov 23, 2026
143ef1e
fix(web): refresh local models on install
surrealwolf Nov 23, 2026
f15101f
fix(api): pass local adult prompts through
surrealwolf Nov 23, 2026
79dd319
fix(api): restore local prompt-sd rewrite
surrealwolf Nov 23, 2026
0a2c7cc
fix: close remaining review findings
surrealwolf Nov 23, 2026
11ff40a
fix(api): fall open when adult rewrite fails
surrealwolf Nov 23, 2026
37a4709
fix: adult-scan panic and MCP host sample
surrealwolf Nov 23, 2026
b05f640
fix: keep worker disable and MCP hosts
surrealwolf Nov 23, 2026
5b6edb2
fix(web): Enable follows worker off state
surrealwolf Nov 23, 2026
9cc6e34
refactor(worker)!: drop enable/disable switch
surrealwolf Nov 23, 2026
a840e50
fix(security): block path injection and url logs
surrealwolf Nov 23, 2026
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
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,11 @@ swarmui/bin/
.git/
.env
.env.*
target/
web/node_modules/
web/dist/
data/
legacy/
*.png
*.md
.github/
61 changes: 56 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,9 +1,60 @@
# Freya local / operator stack (OpenRouter + optional worker)
# Copy: cp .env.example .env
# Then fill OPENROUTER_API_KEY (required for real API). Never commit .env.
#
# Single-system Docker Compose (no k8s): use deploy/compose/.env.example instead
# cp deploy/compose/.env.example deploy/compose/.env && make compose-up
# See docs/COMPOSE.md (distinct from legacy/docker-compose.yml).

# --- Required for cloud chat + images ---
OPENROUTER_API_KEY=

# --- Optional integrations ---
# LoRA search / install onto a diffusion worker
CIVITAI_API_KEY=
# Hugging Face (private/gated model downloads)
HF_TOKEN=

# --- Optional local auth (empty = open with warn; set for anything beyond localhost) ---
FREYA_API_TOKEN=
# Game-operator style admin login (UI Sign in). In-cluster: from Secret …-admin.
FREYA_ADMIN_USER=admin
FREYA_ADMIN_PASSWORD=
FREYA_WORKER_TOKEN=
# Comma-separated browser origins; empty = permissive when no API token
FREYA_CORS_ORIGINS=
# Vite UI bearer when FREYA_API_TOKEN is set (or Settings → Generate API token)
VITE_FREYA_API_TOKEN=
# Runtime secrets (UI keys + rotated API token). In-cluster: /data/gallery/.freya-runtime.json
# FREYA_SECRETS_FILE=./data/secrets.json

# --- Optional diffusion worker (local stub or remote GPU) ---
# Local: host stub on :8091. In-cluster Studio may point at a remote
# FreyaDiffusionWorker (e.g. https://vllm.dataknife.net) via CR — separate from this.
FREYA_DIFFUSION_WORKER_URL=http://127.0.0.1:8091
# Optional: require Bearer on /v1 routes (empty = open local/dev)
# FREYA_API_TOKEN=
# FREYA_WORKER_TOKEN= # same value on freya-api + freya-worker
# FREYA_CORS_ORIGINS=http://127.0.0.1:5173
# VITE_FREYA_API_TOKEN= # for local Vite UI when API token is set
FREYA_WORKER_PORT=8091
# Prefer game-drive path for large weights (repo ./data/models may symlink here)
FREYA_MODELS_DIR=/mnt/game2/freya/models
# Local start/stop (Settings → Worker). Prefer docker when this container exists.
FREYA_WORKER_CONTAINER=freya-local-worker
# FREYA_WORKER_SYSTEMD_UNIT=freya-worker.service
# FREYA_WORKER_TLS_INSECURE=false

# --- Optional API paths / models (defaults match freya-api) ---
FREYA_BIND=127.0.0.1:8080
FREYA_GALLERY_DIR=./data/gallery
FREYA_PACKS_DIR=./packs
FREYA_SECRETS_FILE=./data/secrets.json
# OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
# FREYA_CHAT_MODEL=openrouter/auto
# FREYA_IMAGE_MODEL=auto
# FREYA_ROUTER_MODEL=auto

# --- Optional Freya MCP (Streamable HTTP; make run-mcp) ---
# FREYA_MCP_BIND=127.0.0.1:8090
# FREYA_API_URL=http://127.0.0.1:8080
# FREYA_MCP_ALLOWED_HOSTS=localhost,127.0.0.1 # empty or * is loopback only
# (reuses FREYA_API_TOKEN above)

# --- Container UI (nginx) — set by operator in-cluster; local Docker only if needed ---
# FREYA_API_UPSTREAM=http://127.0.0.1:8080
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ logs/
.env
.env.*
!.env.example
!deploy/compose/.env.example
*.pem

# .NET (legacy SwarmUI)
Expand Down
Loading
Loading