index.ts 381 B

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