agent-afk 5.274.2 → 5.274.3

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,3 @@
1
+ import type { JournalMessage } from '../journal/types.js';
2
+ import type { Turn } from './artifacts.js';
3
+ export declare function journalMessagesToTurns(messages: JournalMessage[]): Turn[];
@@ -0,0 +1,9 @@
1
+ import type { JournalMessage, JournalRecord } from '../journal/types.js';
2
+ import type { Turn } from './artifacts.js';
3
+ export type OutcomeTurnsSource = 'sidecar' | 'journal' | 'none';
4
+ export interface OutcomeTurnsResult {
5
+ turns: Turn[];
6
+ source: OutcomeTurnsSource;
7
+ }
8
+ export declare function loadOutcomeTurns(sessionId: string): OutcomeTurnsResult;
9
+ export declare function sessionHistoryMessages(records: readonly JournalRecord[]): JournalMessage[];
@@ -1,3 +1,4 @@
1
+ export declare const RESULT_TAIL_CHARS = 240;
1
2
  export declare const VERIFICATION_PATTERNS: RegExp[];
2
3
  export declare function isVerificationCommand(input: string): boolean;
3
4
  export declare function parseVerificationSummary(tail: string): 'pass' | 'fail' | null;