Skip to content

Interface: BaseTelemetryCollectorASTNode<TType, TMetrics> ​

Defined in: ast/base/base-telemetry-collector-ast-node.ts:12

Domain-agnostic base AST node contract for custom telemetry collectors (TelemetryCollectorASTNode).

Aggregates ToolEffect records observed during a step or loop execution into strongly typed custom telemetry metrics (UniversalStepTelemetry.custom).

Extended by ​

Type Parameters ​

Type ParameterDefault typeDescription
TType extends stringstringString-literal discriminant of the telemetry collector node.
TMetrics extends Record<string, unknown>Record<string, unknown>Validated custom metrics record shape.

Properties ​

PropertyModifierTypeDescriptionDefined in
idreadonlystringLogical identifier of the telemetry collector.ast/base/base-telemetry-collector-ast-node.ts:19
schemareadonlyZodType<TMetrics>Zod schema validating the aggregated custom metrics object.ast/base/base-telemetry-collector-ast-node.ts:21
typereadonlyTTypeUnique string-literal discriminant of the telemetry collector node.ast/base/base-telemetry-collector-ast-node.ts:17

Released under the MIT License.