agent-afk 5.64.0 → 5.65.0

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.
@@ -27,6 +27,7 @@ export interface LifecycleContext {
27
27
  }
28
28
  export declare function registerOverlaySlots(overlayComposer: OverlayComposer, ctx: Readonly<Pick<LifecycleContext, 'stageTracker' | 'thinkingMode' | 'thinkingLane' | 'streamingMarkdownRef' | 'toolLane' | 'lastProgressByTask'>> & {
29
29
  getInterrupting: () => boolean;
30
+ getSoftStopping: () => boolean;
30
31
  }): void;
31
32
  export declare function formatInterruptAffordance(interrupting: boolean): string;
32
33
  export declare function subscribeToResize(overlayComposer: OverlayComposer, disposed: boolean): () => void;
@@ -42,6 +42,7 @@ export declare class StreamRenderer {
42
42
  private borrowedCompositor;
43
43
  private priorOnCancel;
44
44
  private interrupting;
45
+ private softStopping;
45
46
  private readonly coordinator;
46
47
  private compositor;
47
48
  private overlayComposer;
@@ -60,6 +61,7 @@ export declare class StreamRenderer {
60
61
  arm(): Promise<void>;
61
62
  getCompositor(): TerminalCompositor | null;
62
63
  setInterrupting(active: boolean): void;
64
+ setSoftStopping(active: boolean): void;
63
65
  private buildOrchestratorCtx;
64
66
  process(event: OutputEvent, meta?: SubagentProgressMeta): void;
65
67
  dispose(): Promise<void>;
@@ -3,7 +3,7 @@ import type { ProgressEvent } from '../../../agent/types.js';
3
3
  import type { CompletionWriter } from './shared.js';
4
4
  export declare function deriveProgressActivity(thinkingBuffer: string, columns?: number): string | undefined;
5
5
  export declare function formatRateLimitActivity(retryAfterMs?: number): string;
6
- export declare function formatProgressBanner(event: ProgressEvent, columns?: number, activity?: string): string[];
6
+ export declare function formatProgressBanner(event: ProgressEvent, columns?: number, activity?: string, stopping?: boolean): string[];
7
7
  export declare function formatProgressSummary(event: ProgressEvent, columns?: number): string;
8
8
  export declare function formatSubagentCompletion(info: SubagentCompleteInfo, columns?: number): string;
9
9
  export declare function emitSubagentCompletion(writer: CompletionWriter, info: SubagentCompleteInfo): void;