new initial commit (history rewritten)

This commit is contained in:
kuberwastaken
2026-03-31 16:25:52 +05:30
committed by Oleg Chirukhin
commit c1996f2e3b
1907 changed files with 514172 additions and 0 deletions

24
commands/context/index.ts Normal file
View File

@@ -0,0 +1,24 @@
import { 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'),
}