style: 完成所有文件的lint

This commit is contained in:
claude-code-best
2026-05-01 21:39:30 +08:00
parent d136872cc9
commit 6182015005
1333 changed files with 68255 additions and 77882 deletions

View File

@@ -1,27 +1,20 @@
import React from 'react'
import { Box } from '@anthropic/ink'
import { BashTool } from '@claude-code-best/builtin-tools/tools/BashTool/BashTool.js'
import type { ShellProgress } from '../types/tools.js'
import { UserBashInputMessage } from './messages/UserBashInputMessage.js'
import { ShellProgressMessage } from './shell/ShellProgressMessage.js'
import React from 'react';
import { Box } from '@anthropic/ink';
import { BashTool } from '@claude-code-best/builtin-tools/tools/BashTool/BashTool.js';
import type { ShellProgress } from '../types/tools.js';
import { UserBashInputMessage } from './messages/UserBashInputMessage.js';
import { ShellProgressMessage } from './shell/ShellProgressMessage.js';
type Props = {
input: string
progress: ShellProgress | null
verbose: boolean
}
input: string;
progress: ShellProgress | null;
verbose: boolean;
};
export function BashModeProgress({
input,
progress,
verbose,
}: Props): React.ReactNode {
export function BashModeProgress({ input, progress, verbose }: Props): React.ReactNode {
return (
<Box flexDirection="column" marginTop={1}>
<UserBashInputMessage
addMargin={false}
param={{ text: `<bash-input>${input}</bash-input>`, type: 'text' }}
/>
<UserBashInputMessage addMargin={false} param={{ text: `<bash-input>${input}</bash-input>`, type: 'text' }} />
{progress ? (
<ShellProgressMessage
fullOutput={progress.fullOutput}
@@ -38,5 +31,5 @@ export function BashModeProgress({
})
)}
</Box>
)
);
}