mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-22 16:25:51 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import * as React from 'react'
|
||||
import { BLACK_CIRCLE } from 'src/constants/figures.js'
|
||||
import { getModeColor } from 'src/utils/permissions/PermissionMode.js'
|
||||
import { Box, Text } from '@anthropic/ink'
|
||||
import type { ToolProgressData } from 'src/Tool.js'
|
||||
import type { ProgressMessage } from 'src/types/message.js'
|
||||
import type { ThemeName } from 'src/utils/theme.js'
|
||||
import type { Output } from './EnterPlanModeTool.js'
|
||||
import * as React from 'react';
|
||||
import { BLACK_CIRCLE } from 'src/constants/figures.js';
|
||||
import { getModeColor } from 'src/utils/permissions/PermissionMode.js';
|
||||
import { Box, Text } from '@anthropic/ink';
|
||||
import type { ToolProgressData } from 'src/Tool.js';
|
||||
import type { ProgressMessage } from 'src/types/message.js';
|
||||
import type { ThemeName } from 'src/utils/theme.js';
|
||||
import type { Output } from './EnterPlanModeTool.js';
|
||||
|
||||
export function renderToolUseMessage(): React.ReactNode {
|
||||
return null
|
||||
return null;
|
||||
}
|
||||
|
||||
export function renderToolResultMessage(
|
||||
@@ -23,12 +23,10 @@ export function renderToolResultMessage(
|
||||
<Text> Entered plan mode</Text>
|
||||
</Box>
|
||||
<Box paddingLeft={2}>
|
||||
<Text dimColor>
|
||||
Claude is now exploring and designing an implementation approach.
|
||||
</Text>
|
||||
<Text dimColor>Claude is now exploring and designing an implementation approach.</Text>
|
||||
</Box>
|
||||
</Box>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
export function renderToolUseRejectedMessage(): React.ReactNode {
|
||||
@@ -37,5 +35,5 @@ export function renderToolUseRejectedMessage(): React.ReactNode {
|
||||
<Text color={getModeColor('default')}>{BLACK_CIRCLE}</Text>
|
||||
<Text> User declined to enter plan mode</Text>
|
||||
</Box>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type BLACK_CIRCLE = any;
|
||||
export type BLACK_CIRCLE = any
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// Auto-generated type stub — replace with real implementation
|
||||
export type getModeColor = any;
|
||||
export type getModeColor = any
|
||||
|
||||
Reference in New Issue
Block a user