summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks/slashCommandProcessor.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/hooks/slashCommandProcessor.ts')
-rw-r--r--packages/cli/src/ui/hooks/slashCommandProcessor.ts30
1 files changed, 0 insertions, 30 deletions
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.ts
index e8d773b4..31397af5 100644
--- a/packages/cli/src/ui/hooks/slashCommandProcessor.ts
+++ b/packages/cli/src/ui/hooks/slashCommandProcessor.ts
@@ -248,36 +248,6 @@ export const useSlashCommandProcessor = (
action: (_mainCommand, _subCommand, _args) => openEditorDialog(),
},
{
- name: 'stats',
- altName: 'usage',
- description: 'check session stats. Usage: /stats [model|tools]',
- action: (_mainCommand, subCommand, _args) => {
- if (subCommand === 'model') {
- addMessage({
- type: MessageType.MODEL_STATS,
- timestamp: new Date(),
- });
- return;
- } else if (subCommand === 'tools') {
- addMessage({
- type: MessageType.TOOL_STATS,
- timestamp: new Date(),
- });
- return;
- }
-
- const now = new Date();
- const { sessionStartTime } = session.stats;
- const wallDuration = now.getTime() - sessionStartTime.getTime();
-
- addMessage({
- type: MessageType.STATS,
- duration: formatDuration(wallDuration),
- timestamp: new Date(),
- });
- },
- },
- {
name: 'mcp',
description: 'list configured MCP servers and tools',
action: async (_mainCommand, _subCommand, _args) => {