agent-afk 5.258.1 → 5.258.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.
@@ -1,8 +1,10 @@
1
1
  import type { HarnessHookEvent } from '../hooks.js';
2
+ export { compileMatcher, CLAUDE_CODE_ALIASES } from './matcher.js';
2
3
  export interface RawCommandHook {
3
4
  type: 'command';
4
5
  command: string;
5
6
  timeout_ms?: number;
7
+ timeout?: number;
6
8
  }
7
9
  export type RawHook = RawCommandHook;
8
10
  export interface RawMatcherGroup {
@@ -30,7 +32,6 @@ export interface LoadedHooksConfig {
30
32
  sources: string[];
31
33
  warnings: string[];
32
34
  }
33
- export declare function compileMatcher(matcher: string | undefined): (toolName: string) => boolean;
34
35
  interface SingleFileResult {
35
36
  hooks: ResolvedHooksConfig;
36
37
  enableShellHooks: boolean;
@@ -49,4 +50,3 @@ export interface LoadHooksConfigOptions {
49
50
  pluginsDir?: string;
50
51
  }
51
52
  export declare function loadHooksConfig(opts?: LoadHooksConfigOptions): LoadedHooksConfig;
52
- export {};
@@ -0,0 +1,2 @@
1
+ export declare const CLAUDE_CODE_ALIASES: Readonly<Record<string, readonly string[]>>;
2
+ export declare function compileMatcher(matcher: string | undefined, warn?: (msg: string) => void): (toolName: string) => boolean;