the claude code sourcemaps leaked march 31
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 24 lines 695 B view raw
1import { getIsNonInteractiveSession } from '../../bootstrap/state.js' 2import type { Command } from '../../commands.js' 3 4export const context: Command = { 5 name: 'context', 6 description: 'Visualize current context usage as a colored grid', 7 isEnabled: () => !getIsNonInteractiveSession(), 8 type: 'local-jsx', 9 load: () => import('./context.js'), 10} 11 12export const contextNonInteractive: Command = { 13 type: 'local', 14 name: 'context', 15 supportsNonInteractive: true, 16 description: 'Show current context usage', 17 get isHidden() { 18 return !getIsNonInteractiveSession() 19 }, 20 isEnabled() { 21 return getIsNonInteractiveSession() 22 }, 23 load: () => import('./context-noninteractive.js'), 24}