mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-10-26 10:45:22 +00:00
refactor(permission-system): simplify policy and autoreview flow
This commit is contained in:
@@ -224,7 +224,6 @@ export function makeGateCheckResult(
|
||||
export function makeGateInputs(
|
||||
overrides: {
|
||||
getActiveSkillEntries?: () => SkillPromptEntry[];
|
||||
getInfrastructureReadDirs?: () => string[];
|
||||
getToolPreviewLimits?: () => ToolPreviewFormatterOptions;
|
||||
getPathNormalizer?: () => PathNormalizer;
|
||||
getShellToolAliases?: () => ShellToolsConfig | undefined;
|
||||
@@ -234,8 +233,6 @@ export function makeGateInputs(
|
||||
getActiveSkillEntries:
|
||||
overrides.getActiveSkillEntries ??
|
||||
vi.fn<() => SkillPromptEntry[]>(() => []),
|
||||
getInfrastructureReadDirs:
|
||||
overrides.getInfrastructureReadDirs ?? vi.fn<() => string[]>(() => []),
|
||||
getToolPreviewLimits:
|
||||
overrides.getToolPreviewLimits ??
|
||||
vi.fn<() => ToolPreviewFormatterOptions>(() => ({
|
||||
|
||||
Reference in New Issue
Block a user