feat: add memory management feature with UI components

- Introduced a new MemoryView component for viewing and editing AI memory files.
- Updated navigation hooks and keyboard shortcuts to include memory functionality.
- Added memory file creation, deletion, and renaming capabilities.
- Enhanced the sidebar navigation to support memory as a new section.
- Implemented loading and saving of memory files with a markdown editor.
- Integrated dialogs for creating, deleting, and renaming memory files.
This commit is contained in:
webdevcody
2026-01-10 20:07:50 -05:00
parent 299b838400
commit da682e3993
5 changed files with 645 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ import {
GitPullRequest,
Zap,
Lightbulb,
Brain,
} from 'lucide-react';
import type { NavSection, NavItem } from '../types';
import type { KeyboardShortcut } from '@/hooks/use-keyboard-shortcuts';
@@ -26,6 +27,7 @@ interface UseNavigationProps {
cycleNextProject: string;
spec: string;
context: string;
memory: string;
profiles: string;
board: string;
agent: string;
@@ -114,6 +116,12 @@ export function useNavigation({
icon: BookOpen,
shortcut: shortcuts.context,
},
{
id: 'memory',
label: 'Memory',
icon: Brain,
shortcut: shortcuts.memory,
},
{
id: 'profiles',
label: 'AI Profiles',