mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user