import type { CommandRunInput } from 'claude-code' import type { TelemetryLogEntry } from '../../types' import { FULLSCREEN } from './fullscreen.js' /** * The command that has the recording plugin log an entry, typed as the * person would type it. * * @param entry what to log * @returns `/record ` */ export const record = (entry: TelemetryLogEntry): CommandRunInput => ({ command: 'record', args: JSON.stringify(entry), origin: { kind: 'composer' }, presentation: FULLSCREEN, })