The system prompts of the free summary and the paid detailed analysis can be edited per language under /admin/promptok. Every save is a new row in prompt_revisions (NULL = built-in text); new analyses record the revision in prompt_version (v2-r<id>) and the worker uses exactly that text. Existing analyses stay; the cross-user cache only copies results of the same revision. The prompt code moves to the shared analysis-prompt crate so the backend can show the built-in text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
58 lines
1.9 KiB
TOML
58 lines
1.9 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
members = [
|
|
"crates/swisseph-sys",
|
|
"crates/astro-engine",
|
|
"crates/geo-tz",
|
|
"crates/service-kit",
|
|
"crates/db",
|
|
"crates/horoscope-client",
|
|
"crates/analysis-prompt",
|
|
"services/horoscope-api",
|
|
"services/backend",
|
|
"services/worker",
|
|
]
|
|
|
|
[workspace.package]
|
|
edition = "2024"
|
|
version = "0.1.0"
|
|
license = "AGPL-3.0-or-later"
|
|
publish = false
|
|
|
|
[workspace.dependencies]
|
|
swisseph-sys = { path = "crates/swisseph-sys" }
|
|
astro-engine = { path = "crates/astro-engine" }
|
|
geo-tz = { path = "crates/geo-tz" }
|
|
service-kit = { path = "crates/service-kit" }
|
|
db = { path = "crates/db" }
|
|
horoscope-client = { path = "crates/horoscope-client" }
|
|
analysis-prompt = { path = "crates/analysis-prompt" }
|
|
|
|
anyhow = "1"
|
|
argon2 = { version = "0.5", features = ["std"] }
|
|
axum = "0.8"
|
|
axum-extra = { version = "0.10", features = ["cookie"] }
|
|
base64 = "0.22"
|
|
jsonwebtoken = { version = "9", default-features = false }
|
|
lettre = { version = "0.11", default-features = false, features = ["builder", "hostname", "smtp-transport", "tokio1", "tokio1-rustls", "webpki-roots", "ring"] }
|
|
rand = "0.9"
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
|
|
sha2 = "0.10"
|
|
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "postgres", "macros", "migrate", "uuid", "time", "json"] }
|
|
time = { version = "0.3", features = ["serde-well-known"] }
|
|
uuid = { version = "1", features = ["v7", "serde"] }
|
|
deunicode = "1"
|
|
jiff = { version = "0.2", default-features = false, features = ["std", "tzdb-zoneinfo", "tz-fat"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
thiserror = "2"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "net", "signal"] }
|
|
tower-http = { version = "0.6", features = ["trace", "cors"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
strip = true
|