/ commands / chrome / index.ts
index.ts
 1  import { getIsNonInteractiveSession } from '../../bootstrap/state.js'
 2  import type { Command } from '../../commands.js'
 3  
 4  const command: Command = {
 5    name: 'chrome',
 6    description: 'Claude in Chrome (Beta) settings',
 7    availability: ['claude-ai'],
 8    isEnabled: () => !getIsNonInteractiveSession(),
 9    type: 'local-jsx',
10    load: () => import('./chrome.js'),
11  }
12  
13  export default command