feat: extension slash commands

This commit is contained in:
LaZzyMan 2026-01-16 16:29:03 +08:00
parent f00f76456c
commit f7fb624af9
9 changed files with 1281 additions and 326 deletions

View file

@ -7,7 +7,7 @@
import type { Mock } from 'vitest';
import { vi, describe, it, expect, beforeEach } from 'vitest';
import { memoryCommand } from './memoryCommand.js';
import type { SlashCommand, type CommandContext } from './types.js';
import type { SlashCommand, CommandContext } from './types.js';
import { createMockCommandContext } from '../../test-utils/mockCommandContext.js';
import { MessageType } from '../types.js';
import type { LoadedSettings } from '../../config/settings.js';