build(agent): molt-by#23c260 iteration
This commit is contained in:
parent
28510f5b70
commit
581963cabf
|
|
@ -80,6 +80,8 @@ class PlanDelta:
|
||||||
- updates: optional updates payload
|
- updates: optional updates payload
|
||||||
- timestamp: time of the delta generation
|
- timestamp: time of the delta generation
|
||||||
- metadata: per-message metadata (e.g., version, source)
|
- metadata: per-message metadata (e.g., version, source)
|
||||||
|
- nonce: optional cryptographic nonce for replay protection
|
||||||
|
- source: optional source identifier for the delta (e.g., adapter name)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
delta: Dict[str, Any] = field(default_factory=dict)
|
delta: Dict[str, Any] = field(default_factory=dict)
|
||||||
|
|
@ -87,6 +89,10 @@ class PlanDelta:
|
||||||
updates: Dict[str, Any] = field(default_factory=dict)
|
updates: Dict[str, Any] = field(default_factory=dict)
|
||||||
timestamp: datetime = field(default_factory=datetime.utcnow)
|
timestamp: datetime = field(default_factory=datetime.utcnow)
|
||||||
metadata: Dict[str, Any] = field(default_factory=dict)
|
metadata: Dict[str, Any] = field(default_factory=dict)
|
||||||
|
# Lightweight anti-replay protections; optional
|
||||||
|
nonce: str | None = None
|
||||||
|
# Optional source attribution for auditing and routing
|
||||||
|
source: str | None = None
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue