dsh-cli
Recipe card from the charly-tools plugin (Images — the deployable catalog).
dsh-cli
Section titled “dsh-cli”The compiled-in charly dsh management CLI for a deployed
deepseek-harness (dsh) box — a command:dsh plugin. It reaches a
DEPLOYED box over the reverse channel via the plugin-cmd pattern (the
“pod-lifecycle” host-builder’s op=“cmd”), so it requires COMPILED-IN
placement. Use it to inspect a running dsh deployment: the dsh
version, the web UI health, the profiles under $DSH_HOME/profiles,
and a profile’s plugins.
Command tree
Section titled “Command tree”charly dsh status --box <name> [--instance <name>]— dsh version + web UI health in the box.charly dsh profile list --box <name> [--instance <name>]— profiles under$DSH_HOME/profiles.charly dsh plugin list --box <name> [--instance <name>] --profile <name>— a profile’s plugins (default profile:web).
Every leaf takes --box <name> (required) + --instance. The
command’s stdout rides the host-held interactive leg straight to the
operator’s terminal; a non-zero exit in the box propagates as the
command’s own exit code.
The dsh: check verb
Section titled “The dsh: check verb”The plugin ALSO serves the declarative dsh: check verb — the
in-box probe counterpart of the CLI, authored as a check: step in
a candy/box plan. It is IN-BOX (the one place plugin-dsh diverges
from plugin-agentteams’ host-based cc.ResolveEndpoint): the
provider runs dsh commands INSIDE the venue via cc.Exec()
(cc.Exec() works under both box and live modes — the built image
carries the dsh binary + $DSH_HOME layout). Methods:
dsh: version—dsh --versionin the venue (build + deploy context).dsh: web-running— probehttp://127.0.0.1:3080/in-box via curl (deploy context; skips undercharly check box— no running service on a disposablepodman run --rm).dsh: profile-list— list profiles under$DSH_HOME/profiles(build + deploy context).dsh: plugin-list— list plugins for a profile (profile: <name>, defaultweb) viadsh plugin --profile <name> list(build + deploy context).
The verb’s method + method-exclusive modifiers ride the desugared
plugin input, validated at runtime against the served #DshInput
schema.
Example
Section titled “Example”charly dsh status --box my-dsh-boxcharly dsh profile list --box my-dsh-boxcharly dsh plugin list --box my-dsh-box --profile webCross-References
Section titled “Cross-References”/charly-tools:dsh— the dsh candy: the npm-installed CLI + the socat-exposed web service./charly-internals:plugin— compiled-in command plugins, the provider model.