agent-afk 5.209.1 → 5.209.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.
@@ -3,6 +3,7 @@ import type { OverlayComposer } from './_lib/overlay-composer.js';
3
3
  interface StreamingMarkdownRendererOptions {
4
4
  out?: NodeJS.WriteStream;
5
5
  throttleMs?: number;
6
+ bufferMs?: number;
6
7
  indent?: string;
7
8
  compositor?: TerminalCompositor;
8
9
  overlayComposer?: OverlayComposer | null;
@@ -21,6 +22,10 @@ export declare class StreamingMarkdownRenderer {
21
22
  private compositor;
22
23
  private overlayComposer;
23
24
  private resizeUnsub;
25
+ private bufferMs;
26
+ private inputBuffer;
27
+ private inputBufferTimer;
28
+ private lastInputFlushTime;
24
29
  constructor(opts?: StreamingMarkdownRendererOptions);
25
30
  private initLogUpdate;
26
31
  private commitBlock;
@@ -29,6 +34,9 @@ export declare class StreamingMarkdownRenderer {
29
34
  private syncPendingOverlay;
30
35
  private repaint;
31
36
  push(chunk: string): void;
37
+ private drainInputBuffer;
38
+ private discardInputBuffer;
39
+ private pushDirect;
32
40
  flush(): Promise<void>;
33
41
  getCommittedOutput(): string;
34
42
  hasEmitted(): boolean;