swactor/crates/node/Cargo.toml
Zachery Aaron Shores-Chmielewski ae9ca3bcf3 feat: datastream feature cleaning
Promote pipeline-parallel-inference to a first-class app and consolidate observability on the datastream wire, decoupling the dashboard crate from `distribution`.

- apps/pipeline-parallel-inference: move the example out of `examples/` into `apps/` as its own workspace, rename binaries to `pp-worker`/`pp-orchestrator`, and strip release binaries
- cluster: add `ClusterNode`, a synchronous facade over the actorized distribution protocol (IrohDriver + per-node Runtime hosting Swim/Registry/Metadata/Directory actors with a `MembershipFanout`), replacing ad-hoc `driver.node()`/`tick()` call sites
- fleet: add per-node fleet telemetry that ships identity/resource records as `DatastreamFrame`s over the cluster transport to the orchestrator's `DatastreamSink`, folded into a `FleetView` on a 3s tick
- provision: add best-effort, opt-in SSH boot-phase telemetry (`PP_DEPLOY_KEY`) that streams rented-node boot logs onto the orchestrator's datastream as `proc.boot.<stage>.*`
- dashboard: rewire the crate dependency from `distribution` to `datastream`, drop the standalone `swactor-datastream-dashboard` binary, and rewrite `datastream_source.rs` to demux per-node frames into Overview/Distribution/Fleet views with live-node TTL filtering
- distribution: refresh dist/netmap plugin copy and README from "Kademlia routing" to gossip-directory terminology

Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2026-06-09 13:29:07 +04:00

38 lines
947 B
TOML

[package]
name = "node"
version = "0.1.0"
edition = "2024"
[dependencies]
swactor = { path = "../..", features = ["serde", "tracing", "transport"] }
dashboard = { path = "../dashboard" }
swactor-datastore = { path = "../datastore" }
swactor-transport = { path = "../transport" }
distribution = { path = "../distribution" }
datastream = { path = "../datastream" }
clap = { version = "4", features = ["derive"] }
ctrlc = "3"
tokio = { version = "1", features = ["rt-multi-thread"] }
iroh = { version = "0.98", optional = true }
toml = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tracing = "0.1"
libc = "0.2"
[lib]
name = "swactor_node"
path = "src/lib.rs"
[features]
default = ["iroh", "relay"]
iroh = ["distribution/iroh", "dep:iroh"]
relay = ["iroh", "distribution/relay"]
[[bin]]
name = "swactor"
path = "src/main.rs"
[[bin]]
name = "swactor-datastream-collector"
path = "src/bin/swactor-datastream-collector.rs"