plugin-cstream
| Repo | box/github.com/opencharly/plugin-cstream:v2026.325.1242 |
| Plugin | yes — see the plugin reference |
OUT-OF-TREE charly plugin serving the cstream check verb — the probes
that can only be answered from the STREAM side of a cstream deployment,
served OUT-OF-PROCESS over go-plugin gRPC via the charly plugin SDK.
Why a verb of its own rather than methods on wl:. screenshot already
exists on four verbs (cdp, wl, vnc, spice), each asserting its own
protocol’s view of the pixels, and that duplication is deliberate: a
probe is worth having only if it can fail on the defect it exists to
catch. wl: screenshot reads the COMPOSITOR, so it passes cleanly while
the encoder is misconfigured or the transport is dead. cstream: frame
pulls a frame back out THROUGH the negotiated WebRTC track, so encoding,
negotiation and transport are all in its failure path. Folding it into
wl: would produce a probe that cannot fail on the bug it was written
for.
SCOPE IS DELIBERATELY NARROW.
- Served, because the deployment can actually answer them:
status,frameandlogin;- the input methods
type,key,move,clickandscroll. These drive the desktop through the stream exactly as a browser viewer does (cstream-input joins over WebRTC and sends the player’s control-channel JSON). Each passes only once webrtcsink has answered every event.
- NOT served:
session-list,stats,volume,clipboard,idleandlogout. The streamer has no control surface behind them yet, and a method that cannot be exercised reads as coverage while providing none.
The plugin owns no podman/venue machinery. It uses BOTH reverse legs
because the two halves of the deployment are reachable differently:
ResolveEndpoint for the gateway’s HTTP surface, and
ExecutorFromInvoke for anything that must run inside the venue (the
WebRTC consumer pull, and authenticating through the session leader).
Acceptance plan
Section titled “Acceptance plan”This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.
| Intent | Step |
|---|---|
check |
the cstream verb dispatches through the provider registry and reports the gateway’s own readiness view on a live deployment |

