Class: Ocak::ClaudeRunner::AgentResult
- Inherits:
-
Struct
- Object
- Struct
- Ocak::ClaudeRunner::AgentResult
- Defined in:
- lib/ocak/claude_runner.rb
Instance Attribute Summary collapse
-
#cost_usd ⇒ Object
Returns the value of attribute cost_usd.
-
#duration_ms ⇒ Object
Returns the value of attribute duration_ms.
-
#files_edited ⇒ Object
Returns the value of attribute files_edited.
-
#num_turns ⇒ Object
Returns the value of attribute num_turns.
-
#output ⇒ Object
Returns the value of attribute output.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
Instance Attribute Details
#cost_usd ⇒ Object
Returns the value of attribute cost_usd
10 11 12 |
# File 'lib/ocak/claude_runner.rb', line 10 def cost_usd @cost_usd end |
#duration_ms ⇒ Object
Returns the value of attribute duration_ms
10 11 12 |
# File 'lib/ocak/claude_runner.rb', line 10 def duration_ms @duration_ms end |
#files_edited ⇒ Object
Returns the value of attribute files_edited
10 11 12 |
# File 'lib/ocak/claude_runner.rb', line 10 def files_edited @files_edited end |
#num_turns ⇒ Object
Returns the value of attribute num_turns
10 11 12 |
# File 'lib/ocak/claude_runner.rb', line 10 def num_turns @num_turns end |
#output ⇒ Object
Returns the value of attribute output
10 11 12 |
# File 'lib/ocak/claude_runner.rb', line 10 def output @output end |
#success ⇒ Object
Returns the value of attribute success
10 11 12 |
# File 'lib/ocak/claude_runner.rb', line 10 def success @success end |
Instance Method Details
#blocking_findings? ⇒ Boolean
13 |
# File 'lib/ocak/claude_runner.rb', line 13 def blocking_findings? = output.to_s.include?("\u{1F534}") |
#success? ⇒ Boolean
12 |
# File 'lib/ocak/claude_runner.rb', line 12 def success? = success |
#warnings? ⇒ Boolean
14 |
# File 'lib/ocak/claude_runner.rb', line 14 def warnings? = output.to_s.include?("\u{1F7E1}") |