Skip to content

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.

788 B
Raw Blame
export type InstallStage =
  | "preflight"
  | "release"
  | "images"
  | "services"
  | "account"
  | "computer"
  | "runtime";
export interface InstallerEvent {
  kind: "stage" | "log";
  stage?: InstallStage;
  state?: "running" | "succeeded" | "failed" | "skipped" | "waiting_user";
  message: string;
  progress?: {
    completed: number;
    total?: number;
    unit: string;
    // The current download rate, when the source reports one.
    bytesPerSecond?: number;
    // Counts only the file downloading now, not the whole download.
    partial?: boolean;
  };
}
export interface InstallObserver {
  interactive?: boolean;
  onEvent: (event: InstallerEvent) => void;
}
export interface InstallOutcome {
  code: number;
  state: string;
  message: string;
  details?: unknown;
}