agent-afk 5.305.5 → 5.305.7

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,3 +1,4 @@
1
1
  export declare function supportsVision(model: string | undefined): boolean;
2
2
  export declare function isOSeriesModel(model: string | undefined): boolean;
3
3
  export declare function isReasoningModel(model: string | undefined): boolean;
4
+ export declare const OPENAI_COMPAT_THIRD_PARTY_PREFIXES: readonly string[];
@@ -21,6 +21,7 @@ export interface CompactHandlerContext {
21
21
  readonly config: {
22
22
  readonly subagentId?: string;
23
23
  };
24
+ readonly baseURL?: string;
24
25
  };
25
26
  readonly currentModel: string;
26
27
  readonly closed: boolean;
@@ -0,0 +1,2 @@
1
+ export declare const OPENAI_CHEAP_COMPACT_DEFAULT = "gpt-6-luna";
2
+ export declare function resolveOpenAICompactModel(compactModelEnv: string | undefined, baseURL: string | undefined, openaiBaseUrlEnv: string | undefined, authSource: string, currentModel: string): string;
@@ -0,0 +1 @@
1
+ export declare const CPR_REPLY_RE: RegExp;
@@ -1 +1,6 @@
1
1
  export declare function emitKeypressEventsImmediateEscape(stream: NodeJS.ReadableStream): void;
2
+ export declare const CPR_KEYPRESS_GRACE_MS = 500;
3
+ export declare function armCprKeypressGuard(stdin: NodeJS.ReadableStream, durationMs: number): void;
4
+ export declare function isCprKeypressGuardActive(stdin: NodeJS.ReadableStream): boolean;
5
+ export declare function isCprSequence(stdin: NodeJS.ReadableStream, sequence: string): boolean;
6
+ export declare function __resetCprKeypressGuardForTests(): void;
@@ -5,7 +5,10 @@ export declare function parseCprReply(s: string): {
5
5
  } | null;
6
6
  export declare const CPR_REQUEST = "\u001B[6n";
7
7
  export declare const CPR_TIMEOUT_MS = 120;
8
+ export declare const CPR_RTT_SCALE = 4;
9
+ export declare const CPR_TIMEOUT_CEILING_MS = 1500;
8
10
  export declare const CPR_MAX_REQUERY = 8;
11
+ export declare function __resetCprRttForTests(): void;
9
12
  export interface CprHost {
10
13
  readonly stdout: NodeJS.WriteStream;
11
14
  readonly stdin: NodeJS.ReadStream;