The preview tool could only name a port, so a static build needed a server the terminal had to keep alive. `preview` now accepts a path: the app reads the file or folder over the room's ssh sandbox and serves it from a signed host, with `..` and dotfiles refused and a 16 MiB cap. The target is stored with the room and replayed as a durable event. The pane shows a static path with a reload control and keeps the port field as a local fallback.
55 lines
1.8 KiB
TOML
55 lines
1.8 KiB
TOML
[package]
|
|
name = "rhema-together"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
rust-version = "1.89"
|
|
license = "MIT"
|
|
description = "A shared room where people and a Rhema agent work on code together."
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
argon2 = "0.5"
|
|
async-stream = "0.3"
|
|
async-trait = "0.1"
|
|
axum = { version = "0.8", features = ["ws", "macros"] }
|
|
axum-extra = { version = "0.10", features = ["cookie"] }
|
|
base64 = "0.22"
|
|
chacha20poly1305 = "0.10"
|
|
flate2 = "1"
|
|
futures = "0.3"
|
|
hex = "0.4"
|
|
hmac = "0.12"
|
|
hyper = { version = "1", features = ["client", "http1"] }
|
|
hyper-util = { version = "0.1", features = ["tokio"] }
|
|
mime_guess = "2"
|
|
percent-encoding = "2"
|
|
rand = "0.8"
|
|
rhema-bash = { path = "../rhema/crates/rhema-bash" }
|
|
rhema-core = { path = "../rhema/crates/rhema-core" }
|
|
rhema-host-agent = { path = "../rhema/crates/rhema-host-agent" }
|
|
rhema-provider = { path = "../rhema/crates/rhema-provider" }
|
|
rhema-provider-registry = { path = "../rhema/crates/rhema-provider-registry" }
|
|
rhema-sandbox = { path = "../rhema/crates/rhema-sandbox" }
|
|
rhema-sandbox-ssh = { path = "../rhema/crates/rhema-sandbox-ssh" }
|
|
rhema-transcript = { path = "../rhema/crates/rhema-transcript" }
|
|
russh = { version = "0.65", default-features = false, features = ["ring", "rsa"] }
|
|
rusqlite = { version = "0.37", features = ["bundled"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
serde_yaml = "0.9"
|
|
sha2 = "0.10"
|
|
ssh-key = { version = "0.6", features = ["ed25519", "rand_core"] }
|
|
tar = "0.4"
|
|
thiserror = "2"
|
|
time = "0.3"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-stream = { version = "0.1", features = ["sync"] }
|
|
tower-http = { version = "0.6", features = ["fs", "trace", "compression-gzip"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
uuid = { version = "1", features = ["v4"] }
|
|
|
|
[profile.release]
|
|
strip = true
|
|
codegen-units = 1
|