Module context

Module context 

Source
Expand description

Execution context and progress tracking for AGCodex agents

This module provides:

  • Shared execution context with AST cache and findings
  • Real-time progress reporting with ETA calculation
  • Context save/restore with compression
  • Inter-agent messaging with priorities
  • Performance metrics tracking

Structs§

AgentContext
Shared execution context for agents
AgentContextSnapshot
Context snapshot for save/restore (renamed to avoid conflict with orchestrator::ContextSnapshot)
AgentMessage
Inter-agent message
CancellationToken
Cancellation token for graceful shutdown
ContextFinding
Finding discovered by an agent (renamed to avoid conflict with agents::Finding)
ExecutionMetricsSnapshot
Snapshot of execution metrics
MessageReceiver
Message receiver for an agent
ProgressInfo
Current progress information
ProgressStage
A stage in the progress tracking
ProgressTracker
Progress tracker for real-time reporting

Enums§

ContextError
Errors that can occur in context operations
FindingSeverity
Severity levels for findings
MessagePriority
Message priority levels
MessageTarget
Message targeting
MessageType
Message types
ProgressEvent
Progress update message (renamed to avoid conflict with orchestrator::ProgressUpdate)

Type Aliases§

ContextResult