UNPKG

@code-yeongyu/senpi

Version:

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

13 lines • 929 B
import type { PermissionConfig, PermissionPresetName, Rule, Ruleset } from "./types.ts"; export declare const EDIT_TOOLS: string[]; export declare const DEFAULT_PERMISSION_PRESET: PermissionPresetName; export declare const ACCEPT_EDITS_PERMISSION_PRESET_CAPABILITY = "permission_preset_accept_edits"; export declare const AUTO_PERMISSION_PRESET_CAPABILITY = "permission_preset_auto"; export declare function expand(path: string): string; export declare function fromConfig(config: PermissionConfig): Ruleset; export declare function rulesForPreset(preset: PermissionPresetName): Ruleset; /** True only for a rule object produced by `rulesForPreset`, never for a user's identical rule. */ export declare function isPresetRule(rule: Rule): boolean; export declare function merge(...rulesets: Ruleset[]): Ruleset; export declare function disabled(tools: string[], ruleset: Ruleset): Set<string>; //# sourceMappingURL=config.d.ts.map