/** CDP target title for the dedicated Agents window (not editor auxiliary bar). */
export function isAgentsWindowTitle(title) {
    return /^cursor agents$/i.test(title.trim());
}
export function windowKindFromTitle(title) {
    return isAgentsWindowTitle(title) ? 'agents' : 'editor';
}
export function annotateWindowKind(win) {
    return { ...win, kind: win.kind ?? windowKindFromTitle(win.title) };
}
