Repository navigation
v1.2.0
Minor Changes
-
59e244d: Add
modelandrulesCountobservability fields.BoundaryLogEventgains optionalmodel?: stringandrulesCount?: numberso sinks can attribute events to a specific LLM and record the active rule count per run.ContractOptionsgains optionalmodel?: stringfor a per-call override (contract.accept(run, { model })). The value flows through to the logger'sonRunStarthook context.- Breaking (hook contract):
ContractLogger.onRunStartctx now exposesrulesCount: numberinstead ofhasRules: boolean, plus an optionalmodel?: string. Custom loggers readingctx.hasRulesneed to switch toctx.rulesCount > 0. createConsoleLoggerprints the rule count and, when set, the model on each run.