Class: KairosMcp::Daemon::RestrictedShell::Result
- Inherits:
-
Struct
- Object
- Struct
- KairosMcp::Daemon::RestrictedShell::Result
- Defined in:
- lib/kairos_mcp/daemon/restricted_shell.rb
Instance Attribute Summary collapse
-
#cmd_hash ⇒ Object
Returns the value of attribute cmd_hash.
-
#duration_ms ⇒ Object
Returns the value of attribute duration_ms.
-
#sandbox_driver ⇒ Object
Returns the value of attribute sandbox_driver.
-
#signal ⇒ Object
Returns the value of attribute signal.
-
#status ⇒ Object
Returns the value of attribute status.
-
#stderr ⇒ Object
Returns the value of attribute stderr.
-
#stderr_truncated ⇒ Object
Returns the value of attribute stderr_truncated.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
-
#stdout_truncated ⇒ Object
Returns the value of attribute stdout_truncated.
Instance Method Summary collapse
Instance Attribute Details
#cmd_hash ⇒ Object
Returns the value of attribute cmd_hash
28 29 30 |
# File 'lib/kairos_mcp/daemon/restricted_shell.rb', line 28 def cmd_hash @cmd_hash end |
#duration_ms ⇒ Object
Returns the value of attribute duration_ms
28 29 30 |
# File 'lib/kairos_mcp/daemon/restricted_shell.rb', line 28 def duration_ms @duration_ms end |
#sandbox_driver ⇒ Object
Returns the value of attribute sandbox_driver
28 29 30 |
# File 'lib/kairos_mcp/daemon/restricted_shell.rb', line 28 def sandbox_driver @sandbox_driver end |
#signal ⇒ Object
Returns the value of attribute signal
28 29 30 |
# File 'lib/kairos_mcp/daemon/restricted_shell.rb', line 28 def signal @signal end |
#status ⇒ Object
Returns the value of attribute status
28 29 30 |
# File 'lib/kairos_mcp/daemon/restricted_shell.rb', line 28 def status @status end |
#stderr ⇒ Object
Returns the value of attribute stderr
28 29 30 |
# File 'lib/kairos_mcp/daemon/restricted_shell.rb', line 28 def stderr @stderr end |
#stderr_truncated ⇒ Object
Returns the value of attribute stderr_truncated
28 29 30 |
# File 'lib/kairos_mcp/daemon/restricted_shell.rb', line 28 def stderr_truncated @stderr_truncated end |
#stdout ⇒ Object
Returns the value of attribute stdout
28 29 30 |
# File 'lib/kairos_mcp/daemon/restricted_shell.rb', line 28 def stdout @stdout end |
#stdout_truncated ⇒ Object
Returns the value of attribute stdout_truncated
28 29 30 |
# File 'lib/kairos_mcp/daemon/restricted_shell.rb', line 28 def stdout_truncated @stdout_truncated end |
Instance Method Details
#success? ⇒ Boolean
33 |
# File 'lib/kairos_mcp/daemon/restricted_shell.rb', line 33 def success? = !signal && status == 0 |