feat(insight): add insight command and server for personalized programming insights

This commit is contained in:
DragonnZhang 2026-01-16 13:12:22 +08:00
parent b80fe574b8
commit 9ff4be1ae4
4 changed files with 1000 additions and 0 deletions

View file

@ -40,6 +40,7 @@ import { themeCommand } from '../ui/commands/themeCommand.js';
import { toolsCommand } from '../ui/commands/toolsCommand.js';
import { vimCommand } from '../ui/commands/vimCommand.js';
import { setupGithubCommand } from '../ui/commands/setupGithubCommand.js';
import { insightCommand } from '../ui/commands/insightCommand.js';
/**
* Loads the core, hard-coded slash commands that are an integral part
@ -90,6 +91,7 @@ export class BuiltinCommandLoader implements ICommandLoader {
vimCommand,
setupGithubCommand,
terminalSetupCommand,
insightCommand,
];
return allDefinitions.filter((cmd): cmd is SlashCommand => cmd !== null);