agent-afk 5.246.0 → 5.247.1
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/commands/interactive/tool-lane-render-agent.d.ts +2 -2
- package/dist/cli/commands/interactive/tool-lane-render-compact.d.ts +4 -0
- package/dist/cli/commands/interactive/tool-lane.d.ts +1 -0
- package/dist/cli/terminal-compositor.frame.layout.d.ts +1 -0
- package/dist/cli.mjs +245 -245
- package/dist/index.mjs +111 -111
- package/dist/telegram.mjs +130 -130
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ToolEntry, Entry } from './tool-lane-render.js';
|
|
2
|
-
declare function formatAgentSummary(agent: ToolEntry, children: Entry[], childMap: Map<string, Entry[]>, homeDir?: string, ancestorIsLast?: readonly boolean[]): string;
|
|
2
|
+
declare function formatAgentSummary(agent: ToolEntry, children: Entry[], childMap: Map<string, Entry[]>, homeDir?: string, ancestorIsLast?: readonly boolean[], compact?: boolean): string;
|
|
3
3
|
declare function formatAgentHeader(agent: ToolEntry, ancestorIsLast?: readonly boolean[]): string;
|
|
4
|
-
declare function formatAgentChildren(agent: ToolEntry, children: Entry[], childMap: Map<string, Entry[]>, homeDir?: string, ancestorIsLast?: readonly boolean[]): string[];
|
|
4
|
+
declare function formatAgentChildren(agent: ToolEntry, children: Entry[], childMap: Map<string, Entry[]>, homeDir?: string, ancestorIsLast?: readonly boolean[], compact?: boolean): string[];
|
|
5
5
|
export { formatAgentSummary, formatAgentHeader, formatAgentChildren };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Entry, Glyphs } from './tool-lane-render.js';
|
|
2
|
+
import { addResultSummarySynthetic, assignConnectors } from './tool-lane-render-grouping.js';
|
|
3
|
+
export declare function renderCompactFlushChildren(children: Entry[], childMap: Map<string, Entry[]>, homeDir?: string, agentResultSummary?: string, cols?: number, ancestorIsLast?: readonly boolean[], g?: Readonly<Glyphs>): string[];
|
|
4
|
+
export { addResultSummarySynthetic, assignConnectors };
|
|
@@ -12,6 +12,7 @@ export declare class ToolLane {
|
|
|
12
12
|
private lastElapsedSecond;
|
|
13
13
|
private activeTools;
|
|
14
14
|
flash: ToolLaneFlash | null;
|
|
15
|
+
compactScrollback: boolean;
|
|
15
16
|
addStart(toolUseId: string, toolName: string, toolInput: string): void;
|
|
16
17
|
addStartWithAgentContext(toolUseId: string, toolName: string, toolInput: string, agentContext: string | undefined, maxWidth?: number): void;
|
|
17
18
|
mergeAgentLabel(parentToolUseId: string, label: string, maxWidth?: number): boolean;
|
|
@@ -17,5 +17,6 @@ export interface ViewportLayout {
|
|
|
17
17
|
renderGap: boolean;
|
|
18
18
|
extraRows: number;
|
|
19
19
|
}
|
|
20
|
+
export declare function truncateOverlayPreservingHead(lines: string[], budget: number): string[];
|
|
20
21
|
export declare function computeViewportLayout(chrome: ChromeRows, dropdownLength: number, hasHintRow: boolean, rows: number, scrollRegion: CompositorScrollRegionGuard | undefined): ViewportLayout;
|
|
21
22
|
export declare function computePickerViewportLayout(chrome: ChromeRows, pickerRowCount: number, rows: number, scrollRegion: CompositorScrollRegionGuard | undefined): Omit<ViewportLayout, 'gapRows'>;
|