agent-afk 5.285.0 → 5.286.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.
@@ -0,0 +1,8 @@
1
+ export declare const UNKNOWN_VERSION = "unknown";
2
+ export declare const PACKAGE_JSON_CANDIDATES: readonly string[];
3
+ export declare function readDiskVersion(searchDir?: string, readFile?: (filePath: string) => string): string;
4
+ export interface VersionDriftResult {
5
+ drift: boolean;
6
+ message?: string;
7
+ }
8
+ export declare function checkVersionDrift(spawnedVersion: string, diskVersion: string): VersionDriftResult;
@@ -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.285.0",
3
+ "version": "5.286.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",