surshar / claude-code
Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
Built by Anthropic · github.com/anthropics
| @@ -7,4 +7,5 @@ | ||
| 7 | 7 | command: 'clear', |
| 8 | 8 | args: '', |
| 9 | 9 | origin: { kind: 'composer' }, |
| 10 | + presentation: { isFullscreen: true, columns: 160 }, | |
| 10 | 11 | } |
| @@ -1,10 +1,12 @@ | ||
| 1 | 1 | import type { CommandRunInput } from 'claude-code' |
| 2 | 2 | |
| 3 | 3 | /** |
| 4 | - * The command as the person types it, with no arguments. | |
| 4 | + * The command as the person types it, with no arguments, in the fullscreen | |
| 5 | + * layout on a 160-column terminal. | |
| 5 | 6 | */ |
| 6 | 7 | export const DIFF: CommandRunInput = { |
| 7 | 8 | command: 'diff', |
| 8 | 9 | args: '', |
| 9 | 10 | origin: { kind: 'composer' }, |
| 11 | + presentation: { isFullscreen: true, columns: 160 }, | |
| 10 | 12 | } |
| @@ -7,4 +7,5 @@ | ||
| 7 | 7 | command: 'tools', |
| 8 | 8 | args: '', |
| 9 | 9 | origin: { kind: 'composer' }, |
| 10 | + presentation: { isFullscreen: true, columns: 160 }, | |
| 10 | 11 | } |
| @@ -1,0 +1,10 @@ | ||
| 1 | +import type { CommandPresentation } from 'claude-code' | |
| 2 | + | |
| 3 | +/** | |
| 4 | + * Where a typed command's answer shows in these tests: the fullscreen | |
| 5 | + * layout on a 160-column terminal. | |
| 6 | + */ | |
| 7 | +export const FULLSCREEN: CommandPresentation = { | |
| 8 | + isFullscreen: true, | |
| 9 | + columns: 160, | |
| 10 | +} |
| @@ -2,6 +2,7 @@ | ||
| 2 | 2 | export * from './batch-of.js' |
| 3 | 3 | export * from './bearer.js' |
| 4 | 4 | export * from './first-party-session.js' |
| 5 | +export * from './fullscreen.js' | |
| 5 | 6 | export * from './record.js' |
| 6 | 7 | export * from './recording.js' |
| 7 | 8 | export * from './survey-answer.js' |
| @@ -1,6 +1,7 @@ | ||
| 1 | 1 | import type { CommandRunInput } from 'claude-code' |
| 2 | 2 | |
| 3 | 3 | import type { TelemetryLogEntry } from '../../types' |
| 4 | +import { FULLSCREEN } from './fullscreen.js' | |
| 4 | 5 | |
| 5 | 6 | /** |
| 6 | 7 | * The command that has the recording plugin log an entry, typed as the |
| @@ -13,4 +14,5 @@ | ||
| 13 | 14 | command: 'record', |
| 14 | 15 | args: JSON.stringify(entry), |
| 15 | 16 | origin: { kind: 'composer' }, |
| 17 | + presentation: FULLSCREEN, | |
| 16 | 18 | }) |
Large file, diff not shown.