agent-afk 5.123.13 → 5.124.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.
- package/dist/cli/_lib/child-activity-select.d.ts +1 -0
- package/dist/cli/commands/interactive/bootstrap-slash-context.d.ts +1 -0
- package/dist/cli/commands/interactive/progress-banner.d.ts +1 -1
- package/dist/cli/commands/interactive/resume-swap.d.ts +1 -0
- package/dist/cli/commands/interactive/shared.d.ts +3 -1
- package/dist/cli/status-line.d.ts +2 -0
- package/dist/cli.mjs +556 -556
- package/dist/index.mjs +1 -1
- package/dist/telegram.mjs +1 -1
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ export interface ChildActivity {
|
|
|
8
8
|
clause: string;
|
|
9
9
|
quiet: boolean;
|
|
10
10
|
}
|
|
11
|
+
export declare function countRunningChildren(sources: ReadonlyMap<string, SourceState> | undefined, now?: number): number;
|
|
11
12
|
export declare class ChildActivityTracker {
|
|
12
13
|
private prev;
|
|
13
14
|
select(sources: ReadonlyMap<string, SourceState>, now?: number): ChildActivity | undefined;
|
|
@@ -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, stopping?: boolean): string[];
|
|
6
|
+
export declare function formatProgressBanner(event: ProgressEvent, columns?: number, activity?: string, stopping?: boolean, runningCount?: number): 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;
|
|
@@ -13,6 +13,7 @@ export interface ResumeSwapDeps {
|
|
|
13
13
|
contextSampler: ContextSampler;
|
|
14
14
|
gitStatusSampler?: GitStatusSampler;
|
|
15
15
|
statusLine: StatusLine;
|
|
16
|
+
maxTurns?: number;
|
|
16
17
|
backgroundRegistry: BackgroundAgentRegistry;
|
|
17
18
|
completionWriter: CompletionWriter;
|
|
18
19
|
isInFlight: () => boolean;
|
|
@@ -114,7 +114,9 @@ export declare const REPL_SPINNER_OPTIONS: {
|
|
|
114
114
|
readonly discardStdin: false;
|
|
115
115
|
};
|
|
116
116
|
export declare function contextRatio(stats: SessionStats, sampler?: ContextSampler): number;
|
|
117
|
-
export declare function formatStatusFields(stats: SessionStats, sampler?: ContextSampler, gitSampler?: GitStatusSampler): {
|
|
117
|
+
export declare function formatStatusFields(stats: SessionStats, sampler?: ContextSampler, gitSampler?: GitStatusSampler, maxTurns?: number): {
|
|
118
|
+
maxTurns?: number | undefined;
|
|
119
|
+
turnCount?: number | undefined;
|
|
118
120
|
quotaWindows?: import("../../quota-indicator.js").QuotaWindows | undefined;
|
|
119
121
|
pr?: number | undefined;
|
|
120
122
|
branch?: string | undefined;
|