import type { Command } from '../../commands.js'

const flowctl = {
  type: 'local',
  name: 'flowctl',
  description:
    'Control an active Flow: check status, stop, list checkpoints, resume, view instincts or failures.',
  isEnabled: () => true,
  supportsNonInteractive: false,
  argumentHint: 'status|stop|checkpoints|resume|instincts|failures',
  load: () => import('./flowctl.js'),
} satisfies Command

export default flowctl
