DefaultRuntimeContext class
Default implementation of RuntimeProfileContext.
- Implemented types
Constructors
-
DefaultRuntimeContext({required String profileId, String entityId = 'default', String? contextId, String? runId, String? traceId, DateTime? asOf, Period? period, Clock? clock, Map<
String, dynamic> inputs = const {}, Map<String, dynamic> metadata = const {}, FactsPort? facts, PatternsPort? patterns, SummariesPort? summaries, LlmPort? llm, dynamic skillContext})
Properties
- asOf → DateTime
-
Point-in-time for data queries.
final
- clock → Clock
-
Clock for testability.
final
- contextId → String
-
Unique context ID.
final
- entityId → String
-
Primary entity identifier (required — used by facts/summaries
queries and cache keying).
final
- facts → FactsPort?
-
Fact graph facts port (mcp_bundle contract).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputs
→ Map<
String, dynamic> -
Input parameters.
final
- llm → LlmPort?
-
LLM port for semantic operations.
final
-
metadata
→ Map<
String, dynamic> -
Additional metadata.
final
- patterns → PatternsPort?
-
Fact graph patterns port.
final
- period → Period?
-
Time range if applicable.
final
- profileId → String
-
Profile being evaluated.
final
- runId → String
-
Execution run ID.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skillContext → dynamic
-
SkillContext (from mcp_skill) when running inside a skill; dynamic
to avoid a circular package dependency.
final
- summaries → SummariesPort?
-
Fact-level summaries port.
final
- traceId → String?
-
Distributed tracing ID.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited