ACPex.Schema.Client.Terminal.OutputResponse (ACPex v0.1.0)
View SourceResponse containing terminal output.
Sent by the client in response to a TerminalOutputRequest, containing the terminal's output and optionally its exit status.
Required Fields
output
- The terminal output (string)truncated
- Whether the output was truncated (boolean)
Optional Fields
exit_status
- Terminal exit status (map with exitCode and signal)meta
- Additional metadata (map)
Example
%ACPex.Schema.Client.Terminal.OutputResponse{
output: "Hello, world!\n",
truncated: false,
exit_status: %{"exitCode" => 0, "signal" => nil}
}
JSON Representation
{
"output": "Hello, world!\n",
"truncated": false,
"exitStatus": {"exitCode": 0, "signal": null}
}
Summary
Functions
Creates a changeset for validation.
Types
Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Creates a changeset for validation.
Required Fields
output
- Must be presenttruncated
- Must be present