agent-afk 5.276.2 → 5.276.3

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.
@@ -10,6 +10,7 @@ export interface AnthropicDirectQueryOptions {
10
10
  promptStream: AsyncIterable<ProviderUserTurn>;
11
11
  toolDispatcher: ToolDispatcher;
12
12
  sessionId?: string;
13
+ cwd?: string;
13
14
  initialMessages?: MessageParam[];
14
15
  messageJournal?: import('../../journal/index.js').MessageJournal;
15
16
  initialUsageInputTokens?: number;
@@ -16,6 +16,7 @@ export declare class AnthropicDirectQuery implements ProviderQuery {
16
16
  private readonly softDeadlineMs?;
17
17
  private readonly traceWriter?;
18
18
  private readonly subagentId?;
19
+ private readonly _cwd;
19
20
  private readonly state;
20
21
  private readonly abort;
21
22
  private readonly retry;
@@ -26,6 +26,7 @@ export interface TurnDriverContext {
26
26
  readonly throttleQueue: import('./throttle-queue.js').ThrottleQueue | undefined;
27
27
  readonly fastModeController: import('../../fast-mode.js').FastModeController | undefined;
28
28
  readonly beforeNextRound: (() => string | undefined) | undefined;
29
+ readonly cwd: string;
29
30
  composeSystem(): ContentBlockParam[] | null;
30
31
  makeInterruptedTurnEvent(): ProviderEvent;
31
32
  compact(): Promise<ProviderCompactResult>;