Commit Graph

7 Commits

Author SHA1 Message Date
0ae8238ac8 Fix: hide CypherQueryBox in SQLite mode
- RightPanel: add use_embedded_db parameter, conditionally mount CypherQueryBox
- RightPanel.get_cypher_query_box(): return None if not exists
- RightPanel.has_cypher_query_box(): check if Cypher UI is available
- app.py: pass USE_EMBEDDED_DB to RightPanel
- app.py: action_focus_query shows notification when Cypher unavailable
- Update help text to note F4 is Neo4j-only
2026-04-12 16:44:26 +08:00
b7a6a3c1a9 Enhance: Add detailed usage examples for all memory tools
为所有记忆工具添加详细的使用示例,帮助AI理解工具的作用和使用方法:
1. memory_recall: 添加查询人设图、工作记忆链、用户偏好等示例
2. memory_commit: 添加记录用户偏好、项目信息、游戏状态等示例
3. memory_purge: 添加软删除、纠错替代等示例
4. persona_update: 添加切换角色、添加属性等示例
5. task_create: 添加创建任务节点的完整流程示例
6. task_set_state: 添加任务状态转换的完整流程示例
7. task_link_info: 添加关联信息节点的完整流程示例

更新系统提示词:
- 强化工作记忆链机制说明
- 添加完整的成语接龙游戏示例(三轮对话)
- 明确强制查询和更新场景
- 强调工作记忆链是唯一上下文载体

解决问题: AI无法通过自己写入的记忆链恢复上下文记忆

Generated with CodeArts Agent
2026-04-12 11:09:31 +08:00
b33a87d19e feat: 实现流式消息显示和界面优化 2026-04-11 09:30:56 +08:00
2f99124941 feat: Add config persistence
- Create ConfigManager for save/load
- Save config to config.json
- Load config on startup
- Persist API key, model, base_url
- Fix config not saved issue
2026-04-10 19:51:20 +08:00
60d2f60495 fix: Fix critical TUI issues
- Use password mode for API Key input (security)
- Fix input box display with proper CSS
- Fix message sending crash with safe handling
- Simplify message processing to avoid async issues
- Add error handling and user feedback
- Improve input field styling
2026-04-10 17:35:39 +08:00
46c58bccc5 fix: Use embedded SQLite database instead of Neo4j
- Remove Neo4j connection retry logic
- Use EmbeddedGraphDB with SQLite backend
- Update welcome message to show SQLite database
- No more Neo4j connection errors
2026-04-10 15:50:42 +08:00
6689f08456 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.
2026-04-10 15:43:22 +08:00