Something went wrong. Try again.
the claude code sourcemaps leaked march 31
Something went wrong. Try again.
695 B · 24 lines
TypeScript
at main
12345678910111213141516171819202122232425import { getIsNonInteractiveSession } from '../../bootstrap/state.js'import type { Command } from '../../commands.js'
export const context: Command = { name: 'context', description: 'Visualize current context usage as a colored grid', isEnabled: () => !getIsNonInteractiveSession(), type: 'local-jsx', load: () => import('./context.js'),}
export const contextNonInteractive: Command = { type: 'local', name: 'context', supportsNonInteractive: true, description: 'Show current context usage', get isHidden() { return !getIsNonInteractiveSession() }, isEnabled() { return getIsNonInteractiveSession() }, load: () => import('./context-noninteractive.js'),}