agent-afk 5.85.2 → 5.85.4

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,6 +1,8 @@
1
1
  import type { DetectorResult } from '../../schemas.js';
2
2
  import type { SessionRead } from '../reader.js';
3
3
  export declare const DEFAULT_SUBAGENT_READ_DENIAL_MIN_OCCURRENCES = 2;
4
+ export type DenialMechanism = 'read-root-containment' | 'credential-floor' | 'unclassified';
5
+ export declare function classifyDenialMechanism(reason: string): DenialMechanism;
4
6
  export interface SubagentReadDenialOptions {
5
7
  minOccurrences?: number;
6
8
  }
@@ -0,0 +1,6 @@
1
+ import type { FailureCard, DetectorResult } from '../schemas.js';
2
+ type Severity = FailureCard['severity'];
3
+ export declare function maxSeverity(a: Severity, b: Severity): Severity;
4
+ export declare function detectorTag(detail: Record<string, unknown> | undefined): string | undefined;
5
+ export declare function reconcileSeverity(existing: FailureCard, detection: DetectorResult): Severity;
6
+ export {};