agent-afk 5.274.2 → 5.274.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.
- package/dist/agent/afk-gate-preview.d.ts +1 -2
- package/dist/agent/auth/keychain.d.ts +1 -0
- package/dist/agent/outcomes/journal-turns.d.ts +3 -0
- package/dist/agent/outcomes/load-outcome-turns.d.ts +9 -0
- package/dist/agent/outcomes/verification-patterns.d.ts +1 -0
- package/dist/agent/providers/openai-compatible/messages.d.ts +1 -1
- package/dist/cli.mjs +305 -305
- package/dist/index.mjs +128 -128
- package/dist/telegram.mjs +154 -152
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export declare const PREVIEW_HALF = 700;
|
|
2
1
|
export declare const PREVIEW_BUDGET = 2000;
|
|
3
2
|
export declare function previewInput(s: string, budget?: number): string;
|
|
4
|
-
export declare function buildInputPreview(input:
|
|
3
|
+
export declare function buildInputPreview(input: string, budget?: number): string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare function _resetKeychainReadCache(): void;
|
|
1
2
|
export declare function loadClaudeCodeOauthToken(): string | undefined;
|
|
2
3
|
export declare function refreshClaudeCodeOauthToken(): Promise<string | undefined>;
|
|
3
4
|
export declare function parseAccountIdentifier(token: string): string;
|
|
@@ -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[];
|