@kya-os/mcp-i 1.5.9-canary.3 → 1.5.9-canary.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -70,12 +70,9 @@ class AgentShieldProofDestination {
|
|
|
70
70
|
// Extract session_id from first proof for AgentShield session grouping
|
|
71
71
|
// AgentShield uses this for analytics and detection monitoring
|
|
72
72
|
const sessionId = proofs[0]?.meta?.sessionId || 'unknown';
|
|
73
|
-
// Extract delegation_id from proof meta.delegationRef if present
|
|
74
|
-
// This allows AgentShield to link proofs to delegations for audit trails
|
|
75
|
-
const delegationId = proofs[0]?.meta?.delegationRef || null;
|
|
76
73
|
// AgentShield API format requires delegation_id and session_id wrapper
|
|
77
74
|
const requestBody = {
|
|
78
|
-
delegation_id:
|
|
75
|
+
delegation_id: null, // null for proofs without delegation context
|
|
79
76
|
session_id: sessionId, // AgentShield session grouping (same as meta.sessionId)
|
|
80
77
|
proofs: proofs
|
|
81
78
|
};
|