Class: IntentChainTracker
Defined in: .source/wunderland/src/security/SignedOutputVerifier.ts:93
Intent chain tracker for maintaining audit trail.
Constructors
Constructor
new IntentChainTracker(
maxEntries?):IntentChainTracker
Defined in: .source/wunderland/src/security/SignedOutputVerifier.ts:97
Parameters
maxEntries?
number = 100
Returns
IntentChainTracker
Methods
addEntry()
addEntry(
entry):IntentChainEntry
Defined in: .source/wunderland/src/security/SignedOutputVerifier.ts:104
Adds an entry to the intent chain.
Parameters
entry
Omit<IntentChainEntry, "stepId" | "timestamp">
Returns
clear()
clear():
void
Defined in: .source/wunderland/src/security/SignedOutputVerifier.ts:131
Clears the chain.
Returns
void
getAllSecurityFlags()
getAllSecurityFlags():
string[]
Defined in: .source/wunderland/src/security/SignedOutputVerifier.ts:152
Gets all unique security flags across the chain.
Returns
string[]
getEntries()
getEntries(): readonly
IntentChainEntry[]
Defined in: .source/wunderland/src/security/SignedOutputVerifier.ts:124
Gets all entries in the chain.
Returns
readonly IntentChainEntry[]
getLastEntries()
getLastEntries(
n):IntentChainEntry[]
Defined in: .source/wunderland/src/security/SignedOutputVerifier.ts:138
Gets the last N entries.
Parameters
n
number
Returns
hasSecurityFlags()
hasSecurityFlags():
boolean
Defined in: .source/wunderland/src/security/SignedOutputVerifier.ts:145
Checks if the chain has any security flags.
Returns
boolean