ssh-cli 0.4.1

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/scp-transfer.schema.json",
  "title": "scp transfer JSON",
  "description": "Structured success payload on stdout for `ssh-cli scp upload|download --json` (or global --output-format json). Regular files only. Failures use error-envelope.schema.json on stderr.",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "ok",
    "event",
    "direction",
    "vps",
    "local",
    "remote",
    "bytes",
    "duration_ms"
  ],
  "properties": {
    "ok": {
      "type": "boolean",
      "const": true
    },
    "event": {
      "type": "string",
      "const": "scp-transfer",
      "description": "Event discriminator for agent multiplex (GAP-SSH-IO-009); parity with tunnel_listening"
    },
    "direction": {
      "type": "string",
      "enum": ["upload", "download"]
    },
    "vps": {
      "type": "string",
      "description": "Registered VPS name used for the transfer"
    },
    "local": {
      "type": "string",
      "description": "Local filesystem path"
    },
    "remote": {
      "type": "string",
      "description": "Remote filesystem path"
    },
    "bytes": {
      "type": "integer",
      "minimum": 0,
      "description": "Bytes transferred"
    },
    "duration_ms": {
      "type": "integer",
      "minimum": 0,
      "description": "Wall time of the transfer in milliseconds"
    }
  }
}