summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/hooks')
-rw-r--r--packages/cli/src/ui/hooks/slashCommandProcessor.test.ts12
-rw-r--r--packages/cli/src/ui/hooks/slashCommandProcessor.ts2
2 files changed, 7 insertions, 7 deletions
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
index beee1418..1d9eec53 100644
--- a/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
+++ b/packages/cli/src/ui/hooks/slashCommandProcessor.test.ts
@@ -77,13 +77,13 @@ describe('useSlashCommandProcessor', () => {
performAddMemoryEntrySpy.mockReset();
(open as Mock).mockClear();
- vi.spyOn(memoryUtils, 'deleteLastMemoryEntry').mockImplementation(vi.fn());
- vi.spyOn(memoryUtils, 'deleteAllAddedMemoryEntries').mockImplementation(
- vi.fn(),
- );
+ // vi.spyOn(memoryUtils, 'deleteLastMemoryEntry').mockImplementation(vi.fn());
+ // vi.spyOn(memoryUtils, 'deleteAllAddedMemoryEntries').mockImplementation(
+ // vi.fn(),
+ // );
- vi.mocked(memoryUtils.deleteLastMemoryEntry).mockClear();
- vi.mocked(memoryUtils.deleteAllAddedMemoryEntries).mockClear();
+ // vi.mocked(memoryUtils.deleteLastMemoryEntry).mockClear();
+ // vi.mocked(memoryUtils.deleteAllAddedMemoryEntries).mockClear();
mockProcessExit.mockClear();
(ShowMemoryCommandModule.createShowMemoryAction as Mock).mockClear();
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.ts
index 858897f0..1f1c0444 100644
--- a/packages/cli/src/ui/hooks/slashCommandProcessor.ts
+++ b/packages/cli/src/ui/hooks/slashCommandProcessor.ts
@@ -113,7 +113,7 @@ export const useSlashCommandProcessor = (
{
name: 'memory',
description:
- 'Manage memory. Usage: /memory <show|refresh|add|delete_last|delete_all_added> [text for add]',
+ 'Manage memory. Usage: /memory <show|refresh|add> [text for add]',
action: (mainCommand, subCommand, args) => {
switch (subCommand) {
case 'show':