Commit Graph
14 Commits
Author SHA1 Message Date
HermenixandClaude Sonnet 5.5 0ff3520563 container details: limits, sandbox flags and a live stats sample
Container details now carry the image id and the HostConfig resource limits
(CPU cores and shares, memory and swap bytes, pids, device requests) plus sandbox flags
(privileged, read-only rootfs, network mode, restart policy), with null meaning unlimited. A new
GET /api/v1/docker/containers/{name}/stats returns one live sample: CPU percent
of one core, memory working set, processes, block IO and network bytes. Peers
proxy the new route.

Env, labels, command lines and mounts are deliberately excluded from the payload.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 03:02:33 +00:00
ari 72fccc34f8 docs 2026-10-21 00:12:33 -04:00
ari b3b9103f2f Merge branch 'build-stamped-version' 2026-10-20 23:38:12 -04:00
ari 1a30b20ac0 Stamp the version as YYYY.MM.DD-<branch>-<sha>
build.rs builds the string (git, or SLINUXM_* env for builds without .git)
and the lib exposes it as VERSION. --version, /healthz, /api/v1/ping, MCP
server info and OTel service.version use it; OpenAPI info.version stays on
the semver so docs/openapi.json does not change per commit. The flake passes
the commit date and short rev to the package.
2026-10-20 23:27:46 -04:00
ari b38c66bcc8 added live redoc and slight refactors to tokens 2026-10-20 22:53:09 -04:00
ari a1117da01d G: F5 document the MCP stream and session delete 2026-10-20 15:54:13 -04:00
ari 34a1e1644c G: G4 Drift guard and docs commit the spec and fail tests on drift 2026-10-20 15:54:13 -04:00
ari 8b7569363c C: review round 2 proxy query unit rule and shared status classifier
Proxied journal/unit values now use the local unit-name helper instead of a
second, stricter check, so escaped units pass through as text, %5C or %5c.
The peer status table is one function shared with the transport, and the
segment/encoding cases left untested get allowlist and rejection cases.
2026-10-19 22:35:51 -04:00
ari cfb3a400df C: document proxied unit names, status mapping and peer header rules 2026-10-19 22:35:51 -04:00
ari 767b198ed7 C: C4 REST error mapping through peer_error_to_app with per-row tests 2026-10-19 22:35:51 -04:00
ari 58012018d9 C: C3 x-slinuxm-peer response header on every proxied outcome 2026-10-19 22:35:51 -04:00
ari bab6959a94 C: C2 GET-only pass-through proxy with allowlist, hop guard and query filter 2026-10-19 22:35:51 -04:00
ari bec0ab5736 C: C1 peer status routes 2026-10-19 22:35:51 -04:00
ari a511ff532e doc updates 2026-10-19 14:14:29 -04:00