agent-afk 5.299.3 → 5.299.4

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.
@@ -5,7 +5,7 @@ export { recoverArtifacts, recoverCommitSHAs, recoverPRURLs, inferRepo } from '.
5
5
  export type { ClosureInfo, LoadClosure, ImmediateLFResult } from './lf-immediate.js';
6
6
  export { parseSelfReport, lfClosure, lfErrorTail, lfVerification, lfInSessionCorrection, lfSelfReport, runImmediateLFs, } from './lf-immediate.js';
7
7
  export type { PrState, FetchPrState, CheckAncestor, CheckRevert, GetDefaultBranch } from './lf-delayed.js';
8
- export { parsePrUrl, lfPrFate, lfCommitSurvival, lfFixOfFix, realFetchPrState, realCheckAncestor, realCheckRevert, } from './lf-delayed.js';
8
+ export { parsePrUrl, lfPrFate, lfCommitSurvival, realFetchPrState, realCheckAncestor, realCheckRevert, } from './lf-delayed.js';
9
9
  export type { CombinerInput, CombinerResult } from './combine.js';
10
10
  export { combine, computeConfidence } from './combine.js';
11
11
  export { VERIFICATION_PATTERNS, isVerificationCommand, parseVerificationSummary, } from './verification-patterns.js';
@@ -91,6 +91,13 @@ export declare const VerifiedOutcomeSchema: z.ZodObject<{
91
91
  proven: "proven";
92
92
  no_bad_signals: "no_bad_signals";
93
93
  }>>;
94
+ closure_reason: z.ZodOptional<z.ZodEnum<{
95
+ unknown: "unknown";
96
+ abort: "abort";
97
+ iteration_cap: "iteration_cap";
98
+ normal: "normal";
99
+ }>>;
100
+ session_ended_at: z.ZodOptional<z.ZodString>;
94
101
  }, z.core.$strip>;
95
102
  export type VerifiedOutcome = z.infer<typeof VerifiedOutcomeSchema>;
96
103
  export type OutcomeLabel = VerifiedOutcome['label'];
@@ -4,6 +4,7 @@ export declare function writeRecord(outcome: VerifiedOutcome, outcomesDir?: stri
4
4
  export declare function listRecords(limit?: number, outcomesDir?: string): string[];
5
5
  export interface UpsertVotesOptions {
6
6
  outcomesDir?: string;
7
+ closureReason?: VerifiedOutcome['closure_reason'];
7
8
  }
8
9
  export declare function upsertVotes(sessionId: string, newVotes: Vote[], base?: Omit<VerifiedOutcome, 'votes' | 'history'>, opts?: UpsertVotesOptions): VerifiedOutcome;
9
10
  export declare function appendArtifacts(sessionId: string, incoming: {
@@ -394,6 +394,7 @@ export declare const PeerMessagePayloadSchema: z.ZodObject<{
394
394
  peer: z.ZodString;
395
395
  bytes: z.ZodNumber;
396
396
  reason: z.ZodOptional<z.ZodString>;
397
+ file: z.ZodOptional<z.ZodString>;
397
398
  }, z.core.$strip>;
398
399
  export declare const SessionSealedPayloadSchema: z.ZodObject<{
399
400
  status: z.ZodEnum<{
@@ -731,6 +732,7 @@ export declare const TraceEventInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject
731
732
  peer: z.ZodString;
732
733
  bytes: z.ZodNumber;
733
734
  reason: z.ZodOptional<z.ZodString>;
735
+ file: z.ZodOptional<z.ZodString>;
734
736
  }, z.core.$strip>;
735
737
  }, z.core.$strip>, z.ZodObject<{
736
738
  kind: z.ZodLiteral<"session_phase">;
@@ -1136,6 +1138,7 @@ export declare const TraceEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1136
1138
  peer: z.ZodString;
1137
1139
  bytes: z.ZodNumber;
1138
1140
  reason: z.ZodOptional<z.ZodString>;
1141
+ file: z.ZodOptional<z.ZodString>;
1139
1142
  }, z.core.$strip>;
1140
1143
  }, z.core.$strip>, z.ZodObject<{
1141
1144
  ts: z.ZodString;
@@ -167,6 +167,7 @@ export interface PeerMessagePayload {
167
167
  peer: string;
168
168
  bytes: number;
169
169
  reason?: string;
170
+ file?: string;
170
171
  }
171
172
  export interface BrowserEventPayload {
172
173
  tool: BrowserEventTool;