Class: Event
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Event
- Defined in:
- app/models/event.rb
Constant Summary collapse
- KINDS =
%w[ user_message agent_message assistant_message status_change config_change column_move move_rejected plan_proposed plan_approved question answer progress tool_call tool_result artifact_created run_started run_finished final_report error ].freeze
- CONVERSATION_KINDS =
Which timeline zoom level an event first appears at (§7).
%w[user_message agent_message assistant_message question answer plan_proposed plan_approved final_report error column_move move_rejected].freeze
- RESOLVES_THINKING =
These kinds mean the AI has delivered what the typing indicator promised.
%w[assistant_message final_report question plan_proposed error].freeze
- REFRESHES_BOARD =
Kinds that change what a card FACE shows (progress lines, thinking chip, replied chip) — the board must morph on these, not just the open modal.
(%w[progress run_started run_finished] + RESOLVES_THINKING).freeze
Instance Method Summary collapse
Instance Method Details
#text ⇒ Object
43 |
# File 'app/models/event.rb', line 43 def text = payload["text"] |