agent-afk 5.221.1 → 5.221.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.
@@ -0,0 +1,23 @@
1
+ import type { PermissionMode } from '../../agent/types/sdk-types.js';
2
+ import { type QuotaWindows } from '../quota-indicator.js';
3
+ export interface StatusLineFields {
4
+ model: string;
5
+ cost?: number;
6
+ tokens?: number;
7
+ contextPct?: number;
8
+ contextLimit?: number;
9
+ contextUsedTokens?: number;
10
+ contextSparkline?: string;
11
+ permissionMode?: PermissionMode;
12
+ cwd?: string;
13
+ branch?: string;
14
+ pr?: number;
15
+ quotaWindows?: QuotaWindows;
16
+ turnCount?: number;
17
+ maxTurns?: number;
18
+ budgetUsd?: number;
19
+ maxBudgetUsd?: number;
20
+ activeAgentCount?: number;
21
+ tokPerSec?: number;
22
+ }
23
+ export declare function formatStatusLine(f: StatusLineFields, maxW: number): string;
@@ -1,25 +1,5 @@
1
- import type { PermissionMode } from '../agent/types/sdk-types.js';
2
- import { type QuotaWindows } from './quota-indicator.js';
3
- export interface StatusLineFields {
4
- model: string;
5
- cost?: number;
6
- tokens?: number;
7
- contextPct?: number;
8
- contextLimit?: number;
9
- contextUsedTokens?: number;
10
- contextSparkline?: string;
11
- permissionMode?: PermissionMode;
12
- cwd?: string;
13
- branch?: string;
14
- pr?: number;
15
- quotaWindows?: QuotaWindows;
16
- turnCount?: number;
17
- maxTurns?: number;
18
- budgetUsd?: number;
19
- maxBudgetUsd?: number;
20
- activeAgentCount?: number;
21
- tokPerSec?: number;
22
- }
1
+ import { type StatusLineFields } from './render/status-line-format.js';
2
+ export type { StatusLineFields } from './render/status-line-format.js';
23
3
  interface StatusLineOpts {
24
4
  stream?: NodeJS.WriteStream;
25
5
  force?: boolean;
@@ -58,5 +38,5 @@ export declare class StatusLine {
58
38
  private currentRows;
59
39
  private paintRow;
60
40
  private writeScrollRegion;
41
+ private eraseReservedBand;
61
42
  }
62
- export {};