UNPKG

@code-yeongyu/senpi

Version:

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

15 lines • 1.14 kB
import type { ConfigReloadLogger } from "./log.ts"; export declare function joinConfigDir(cwd: string): string; export declare function isSettingsPath(path: string, agentDir: string, cwd: string): boolean; export declare function updateSettingsContentSnapshot(contents: Map<string, string>, path: string): void; export declare function refreshSettingsContentSnapshots(contents: Map<string, string>, agentDir: string, cwd: string): void; /** * Drops settings.json changes whose top-level diff is limited to routine keys * (ROUTINE_SETTINGS_KEYS). The content diff works across processes, unlike the * process-local self-write tracker: /model in one session no longer hot-reloads * every other session. The snapshot base advances for every observed settings * path, suppressed or not, so each event is classified against the previous * event's content. Missing or unparseable content is never suppressed. */ export declare function excludeRoutineOnlySettingsChanges(paths: readonly string[], contents: Map<string, string>, agentDir: string, cwd: string, logger: ConfigReloadLogger): string[]; //# sourceMappingURL=routine-settings.d.ts.map