Skip to content

A desktop coding agent with free access to frontier models.

TypeScript
332 B
Raw Blame
/** Presentation-only name for text supplied by the local agent runtime. */
export function displayRuntimeBrand(value: string): string {
  return value.replace(/opencode/gi, (name) => {
    if (name === name.toUpperCase()) return "OMNIRUSH"
    if (name[0] === name[0]?.toUpperCase()) return "OmniRush"
    return "omnirush"
  })
}