@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
14 lines • 964 B
TypeScript
import type { AgentSessionRuntimeDiagnostic } from "./agent-session-services.ts";
import type { SettingsManager } from "./settings-manager.ts";
export declare function collectSettingsDiagnostics(settingsManager: SettingsManager): AgentSessionRuntimeDiagnostic[];
/**
* The CLI labels every diagnostic with the startup phase that produced it. It shares this module's
* validation so a settings check can never reach one collector and silently miss the other.
*/
export declare function collectSettingsDiagnosticsWithContext(settingsManager: SettingsManager, context: string): AgentSessionRuntimeDiagnostic[];
/**
* Remove duplicate type/message diagnostics while preserving their first occurrence.
* Startup and runtime settings managers can report the same file error.
*/
export declare function deduplicateDiagnostics(diagnostics: readonly AgentSessionRuntimeDiagnostic[]): AgentSessionRuntimeDiagnostic[];
//# sourceMappingURL=settings-diagnostics.d.ts.map