SessionPlanUpdatedEvent fires when the session_plan toolset writes a plan. Content and Path let a UI render the plan inline without re-reading the file.
| 427 | // SessionPlanUpdatedEvent fires when the session_plan toolset writes a plan. |
| 428 | // Content and Path let a UI render the plan inline without re-reading the file. |
| 429 | type SessionPlanUpdatedEvent struct { |
| 430 | AgentContext |
| 431 | |
| 432 | Type string `json:"type"` |
| 433 | SessionID string `json:"session_id"` |
| 434 | Content string `json:"content,omitempty"` |
| 435 | Path string `json:"path,omitempty"` |
| 436 | } |
| 437 | |
| 438 | func SessionPlanUpdated(sessionID, content, path, agentName string) Event { |
| 439 | return &SessionPlanUpdatedEvent{ |
nothing calls this directly
no outgoing calls
no test coverage detected