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.

430 B
Raw Blame
import type { TeamHubTenantAgent } from "@/features/teamhub/teamhub-types";

/** Only the Human who registered an Agent removes it; Another Me stays. */
export function canDeleteTenantAgent(
  registration: TeamHubTenantAgent | undefined,
  currentActorId: string | undefined,
) {
  return (
    registration !== undefined &&
    registration.created_by.id === currentActorId &&
    registration.agent_type !== "anotherme"
  );
}