agent-afk 5.303.1 → 5.303.2

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,2 @@
1
+ export declare function parseSidecarName(head: string): string | undefined;
2
+ export declare function readSidecarName(sessionId: string): Promise<string | undefined>;
@@ -0,0 +1,5 @@
1
+ import type { ContentBlockParam } from '@anthropic-ai/sdk/resources';
2
+ import type { AgentSession } from '../agent/session/agent-session.js';
3
+ import { type SessionAutosaver } from '../cli/session-autosave.js';
4
+ export declare function webTurnLabel(content: string | ContentBlockParam[]): string;
5
+ export declare function drainAndPersistTurn(session: AgentSession, content: string | ContentBlockParam[], autosaver: SessionAutosaver | undefined): Promise<void>;
@@ -24,6 +24,7 @@ export declare class SessionOwner {
24
24
  private readonly mcpManagers;
25
25
  private readonly turns;
26
26
  private readonly pending;
27
+ private readonly autosavers;
27
28
  constructor(options: SessionOwnerOptions);
28
29
  private get baseCwd();
29
30
  create(request?: CreateSessionRequest): Promise<OwnedSessionInfo>;