mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-19 06:45:50 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
import * as React from 'react'
|
||||
import { AgentsMenu } from '../../components/agents/AgentsMenu.js'
|
||||
import type { ToolUseContext } from '../../Tool.js'
|
||||
import { getTools } from '../../tools.js'
|
||||
import type { LocalJSXCommandOnDone } from '../../types/command.js'
|
||||
import * as React from 'react';
|
||||
import { AgentsMenu } from '../../components/agents/AgentsMenu.js';
|
||||
import type { ToolUseContext } from '../../Tool.js';
|
||||
import { getTools } from '../../tools.js';
|
||||
import type { LocalJSXCommandOnDone } from '../../types/command.js';
|
||||
|
||||
export async function call(
|
||||
onDone: LocalJSXCommandOnDone,
|
||||
context: ToolUseContext,
|
||||
): Promise<React.ReactNode> {
|
||||
const appState = context.getAppState()
|
||||
const permissionContext = appState.toolPermissionContext
|
||||
const tools = getTools(permissionContext)
|
||||
export async function call(onDone: LocalJSXCommandOnDone, context: ToolUseContext): Promise<React.ReactNode> {
|
||||
const appState = context.getAppState();
|
||||
const permissionContext = appState.toolPermissionContext;
|
||||
const tools = getTools(permissionContext);
|
||||
|
||||
return <AgentsMenu tools={tools} onExit={onDone} />
|
||||
return <AgentsMenu tools={tools} onExit={onDone} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user