feat: subagent feature wip

This commit is contained in:
tanzhenxin
2025-09-10 14:35:08 +08:00
parent 6b09aee32b
commit 4839cb9320
13 changed files with 48 additions and 33 deletions

View File

@@ -6,6 +6,7 @@
import { useState, useCallback, useRef } from 'react';
import { Box, Text } from 'ink';
import Spinner from 'ink-spinner';
import { WizardStepProps, WizardAction } from '../types.js';
import { sanitizeInput } from '../utils.js';
import { Config, subagentGenerator } from '@qwen-code/qwen-code-core';
@@ -239,8 +240,11 @@ export function DescriptionInput({
{state.isGenerating ? (
<Box>
<Box marginRight={1}>
<Spinner />
</Box>
<Text color={theme.text.accent}>
Generating subagent configuration...
Generating subagent configuration...
</Text>
</Box>
) : (