agent-afk 5.286.0 → 5.286.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.
@@ -4,5 +4,6 @@ export interface AtomicWriteOptions {
4
4
  mkdirp?: boolean;
5
5
  secure?: boolean;
6
6
  }
7
+ export declare function renameWithRetry(tmp: string, dest: string, maxRetries?: number, _platform?: string, _renameFn?: (from: string, to: string) => Promise<void>): Promise<void>;
7
8
  export declare function atomicWriteFile(dest: string, content: string | Buffer, opts?: AtomicWriteOptions | number): void;
8
9
  export declare function atomicWriteFileAsync(dest: string, content: string | Buffer, opts?: AtomicWriteOptions): Promise<void>;
@@ -9,3 +9,5 @@ export { connectJev } from './judge/jev-connect.js';
9
9
  export { createClaudeJudge } from './judge/claude.js';
10
10
  export { compileChangeSpec } from './compile.js';
11
11
  export { describeChange } from './operators/index.js';
12
+ export { classifyQuestionFit } from './question-fit.js';
13
+ export type { QuestionFitLevel, QuestionFitResult } from './question-fit.js';
@@ -3,10 +3,12 @@ import type { DroppedProbe } from './probe-grounding.js';
3
3
  import type { CorpusExclusions } from './episodes.js';
4
4
  import type { StructuralImpact } from './types.js';
5
5
  import type { JudgeResults } from './run.verify.scoring.js';
6
+ import type { QuestionFitLevel } from './question-fit.js';
6
7
  export interface VerifiedReportArgs {
7
8
  spec: ChangeSpec;
8
9
  structural: StructuralImpact;
9
10
  predictions: Prediction[];
11
+ questionFit: QuestionFitLevel;
10
12
  verifyResult: VerifyResult;
11
13
  droppedProbes: DroppedProbe[];
12
14
  corpusExclusions: CorpusExclusions;
@@ -237,6 +237,7 @@ export interface WhatifReport {
237
237
  runDir: string;
238
238
  limits: string[];
239
239
  headline: string;
240
+ questionFit?: import('./question-fit.js').QuestionFitLevel;
240
241
  droppedProbes?: import('./probe-grounding.js').DroppedProbe[];
241
242
  corpusExclusions?: import('./episodes.js').CorpusExclusions;
242
243
  keptSandboxes?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-afk",
3
- "version": "5.286.0",
3
+ "version": "5.286.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",