archastro.platform.types.computers

 1# Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
 2# This file is auto-generated by @archastro/sdk-generator. Do not edit.
 3# Content hash: 832fce2a8b08
 4
 5
 6from pydantic import BaseModel, Field
 7
 8
 9class ComputerExecResult(BaseModel):
10    """
11    The result of executing a shell command on an agent's computer environment. Contains the captured output and the process exit code.
12    """
13
14    exit_code: int | None = Field(
15        default=None,
16        description="The UNIX exit code returned by the process. `0` indicates success; any non-zero value indicates an error. `null` if the process did not terminate normally.",
17    )
18    output: str | None = Field(
19        default=None,
20        description="The combined stdout and stderr output produced by the command. `null` if the command produced no output.",
21    )
class ComputerExecResult(pydantic.main.BaseModel):
10class ComputerExecResult(BaseModel):
11    """
12    The result of executing a shell command on an agent's computer environment. Contains the captured output and the process exit code.
13    """
14
15    exit_code: int | None = Field(
16        default=None,
17        description="The UNIX exit code returned by the process. `0` indicates success; any non-zero value indicates an error. `null` if the process did not terminate normally.",
18    )
19    output: str | None = Field(
20        default=None,
21        description="The combined stdout and stderr output produced by the command. `null` if the command produced no output.",
22    )

The result of executing a shell command on an agent's computer environment. Contains the captured output and the process exit code.

exit_code: int | None = None

The UNIX exit code returned by the process. 0 indicates success; any non-zero value indicates an error. null if the process did not terminate normally.

output: str | None = None

The combined stdout and stderr output produced by the command. null if the command produced no output.