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,6 +1,6 @@
import type { ContentBlockParam } from '@anthropic-ai/sdk/resources/index.mjs'
import type { Command } from '../commands.js'
import { AGENT_TOOL_NAME } from '@claude-code-best/builtin-tools/tools/AgentTool/constants.js'
import type { ContentBlockParam } from '@anthropic-ai/sdk/resources/index.mjs';
import type { Command } from '../commands.js';
import { AGENT_TOOL_NAME } from '@claude-code-best/builtin-tools/tools/AgentTool/constants.js';
const statusline = {
type: 'prompt',
@@ -9,23 +9,18 @@ const statusline = {
aliases: [],
name: 'statusline',
progressMessage: 'setting up statusLine',
allowedTools: [
AGENT_TOOL_NAME,
'Read(~/**)',
'Edit(~/.claude/settings.json)',
],
allowedTools: [AGENT_TOOL_NAME, 'Read(~/**)', 'Edit(~/.claude/settings.json)'],
source: 'builtin',
disableNonInteractive: true,
async getPromptForCommand(args): Promise<ContentBlockParam[]> {
const prompt =
args.trim() || 'Configure my statusLine from my shell PS1 configuration'
const prompt = args.trim() || 'Configure my statusLine from my shell PS1 configuration';
return [
{
type: 'text',
text: `Create an ${AGENT_TOOL_NAME} with subagent_type "statusline-setup" and the prompt "${prompt}"`,
},
]
];
},
} satisfies Command
} satisfies Command;
export default statusline
export default statusline;