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.
import type { ReactNode } from "react";
import { useT } from "@/i18n/use-translation";
import { agentLiveActivitiesMessages as m } from "./agent-live-activities.messages";
export interface AgentLiveActivity {
id: string;
label: string;
detail?: string;
}
export function AgentInfoSection({
title,
children,
}: {
title: string;
children: ReactNode;
}) {
return (
<section className="space-y-2">
<h3 className="px-1 text-xs font-medium leading-[18px] text-muted-foreground">
{title}
</h3>
{children}
</section>
);
}
export function AgentLiveActivities({
activities,
}: {
activities: readonly AgentLiveActivity[];
}) {
const t = useT();
if (!activities.length) return null;
return (
<AgentInfoSection title={t(m.title)}>
<ul className="space-y-2">
{activities.map((activity) => (
<li
key={activity.id}
className="flex min-h-7 items-center gap-2 rounded-lg bg-muted px-2.5 py-1.5 text-xs leading-4 text-app-muted"
>
<span className="min-w-0 flex-1 break-words">{activity.label}</span>
{activity.detail ? (
<span className="shrink-0 text-2xs text-app-subtle">
{activity.detail}
</span>
) : null}
</li>
))}
</ul>
</AgentInfoSection>
);
}