a2a-source-edit: write agent.py

This commit is contained in:
a2a-cloud
2026-07-13 03:08:51 +00:00
parent 8ce46e49ae
commit 43e9efa1d4

View File

@@ -8,7 +8,6 @@ caller-configured; when they are absent the corresponding evidence is marked as
""" """
from __future__ import annotations from __future__ import annotations
import asyncio
import hashlib import hashlib
import json import json
import re import re
@@ -113,6 +112,15 @@ class ProbeMode(str, Enum):
SYNTHETIC = "synthetic" SYNTHETIC = "synthetic"
class AuditScope(str, Enum):
CARD = "card"
CONFIGURATION = "configuration"
RUNTIME = "runtime"
REPOSITORY = "repository"
RISK = "risk"
REMEDIATION = "remediation"
class Evidence(StrictModel): class Evidence(StrictModel):
id: str id: str
source: str source: str