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

Struct PausedEvent

pkg/runtime/event.go:524–529  ·  view source on GitHub ↗

PausedEvent reports that the run loop has reached an iteration boundary and is now blocked because /pause was toggled on. It is emitted once the in-flight LLM request and its tool calls have finished — i.e. the transition from "pausing" (still finishing a roundtrip) to "paused" (idle until resumed).

Source from the content-addressed store, hash-verified

522// (idle until resumed). The TUI uses it to flip its indicator from
523// "Pausing…" to "Paused".
524type PausedEvent struct {
525 AgentContext
526
527 Type string `json:"type"`
528 SessionID string `json:"session_id,omitempty"`
529}
530
531func Paused(sessionID, agentName string) Event {
532 return &PausedEvent{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected