Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
/** Pure title classifiers can reuse verdicts across unrelated store writes; changed titles become new keys, so no invalidation signal is needed. */
import { memoizeStringResult } from './string-result-cache'
/** Bound growth across session length while keeping the live pane/title working set cached. */
const MAX_MEMOIZED_TITLES = 1024
export function memoizeTitleClassification<T>(
classify: (title: string) => T
): (title: string) => T {
return memoizeStringResult(classify, MAX_MEMOIZED_TITLES)
}