UNPKG

@adonis-agora/agent

Version:

Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.

18 lines • 917 B
import type { ScorableRun, ScoreResult, Scorer, ScorerKind } from '../types.js'; /** {@link RunCompletionScorer}'s stable name, for a `where.scorer` filter or a resumed backfill. */ export declare const RUN_COMPLETION_SCORER = "run-completion"; /** * Did the turn actually deliver? Deterministic, free, and the baseline every other scorer is read * against. * * It is NOT the governance success rate. That counts a run as a success the moment it settles * `completed`, which a turn that answered nothing after three failed tool calls also does. This asks * the narrower question the ledger cannot: was there an answer, and was the agent whole while it * wrote one. */ export declare class RunCompletionScorer implements Scorer { readonly name = "run-completion"; readonly kind: ScorerKind; score(run: ScorableRun): Promise<ScoreResult | null>; } //# sourceMappingURL=run-completion.scorer.d.ts.map