A web app lists pending requests with full detail, leases and the audit log grouped by request, and sends Web Push notifications that can answer requests. Approvers sign in through an OpenID Connect provider; policy can require a fresh passkey (`confirm = "passkey"`) to approve, which only the web app can then give. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41 lines
1.3 KiB
TOML
41 lines
1.3 KiB
TOML
[package]
|
|
name = "slop-broker"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
description = "Approval broker that runs privileged operations for coding agents"
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
askama = "0.16"
|
|
async-trait = "0.1.92"
|
|
axum = { version = "0.8", default-features = false, features = ["http1", "tokio", "query", "form", "json"] }
|
|
base64 = "0.23.1"
|
|
bytes = "1"
|
|
ciborium = "0.2"
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
|
|
hex = "0.4"
|
|
humantime = "2"
|
|
# Already a dependency of `tokio-vsock`
|
|
nix = { version = "0.31", default-features = false, features = ["signal", "user"] }
|
|
openidconnect = "4.1"
|
|
rand = "0.9"
|
|
rustls = { version = "0.23", default-features = false, features = ["ring", "std"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_bytes = "0.11"
|
|
serde_json = "1"
|
|
sha2 = "0.11.1"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-tungstenite = { version = "0.27", features = ["rustls-tls-webpki-roots"] }
|
|
tokio-util = { version = "0.7", features = ["codec"] }
|
|
tokio-vsock = "0.7"
|
|
toml = { version = "0.9", default-features = false, features = ["parse", "serde", "std"] }
|
|
tower-sessions = "0.15"
|
|
tower-sessions-rusqlite-store = "0.15"
|
|
url = "2"
|
|
web-push = { version = "0.11", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|