Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
export function buildPastedValue(current: string, pasted: string, input: HTMLInputElement): string { const start = input.selectionStart ?? current.length const end = input.selectionEnd ?? start return `${current.slice(0, start)}${pasted}${current.slice(end)}` }