UNPKG

@code-yeongyu/senpi

Version:

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

14 lines • 1 kB
import type { SettingsScope, SettingsStorage } from "./settings-manager.ts"; /** Deletes every retired key from a raw parsed settings object in place; true when one was present. */ export declare function removeRetiredSettingsKeys(raw: Record<string, unknown>): boolean; /** * Rewrites one scope's file as its RAW parsed content with the retired keys removed. Unlike the * normal save path it runs no `migrateSettings()`, so every other key keeps its parsed value exactly * (legacy shapes included). The edit is re-derived from the content seen under the storage lock, so * a concurrent writer's content is edited rather than overwritten. A JSONC file loses its comments. * * A failed write never fails the load: the key is already ignored in memory, and the failure is * recorded once per settings file per process in the brand debug log. */ export declare function writeRawScopedSettings(storage: SettingsStorage, scope: SettingsScope): void; //# sourceMappingURL=settings-retired-keys.d.ts.map