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.

215 B
Raw Blame
export function agentNameControlSize(name: string) {
  let columns = 0;
  for (const char of name) {
    columns += (char.codePointAt(0) ?? 0) > 0x7f ? 2 : 1;
  }
  return Math.max(11, Math.min(32, columns + 2));
}