mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-03 06:00:49 +00:00
feat(insight): update static insight generator and command handling
- Refine DataProcessor and StaticInsightGenerator logic - Update StaticInsightTypes definitions - Enhance insight command implementation - Update package dependencies
This commit is contained in:
parent
98735fecd7
commit
39d2067d14
6 changed files with 419 additions and 62 deletions
|
|
@ -60,7 +60,12 @@ export const insightCommand: SlashCommand = {
|
|||
context.ui.setDebugMessage(t('Generating insights...'));
|
||||
|
||||
const projectsDir = join(os.homedir(), '.qwen', 'projects');
|
||||
const insightGenerator = new StaticInsightGenerator();
|
||||
if (!context.services.config) {
|
||||
throw new Error('Config service is not available');
|
||||
}
|
||||
const insightGenerator = new StaticInsightGenerator(
|
||||
context.services.config,
|
||||
);
|
||||
|
||||
context.ui.addItem(
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue