export const CURSOR_SUBCOMMANDS = [
  'auth',
  'status',
  'probe',
  'models',
  'start',
  'stop',
  'enable',
  'disable',
  'help',
  '--help',
  '-h',
] as const;

export function isCursorSubcommandToken(token?: string): boolean {
  return (
    Boolean(token) && CURSOR_SUBCOMMANDS.includes(token as (typeof CURSOR_SUBCOMMANDS)[number])
  );
}
