Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.
export interface VoiceFailureOptions {
recoverable?: boolean;
cause?: unknown;
}
// Carries the reported failure_code and recovery decision as structured
// fields so callers never classify failures by message text.
export class VoiceFailure extends Error {
readonly code: string;
readonly recoverable: boolean;
constructor(
code: string,
message: string,
options: VoiceFailureOptions = {},
) {
super(message, { cause: options.cause });
this.name = "VoiceFailure";
this.code = code;
this.recoverable = options.recoverable === true;
}
}