agent-afk 5.295.4 → 5.295.6

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.
@@ -1 +1,2 @@
1
1
  export declare function sanitizeSchemaString(s: string, maxLen?: number): string;
2
+ export declare function truncateMessageWithCount(s: string, maxLen?: number): string;
@@ -8,4 +8,3 @@ export declare const SKILL_IDENTITY_BUDGETS: {
8
8
  };
9
9
  export declare function sanitizeSkillIdentity(input: SkillIdentity): SkillIdentity;
10
10
  export declare function formatSkillIdentity(input: SkillIdentity, width: number, activity?: string): string;
11
- export declare function skillIdentityBanner(identity: SkillIdentity | undefined, lines: string[], width: number): string;
@@ -26,7 +26,6 @@ export declare function makeOrchestratorCtx(args: {
26
26
  coordinator: CommitCoordinator;
27
27
  stageTracker?: StageTrackerState;
28
28
  activeSkillName?: string;
29
- skillIdentity?: import('./skill-identity-format.js').SkillIdentity;
30
29
  lastProgressByTask: Map<string, ProgressEvent>;
31
30
  sources?: ReadonlyMap<string, SourceState>;
32
31
  childActivity?: ChildActivityTracker;
@@ -9,7 +9,6 @@ import type { StreamingMarkdownRenderer } from '../markdown-stream.js';
9
9
  import type { Writer } from '../slash/types.js';
10
10
  import type { ProgressEvent } from '../../agent/types.js';
11
11
  import { type TtfbTickCtx } from './stream-renderer-ttfb.js';
12
- import { type SkillIdentity } from './skill-identity-format.js';
13
12
  export interface LifecycleContext extends TtfbTickCtx {
14
13
  compositor: TerminalCompositor | null;
15
14
  overlayComposer: OverlayComposer | null;
@@ -29,7 +28,6 @@ export interface LifecycleContext extends TtfbTickCtx {
29
28
  export declare function registerOverlaySlots(overlayComposer: OverlayComposer, ctx: Readonly<Pick<LifecycleContext, 'stageTracker' | 'thinkingMode' | 'thinkingLane' | 'streamingMarkdownRef' | 'toolLane' | 'lastProgressByTask'>> & {
30
29
  sources?: ReadonlyMap<string, SourceState>;
31
30
  childActivity?: ChildActivityTracker;
32
- getSkillIdentity?: () => SkillIdentity | undefined;
33
31
  getInterrupting: () => boolean;
34
32
  getSoftStopping: () => boolean;
35
33
  }): void;
@@ -11,9 +11,7 @@ import type { OverlayComposer } from './overlay-composer.js';
11
11
  import type { ThoughtSummaryHold } from './thought-summary-hold.js';
12
12
  import { type StageTrackerState } from '../commands/interactive/loop-stage.js';
13
13
  export { emitPanel, finalizeOrchestrator, emitMarkdown, emitErrorBox, flushToolLaneToScrollback, } from './stream-renderer-orchestrator-emit.js';
14
- import { type SkillIdentity } from './skill-identity-format.js';
15
14
  export interface OrchestratorCtx {
16
- skillIdentity?: SkillIdentity;
17
15
  out: Writer;
18
16
  isTTY: boolean;
19
17
  compositor: TerminalCompositor | null;
@@ -1,3 +1,6 @@
1
+ export declare const SPINNER_WARM_FRAME_MS = 80;
2
+ export declare const SPINNER_IDLE_FRAME_MS = 250;
3
+ export declare const SPINNER_WARMUP_MS = 2000;
1
4
  export interface SpinnerControllerOptions {
2
5
  captureMode: boolean;
3
6
  onTick: () => void;
@@ -8,6 +11,9 @@ export interface SpinnerControllerOptions {
8
11
  export declare class SpinnerController {
9
12
  private state;
10
13
  private interval;
14
+ private intervalMs;
15
+ private cadenceStartedAt;
16
+ private lastFrameKey;
11
17
  private readonly captureMode;
12
18
  private readonly onTick;
13
19
  private readonly goblin;
@@ -19,6 +25,10 @@ export declare class SpinnerController {
19
25
  enabled: boolean;
20
26
  rotateVerbEveryMs?: number;
21
27
  }): void;
28
+ private armInterval;
29
+ private clearTimer;
30
+ private syncCadence;
31
+ private frameKey;
22
32
  dispose(): void;
23
33
  renderSpinnerRow(): string | null;
24
34
  renderTipRow(cols: number): string | null;