agent-afk 5.326.0 → 5.326.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,8 +1,30 @@
1
+ import { z } from 'zod';
1
2
  import type { CompleteFn, OperatorPrediction, Prediction, StructuralImpact } from './types.js';
2
3
  import type { RepoManifest } from './repo-manifest.js';
3
4
  export declare const DEFAULT_PROBES = 6;
4
5
  export declare const MAX_PROBES = 12;
5
6
  export declare function resolveMaxPredictions(probes: number, explicit?: number): number;
7
+ export declare const PredictionSchema: z.ZodObject<{
8
+ id: z.ZodString;
9
+ behavior: z.ZodString;
10
+ direction: z.ZodEnum<{
11
+ removed: "removed";
12
+ added: "added";
13
+ strengthened: "strengthened";
14
+ weakened: "weakened";
15
+ }>;
16
+ confidence: z.ZodEnum<{
17
+ low: "low";
18
+ medium: "medium";
19
+ high: "high";
20
+ }>;
21
+ reason: z.ZodString;
22
+ testQuestion: z.ZodString;
23
+ probes: z.ZodArray<z.ZodString>;
24
+ observable: z.ZodOptional<z.ZodUnknown>;
25
+ observabilityReason: z.ZodOptional<z.ZodUnknown>;
26
+ baselineEstimate: z.ZodOptional<z.ZodUnknown>;
27
+ }, z.core.$strip>;
6
28
  export interface PredictInput {
7
29
  spec: {
8
30
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-afk",
3
- "version": "5.326.0",
3
+ "version": "5.326.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",