- hound-api: DbFile (file + updated_at), Status.db, UpdateResult, Client::update() - houndd: probe() extracts signature freshness from /var/lib/clamav mtimes; update() tries 'sudo freshclam', falls back to plain 'freshclam' and reports the honest reason on failure; output capped to 2KB tail - hound CLI: 'hound update' with --json parity and human output - rename Status.clamav_present -> engine_present + add Status.engine (prep for the engine seam; wire stays engine-agnostic) Live-verified: status shows DB file + last-modified RFC3339; update returns ok:false with the real log for a plain user (exit 1).
13 lines
319 B
TOML
13 lines
319 B
TOML
[package]
|
|
name = "hound-api"
|
|
description = "Shared wire types + Unix-socket JSON-RPC client for Hound"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[dependencies]
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
anyhow.workspace = true
|
|
time.workspace = true
|