ssh-cli 0.5.2

Native Rust CLI that gives LLMs (Claude Code, Cursor, Windsurf) the ability to operate remote servers via SSH over stdin/stdout
Documentation
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/danilo-aguiar-br/ssh-cli/docs/schemas/vps-doctor.schema.json",
  "title": "vps doctor JSON (single root envelope, G-PAR-42)",
  "type": "object",
  "additionalProperties": true,
  "required": ["event", "ok", "local", "ssh_probe"],
  "properties": {
    "event": {
      "type": "string",
      "const": "vps-doctor"
    },
    "ok": {
      "type": "boolean",
      "description": "false when ssh_probe reported any host failure"
    },
    "local": {
      "type": "object",
      "description": "XDG/schema/secrets local diagnostics",
      "additionalProperties": true,
      "required": [
        "layer",
        "config_path",
        "exists",
        "permissions",
        "schema_version",
        "hosts",
        "known_hosts",
        "active_file",
        "telemetry"
      ],
      "properties": {
        "layer": { "type": "string" },
        "config_path": { "type": "string" },
        "exists": { "type": "boolean" },
        "permissions": { "type": "string" },
        "schema_version": { "type": "integer" },
        "hosts": { "type": "integer" },
        "known_hosts": { "type": "string" },
        "active_file": { "type": "string" },
        "secrets_at_rest": {
          "type": "string",
          "description": "encrypted or plaintext"
        },
        "secrets_key_source": {
          "type": "string",
          "description": "none | env | file | keyring | xdg_file"
        },
        "secrets_key_file": { "type": "string" },
        "secrets_plaintext_opt_out": { "type": "boolean" },
        "telemetry": { "type": "boolean", "const": false },
        "runtime": {
          "type": "object",
          "additionalProperties": false,
          "required": ["os", "arch", "is_wsl", "is_container", "is_ci", "is_termux"],
          "properties": {
            "os": { "type": "string" },
            "arch": { "type": "string" },
            "is_wsl": { "type": "boolean" },
            "is_container": { "type": "boolean" },
            "is_ci": { "type": "boolean" },
            "is_termux": { "type": "boolean" },
            "sandbox": { "type": ["string", "null"] }
          }
        }
      }
    },
    "ssh_probe": {
      "description": "null when --probe-ssh omitted; else health-check-batch-like object (G-PAR-29/38)",
      "oneOf": [
        { "type": "null" },
        {
          "type": "object",
          "required": ["event", "max_concurrency", "results"],
          "properties": {
            "event": { "type": "string", "const": "health-check-batch" },
            "max_concurrency": { "type": "integer" },
            "hosts": { "type": "integer" },
            "failures": { "type": "integer" },
            "results": {
              "type": "array",
              "items": {
                "type": "object",
                "required": ["name", "status"],
                "properties": {
                  "name": { "type": "string" },
                  "status": { "type": "string" },
                  "latency_ms": { "type": ["integer", "null"] },
                  "error": { "type": ["string", "null"] }
                }
              }
            }
          }
        }
      ]
    }
  }
}