agent-afk 5.159.0 → 5.161.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.
@@ -14,6 +14,7 @@ export declare class HealthRail {
14
14
  private onRowCountChange?;
15
15
  private resizeUnsub;
16
16
  private tickInterval;
17
+ private totalSubsEver;
17
18
  constructor(opts: HealthRailOptions);
18
19
  setRowCountChangeHandler(handler: (rows: number) => void): void;
19
20
  start(): void;
@@ -3,6 +3,7 @@ export interface HealthRailFields {
3
3
  elapsedMs: number;
4
4
  toolCalls: number;
5
5
  activeSubs: number;
6
+ totalSubs: number;
6
7
  contextRatio: number;
7
8
  }
8
9
  export declare function formatHealthRail(fields: HealthRailFields, maxWidth: number): string;
@@ -11,4 +11,5 @@ export * from './stream-progress.js';
11
11
  export * from './error-card.js';
12
12
  export * from './status-badge.js';
13
13
  export * from './utils.js';
14
+ export * from './tool-card.js';
14
15
  export * from './interrupt-peek.js';
@@ -0,0 +1,15 @@
1
+ export interface ToolCardSpec {
2
+ toolName: string;
3
+ status: 'running' | 'done' | 'error' | 'blocked';
4
+ elapsed?: number;
5
+ inputSummary?: string;
6
+ outputPreview?: string;
7
+ diff?: {
8
+ added: number;
9
+ removed: number;
10
+ file: string;
11
+ };
12
+ collapsed?: boolean;
13
+ width?: number;
14
+ }
15
+ export declare function toolCard(spec: ToolCardSpec): string;