agent-afk 5.262.0 → 5.262.1

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,10 +1,18 @@
1
1
  import type { Episode, Prediction } from './types.js';
2
+ export declare function isStandalone(text: string): boolean;
3
+ export interface CorpusExclusions {
4
+ whatifSessions: number;
5
+ excludedSessionIds: number;
6
+ nonStandaloneTurns: number;
7
+ whatifTopicTurns: number;
8
+ }
2
9
  interface CollectOpts {
3
10
  limit: number;
4
11
  excludeSessionIds?: string[];
5
12
  sessionsDir?: string;
6
13
  now?: Date;
7
14
  maxAgeDays?: number;
15
+ stats?: CorpusExclusions;
8
16
  }
9
17
  export declare function collectRealTurns(opts: CollectOpts): Promise<Episode[]>;
10
18
  export declare function syntheticEpisodes(predictions: Prediction[]): Episode[];
@@ -224,6 +224,7 @@ export interface WhatifReport {
224
224
  runDir: string;
225
225
  limits: string[];
226
226
  headline: string;
227
+ corpusExclusions?: import('./episodes.js').CorpusExclusions;
227
228
  }
228
229
  export type WhatifStage = 'compile' | 'sandbox' | 'snapshot' | 'predict' | 'episodes' | 'run' | 'judge' | 'discover' | 'report';
229
230
  export interface WhatifProgress {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-afk",
3
- "version": "5.262.0",
3
+ "version": "5.262.1",
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",