client_responses
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| CreateTerminalResponse aclientp.schema.client_responses Response containing the ID of the created terminal. |
||
| KillTerminalResponse aclientp.schema.client_responses Response to the ``terminal/kill`` method. |
||
| ReadTextFileResponse aclientp.schema.client_responses Response containing the contents of a text file. |
||
| ReleaseTerminalResponse aclientp.schema.client_responses Response to terminal/release method. |
||
| RequestPermissionResponse aclientp.schema.client_responses Response to a permission request. |
||
| TerminalOutputResponse aclientp.schema.client_responses Response containing the terminal output and exit status. |
||
| WaitForTerminalExitResponse aclientp.schema.client_responses Response containing the exit status of a terminal command. |
||
| WriteTextFileResponse aclientp.schema.client_responses Response to `fs/write_text_file`. |
🛈 DocStrings¶
Client response schema definitions.
CreateTerminalResponse
¶
Bases: Response
Response containing the ID of the created terminal.
Source code in src/aclientp/schema/client_responses.py
KillTerminalResponse
¶
ReadTextFileResponse
¶
Bases: Response
Response containing the contents of a text file.
Source code in src/aclientp/schema/client_responses.py
ReleaseTerminalResponse
¶
RequestPermissionResponse
¶
Bases: Response
Response to a permission request.
Source code in src/aclientp/schema/client_responses.py
outcome
instance-attribute
¶
outcome: RequestPermissionOutcome
The user's decision on the permission request.
allowed
classmethod
¶
Create a response indicating that the permission request was allowed.
Source code in src/aclientp/schema/client_responses.py
denied
classmethod
¶
Create a response indicating that the permission request was denied.
TerminalOutputResponse
¶
Bases: Response
Response containing the terminal output and exit status.
Source code in src/aclientp/schema/client_responses.py
exit_status
class-attribute
instance-attribute
¶
exit_status: TerminalExitStatus | None = None
Exit status if the command has completed.
WaitForTerminalExitResponse
¶
Bases: Response
Response containing the exit status of a terminal command.