agent-afk 5.275.4 → 5.275.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,5 +1,3 @@
1
1
  export declare const RAW_INPUT_FIELDS: readonly ["file_path", "name", "id_prefix"];
2
2
  export declare const RAW_INPUT_FIELD_CAP = 4096;
3
- export declare const CAPTURE_FIELD_CAP = 8192;
4
3
  export declare function extractRawToolInput(input: unknown): string | undefined;
5
- export declare function extractCaptureToolInput(input: unknown): string | undefined;
@@ -79,7 +79,6 @@ export type ProviderEvent = {
79
79
  toolName: string;
80
80
  toolInput: string;
81
81
  toolInputRaw?: string;
82
- toolInputCapture?: string;
83
82
  pending?: true;
84
83
  sessionId?: string;
85
84
  } | {
@@ -16,7 +16,6 @@ export declare class AgentSession implements IAgentSession {
16
16
  private conversationHistory;
17
17
  private turnCount;
18
18
  private inboundMessageCount;
19
- private subagentOutputRecorder;
20
19
  private pendingFrameworkContext;
21
20
  private lastResponseMetadata;
22
21
  private initPromise;
@@ -1,5 +1,4 @@
1
1
  import type { ContentBlockParam } from '@anthropic-ai/sdk/resources';
2
- import { type SubagentOutputRecorder } from './subagent-output-capture.js';
3
2
  import { type TransformDeps } from './stream-consumer.js';
4
3
  import type { AccountingAccumulator } from './accounting-accumulator.js';
5
4
  import type { LedgerLifecycle } from './ledger-lifecycle.js';
@@ -29,8 +28,6 @@ export interface TurnRunnerDeps {
29
28
  incInboundMessageCount: () => number;
30
29
  getTurnCount: () => number;
31
30
  incTurnCount: () => void;
32
- getSubagentOutputRecorder: () => SubagentOutputRecorder | null | undefined;
33
- setSubagentOutputRecorder: (r: SubagentOutputRecorder | null) => void;
34
31
  getProviderQuery: () => ProviderQuery;
35
32
  getLedgerMetadata: () => ReturnType<SessionStateManager['getSessionMetadata']>;
36
33
  observeProviderEvent?: (event: ProviderEvent) => void;
@@ -10,6 +10,10 @@ export declare function isReadDenied(filePath: string): {
10
10
  denied: boolean;
11
11
  matched?: string;
12
12
  };
13
+ export declare function isCanonicalPathReadDenied(real: string): {
14
+ denied: boolean;
15
+ matched?: string;
16
+ };
13
17
  export declare const READ_DENYLIST_ENTRY_MARKER = "read-denylist entry:";
14
18
  export declare const PROTECTED_CREDENTIAL_PATH_MARKER = "is a protected credential/secret path";
15
19
  export declare function assertNotReadDenied(filePath: string, handlerName?: string): void;
@@ -38,7 +38,6 @@ export interface ToolUseDetailChunk {
38
38
  toolName: string;
39
39
  toolInput: string;
40
40
  toolInputRaw?: string;
41
- toolInputCapture?: string;
42
41
  pending?: true;
43
42
  metadata?: Record<string, unknown>;
44
43
  }