MCPcopy
hub / github.com/docker/docker-agent / SessionPlanUpdatedEvent

Struct SessionPlanUpdatedEvent

pkg/runtime/event.go:429–436  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

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.
429type 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
438func SessionPlanUpdated(sessionID, content, path, agentName string) Event {
439 return &SessionPlanUpdatedEvent{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected