agent-afk 5.266.0 → 5.266.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  import type { Verdict, VerifiedPrediction } from './types.js';
2
2
  export declare function verdictEmoji(v: Verdict): string;
3
- export declare function verdictLabel(vp: Pick<VerifiedPrediction, 'verdict' | 'unobservableReason'>): string;
3
+ export declare function verdictLabel(vp: Pick<VerifiedPrediction, 'verdict' | 'unobservableReason' | 'rates'>): string;
@@ -1,5 +1,6 @@
1
1
  import type { Prediction, RateComparison, Verdict } from './types.js';
2
2
  export declare function compareRates(baseline: number[], candidate: number[]): RateComparison;
3
+ export declare const EQUIVALENCE_MARGIN = 0.05;
3
4
  export declare function verdictFor(pred: Prediction, rates: RateComparison): Verdict;
4
5
  export declare function predictionAccuracy(verified: ReadonlyArray<{
5
6
  verdict: Verdict;
@@ -184,6 +184,7 @@ export interface PredictionScope {
184
184
  candidate: string[];
185
185
  };
186
186
  targetedEpisodes: number;
187
+ totalSamples?: number;
187
188
  background?: RateComparison;
188
189
  }
189
190
  export interface VerifiedPrediction {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-afk",
3
- "version": "5.266.0",
3
+ "version": "5.266.2",
4
4
  "description": "Open-source coding-agent harness you can actually change — own the loop (prompts, gates, routing, skills, terminal states), use any model, run long tasks while you're away.",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",