agent-afk 5.37.1 → 5.37.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.
@@ -31,6 +31,7 @@ export interface RoutingDecisionEntry {
31
31
  tool?: string | undefined;
32
32
  total_bytes?: number | undefined;
33
33
  stream?: string | undefined;
34
+ restricted_count?: number | undefined;
34
35
  }
35
36
  export declare function buildRoutingDecisionRow(entry: RoutingDecisionEntry): Record<string, unknown>;
36
37
  export declare function appendRoutingDecision(entry: RoutingDecisionEntry): Promise<void>;
@@ -4,5 +4,6 @@ export interface InheritedReadRootsArgs {
4
4
  parentCwd: string | undefined;
5
5
  childCwd: string | undefined;
6
6
  worktreeMainRoot?: string | undefined;
7
+ afkStateRoot?: string | undefined;
7
8
  }
8
9
  export declare function computeInheritedReadRoots(args: InheritedReadRootsArgs): string[] | undefined;
@@ -7,3 +7,4 @@ export declare function wouldBeRestricted(inputPath: string, context: ToolHandle
7
7
  resolved: string;
8
8
  roots: string[];
9
9
  };
10
+ export declare function extractCandidatePaths(command: string): string[];
@@ -0,0 +1,8 @@
1
+ export declare const BUILTIN_READ_DENYLIST: readonly string[];
2
+ export declare function getReadDenylist(): readonly string[];
3
+ export declare function _resetReadDenylistCacheForTests(): void;
4
+ export declare function isReadDenied(filePath: string): {
5
+ denied: boolean;
6
+ matched?: string;
7
+ };
8
+ export declare function assertNotReadDenied(filePath: string, handlerName?: string): void;