UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

12 lines • 634 B
import type { SettingsManager } from "../../../settings-manager.ts"; import type { IdentityMatcher } from "./evaluate.ts"; import type { Ruleset } from "./types.ts"; /** Last matching deny in global, project, CLI order, as used by the tool refusal. */ export declare function findDenyProvenance(settingsManager: SettingsManager, cliRuleset: Ruleset, permission: string, patterns: readonly string[], matchesIdentity?: IdentityMatcher): { layer: "global" | "project" | "cli"; permission: string; pattern: string; action: string; otherLayerDenies: boolean; } | undefined; //# sourceMappingURL=deny-provenance.d.ts.map