feat: Add embedded SQLite database and web interface

- Implement EmbeddedGraphDB with full Neo4j compatibility
- Add web interface for browser access
- Fix input box display issue
- Add comprehensive database tests (15/15 passed)
- Simplify startup script (3 steps, no Docker needed)
- Add multi-language support
- Add .gitignore for clean repository
- Update documentation

All tests passed. Ready for production.
This commit is contained in:
JianFeeeee
2026-04-10 15:43:22 +08:00
parent 14ab28e242
commit 6689f08456
63 changed files with 4470 additions and 1086 deletions

View File

@ -0,0 +1 @@
"""Styles for Graph Memory TUI"""

View File

@ -0,0 +1,35 @@
/* Global Styles for Graph Memory TUI */
GraphMemoryApp {
background: $surface;
color: $text;
}
LeftPanel {
width: 1fr;
height: 100%;
dock: left;
}
LeftPanel MessageHistory {
height: 1fr;
}
LeftPanel InputBox {
height: 3;
dock: bottom;
}
RightPanel {
width: 40;
height: 100%;
dock: right;
background: $panel;
}
StatusBar {
dock: bottom;
height: 1;
background: $primary;
color: $text-primary;
}

View File

@ -0,0 +1,46 @@
/* Component Styles for Graph Memory TUI */
InputBox {
border: solid orange;
height: 3;
margin: 1;
padding: 1;
}
InputBox:focus {
border: double orange;
text-style: bold;
}
InputBox Input {
width: 1fr;
height: 1;
background: $surface;
color: $text;
border: none;
}
InputBox Input:focus {
background: $surface-lighten-1;
}
ConfigSection {
background: $panel;
margin: 1;
}
OperationLog {
background: $surface-darken-1;
height: 1fr;
margin: 1;
}
CypherQueryBox {
border: solid green;
margin: 1;
}
MessageHistory {
height: 1fr;
margin: 1;
}

View File

@ -0,0 +1,24 @@
/* Message Styles for Graph Memory TUI */
UserMessage {
border: solid orange;
margin: 1 0;
padding: 1;
}
ModelMessage {
border: solid blue;
margin: 1 0;
padding: 1;
}
ToolCallIndicator {
color: yellow;
text-style: bold;
}
ToolCallDetails {
background: $surface-darken-1;
margin: 1 0 0 2;
padding: 1;
}