Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
16bac98
feat: add OpenRouter operator, API, and Freya UI
surrealwolf Nov 21, 2026
ffe699d
Add make swarmui-update for Docker SwarmUI upgrades (#7)
surrealwolf May 29, 2026
9381de3
feat: add Freya mock UI and agentic session assist
surrealwolf Nov 21, 2026
08a3b2b
fix: address Bugbot security and review findings (#9)
surrealwolf Nov 21, 2026
220e01a
fix(security): close residual auth gaps on API and worker (#9)
surrealwolf Nov 21, 2026
22df548
fix(security): close UI proxy and asset auth gaps (#9)
surrealwolf Nov 21, 2026
fd89c1b
fix(security): stop leaking Civitai key in errors (#9)
surrealwolf Nov 21, 2026
57efc29
docs(env): align examples with OpenRouter stack (#9)
surrealwolf Nov 21, 2026
e512204
fix(api): route OpenRouter images correctly (#9)
surrealwolf Nov 21, 2026
58485bf
style(ui): use Norse display font for Freya title (#9)
surrealwolf Nov 21, 2026
34fe85c
feat(civitai): previews, mixed types, and detail modal (#9)
surrealwolf Nov 21, 2026
13e4d12
fix(ui): soft-fail Civitai detail when catalog misses id (#9)
surrealwolf Nov 21, 2026
a306f5a
feat(chat): make left pane conversation-first (#9)
surrealwolf Nov 21, 2026
9483381
feat(samples): enable freya.dataknife.net Ingress (#9)
surrealwolf Nov 21, 2026
add803c
feat(worker): GPU stats and start/stop controls (#9)
surrealwolf Nov 21, 2026
ec4d5da
feat(studio): worker bases, auth token, kind TLS (#9)
surrealwolf Nov 22, 2026
1c71416
feat: route models inside Freya and ship the studio worker
surrealwolf Nov 22, 2026
f8b8114
feat: load Auto model matrix from JSON
surrealwolf Nov 22, 2026
5ccf051
feat: Freya OpenRouter operator and approachable UI (#9)
surrealwolf Nov 21, 2026
c7bf2d5
fix: close review findings on CRDs, auth, and secrets
surrealwolf Nov 22, 2026
964e416
fix: real image ids and prompt-bar cost
surrealwolf Nov 22, 2026
c2f573c
fix(router): judge generate vs guidance
surrealwolf Nov 22, 2026
1bd5d75
fix(router): keep image advice in chat
surrealwolf Nov 22, 2026
72e33cd
fix(router): trust intent over render verbs
surrealwolf Nov 22, 2026
4cc2883
feat(studio): add downloads and agent tools
surrealwolf Nov 22, 2026
41acb37
fix(web): match download icon contrast
surrealwolf Nov 22, 2026
61f3c56
fix(web): open cost tier from $ button
surrealwolf Nov 22, 2026
be5a500
fix(web): replace empty-state art
surrealwolf Nov 22, 2026
90a16b3
feat(web): archive and delete sessions
surrealwolf Nov 23, 2026
929c902
fix(web): refresh local models on install
surrealwolf Nov 23, 2026
0c7d0c4
fix(api): pass local adult prompts through
surrealwolf Nov 23, 2026
b6089a9
fix(api): restore local prompt-sd rewrite
surrealwolf Nov 23, 2026
fa8a482
fix: close remaining review findings
surrealwolf Nov 23, 2026
9229d44
fix(api): fall open when adult rewrite fails
surrealwolf Nov 23, 2026
5653861
fix: adult-scan panic and MCP host sample
surrealwolf Nov 23, 2026
628c1e4
fix: keep worker disable and MCP hosts
surrealwolf Nov 23, 2026
3107553
fix(web): Enable follows worker off state
surrealwolf Nov 23, 2026
53dc1be
refactor(worker)!: drop enable/disable switch
surrealwolf Nov 23, 2026
4335fcb
fix(security): block path injection and url logs
surrealwolf Nov 23, 2026
9d5c823
fix(chat): prefer installed asset details
surrealwolf Nov 23, 2026
e1d5ef0
fix(web): shrink other-match thumbs
surrealwolf Nov 23, 2026
8027655
fix(web): list Civitai matches on Styles
surrealwolf Nov 23, 2026
9248f65
fix(web): filter Styles installed rows
surrealwolf Nov 23, 2026
21a4c39
feat(civitai): search one asset type
surrealwolf Nov 23, 2026
1f546c0
fix(styles): remove sample style presets
surrealwolf Nov 23, 2026
a000a30
feat(studio): put lookups on Agent tab
surrealwolf Nov 23, 2026
093a35f
fix(chat): query the subject name
surrealwolf Nov 23, 2026
93bb277
fix(web): collapse route and tool errors
surrealwolf Nov 23, 2026
7cfd49e
fix(civitai): send nsfw on search
surrealwolf Nov 23, 2026
9058688
fix(gallery): animate gif previews
surrealwolf Nov 23, 2026
16d168c
feat: save generation meta from Civitai examples
surrealwolf Nov 23, 2026
cb478fc
fix(web): keep chat status readable and color mock links
surrealwolf Nov 23, 2026
6663ff1
feat(agent): add community image gallery
surrealwolf Nov 23, 2026
a2c8261
feat(agent): show checkpoint on community images
surrealwolf Nov 23, 2026
96dbfb6
fix(api): send worker quantity once
surrealwolf Nov 23, 2026
d185e53
feat(gallery): page community images
surrealwolf Nov 23, 2026
2f4aaff
feat(gallery): icon community image actions
surrealwolf Nov 23, 2026
b711b10
feat(web): fill studio fields from gallery copy
surrealwolf Nov 23, 2026
6dcf1e4
fix(web): pick recommended gallery base
surrealwolf Nov 23, 2026
c2012c3
feat(web): pin installed Loras on gallery copy
surrealwolf Nov 24, 2026
d74c0f1
fix(api): tolerate non-numeric LoRA modelId on generate
surrealwolf Nov 24, 2026
c1582d0
fix(web): gallery copy base and Agent Meta layout
surrealwolf Nov 24, 2026
15c4303
fix(web): render Civitai community MP4 as video
surrealwolf Nov 24, 2026
2ac2f02
fix(studio): dedupe community gallery and proxy Civitai video
surrealwolf Nov 24, 2026
d298ad7
fix(web): dedupe gallery preview vs wall tiles
surrealwolf Nov 24, 2026
fd301c7
feat: reproducible generation from Civitai and gallery sidecars
surrealwolf Nov 24, 2026
4f84e76
fix: honor enhance-off reproduction and pin all post LoRAs
surrealwolf Nov 24, 2026
1d78cfc
fix: strip A1111 lora tags before local generate
surrealwolf Nov 24, 2026
c004edd
fix: clear gallery copy state and parse A1111 prompt weights
surrealwolf Nov 24, 2026
daa8f4a
feat: add local worker image rollouts for external GPU hosts
surrealwolf Nov 24, 2026
5937233
fix(worker): align SDXL engine with A1111 sampling path
surrealwolf Nov 24, 2026
0d6b63a
chore: bump freya-gpu worker image to 3094a5d
surrealwolf Nov 24, 2026
fd0899b
fix(worker): compel SDXL encoding and LoRA adapter scaling
surrealwolf Nov 24, 2026
f71eb5d
fix(worker,api,ui): pad SDXL Compel embeds; skip redundant asset hint
surrealwolf Nov 24, 2026
ef2db08
chore: bump freya-gpu worker image tag to f2be1eb
surrealwolf Nov 24, 2026
269759c
feat(web): unify gallery clear, copy, remix, and asset modals
surrealwolf Nov 24, 2026
f924e19
fix(rebase): restore studio UI and API tree after #9 replay drift
surrealwolf Nov 24, 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
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,17 @@ COPY --from=builder /src/target/release/freya-operator /usr/local/bin/freya-oper
USER nonroot:nonroot
ENTRYPOINT ["/usr/local/bin/freya-operator"]

FROM gcr.io/distroless/cc-debian12:nonroot AS api
# debian slim (not distroless) so gif modality can run ffmpeg.
# UID 65532 matches the previous distroless nonroot and gallery PVC ownership.
FROM debian:bookworm-slim AS api
RUN apt-get update \
&& apt-get install -y --no-install-recommends ffmpeg \
&& rm -rf /var/lib/apt/lists/* \
&& groupadd --gid 65532 nonroot \
&& useradd --uid 65532 --gid 65532 --no-create-home --shell /usr/sbin/nologin nonroot
COPY --from=builder /src/target/release/freya-api /usr/local/bin/freya-api
COPY packs /packs
USER nonroot:nonroot
USER 65532:65532
ENV FREYA_PACKS_DIR=/packs
ENTRYPOINT ["/usr/local/bin/freya-api"]

Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ run-worker: ## Run diffusion worker locally (stub PNG unless FREYA_ENGINE_URL se
run-local-worker: ## Build/run Docker freya-local-worker with GPU + Diffusers
./scripts/run-local-worker.sh

.PHONY: update-local-worker
update-local-worker: ## Pull CR/image tag and recreate freya-local-worker (GPU host)
./scripts/update-local-worker.sh

run-operator: ## Run operator (needs kubeconfig)
$(CARGO) run -p freya-operator --bin freya-operator

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ spec:
# Public / LAN URL of freya-local-worker (or vLLM-Omni-compatible) — not the Freya UI host.
externalEndpoint: https://vllm.dataknife.net
engine: vllm-omni
# Desired worker image — patch tag here, then on the GPU host run:
# ./scripts/update-local-worker.sh --from-cr freya-gpu
image:
repository: harbor.dataknife.net/library/freya-diffusion-worker
tag: "f2be1eb"
pullPolicy: Always
# Must match FREYA_WORKER_TOKEN on the remote worker process
authSecretRef:
name: freya-worker-token
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
spec:
placement: incluster
engine: vllm-omni
image:
repository: harbor.dataknife.net/library/freya-diffusion-worker
tag: "4a17ec9"
pullPolicy: IfNotPresent
model: stabilityai/stable-diffusion-xl-base-1.0
gpuCount: 1
modelsPvcSize: 100Gi
Expand Down
1 change: 0 additions & 1 deletion config/samples/freya_v1alpha1_freyastudio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ spec:
# wildcard-dataknife-net-tls (TLS; make kind-tls or gitops cert-sync)
# Architecture: Studio/operator/MCP/Ingress in k8s (shared cluster OK); GPU worker on host via URL.
# kind is a local dev path — same CRs work production-shaped on shared k8s. See docs/ARCHITECTURE.md.
# Optional style pack sample: freya_v1alpha1_freyastyle.yaml (freya.png NL example)
# Public UI: https://freya.dataknife.net — for kind, run ./scripts/kind-hosts.sh
# Public MCP (Streamable HTTP): https://freya.dataknife.net/mcp
# Cursor MCP config example:
Expand Down
15 changes: 0 additions & 15 deletions config/samples/freya_v1alpha1_freyastyle.yaml

This file was deleted.

1 change: 1 addition & 0 deletions crates/freya-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ path = "src/main.rs"
[dependencies]
anyhow = { workspace = true }
axum = { workspace = true }
futures = { workspace = true }
base64 = { workspace = true }
chrono = { workspace = true }
clap = { workspace = true }
Expand Down
Loading
Loading