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:
@@ -244,9 +244,12 @@ async function executeForkedSkill(
|
||||
const normalizedNew = normalizeMessages([message])
|
||||
for (const m of normalizedNew) {
|
||||
const contentArray = m.message?.content
|
||||
const hasToolContent = Array.isArray(contentArray) && contentArray.some(
|
||||
(c: { type: string }) => c.type === 'tool_use' || c.type === 'tool_result',
|
||||
)
|
||||
const hasToolContent =
|
||||
Array.isArray(contentArray) &&
|
||||
contentArray.some(
|
||||
(c: { type: string }) =>
|
||||
c.type === 'tool_use' || c.type === 'tool_result',
|
||||
)
|
||||
if (hasToolContent) {
|
||||
onProgress({
|
||||
toolUseID: `skill_${parentMessage.message.id}`,
|
||||
|
||||
Reference in New Issue
Block a user