agent-afk 5.249.4 → 5.250.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.
@@ -18,4 +18,5 @@ export declare function activeToolBadge(toolUseId: string, activeTools: {
18
18
  toolUseIds: Set<string>;
19
19
  toolIndex?: Map<string, number>;
20
20
  } | null): string;
21
+ export declare function childFailureBadge(count: number | undefined): string;
21
22
  export declare function formatToolResultLine(chunk: ToolResultChunk, toolPrefix?: string, homeDir?: string, toolName?: string): string;
@@ -17,6 +17,8 @@ interface ToolEntryFields {
17
17
  startedAt: number;
18
18
  finishedAt?: number;
19
19
  outputTail?: string;
20
+ failedChildCount?: number;
21
+ failurePropagated?: boolean;
20
22
  }
21
23
  export type ToolEntry = ToolEntryFields & {
22
24
  kind: 'tool';
@@ -0,0 +1,3 @@
1
+ import type { Entry } from './tool-lane-render.js';
2
+ export declare function ancestorDepthOf(entries: ReadonlyMap<string, Entry>, id: string): number;
3
+ export declare function propagateChildFailure(entries: ReadonlyMap<string, Entry>, failedId: string): void;
@@ -18,6 +18,7 @@ export declare class ToolLane {
18
18
  mergeAgentLabel(parentToolUseId: string, label: string, maxWidth?: number): boolean;
19
19
  setAgentContext(toolUseId: string, agentContext: string | undefined): void;
20
20
  setAgentResultSummary(toolUseId: string, summary: string): void;
21
+ propagateChildFailure(failedId: string): void;
21
22
  setThinkingTail(toolUseId: string, tail: string | undefined): void;
22
23
  setBashOutputTail(toolUseId: string, tail: string | undefined): void;
23
24
  addResult(toolUseId: string, chunk: ToolResultChunk): void;