9 Commits

Author SHA1 Message Date
d423a03a6d feat(hermes-web-cli): refactor user context, settings, services and sessions management
- Remove deprecated UNKNOWN.egg-info and user_context.py
- Refactor crud_ops, db_tables, and init modules
- Update settings UI and save handlers (appearance, general, security)
- Update services list, remove, and test DSPY files
- Update sessions list DSPY file
- Add multi-user test script
- Update pyproject.toml dependencies
2026-04-25 21:47:46 +08:00
5002a3a4c7 bugfix 2026-04-24 12:03:27 +08:00
5a4c2e7393 bugfix 2026-04-24 11:44:06 +08:00
75fa6c5d29 feat(hermes-web-cli): add missing module files and fix user context handling
- Add missing core module files: crud_ops.py, db_tables.py, init_db.py, user_context.py
- Ensure all .dspy scripts properly use get_user() for user_id acquisition
- Fix user context handling in module functions via get_current_user_id()
- Maintain proper async/await patterns throughout the codebase
- Complete module implementation following module-development-spec
- All database operations use sqlor framework with proper user isolation
2026-04-24 11:12:36 +08:00
2f312c0554 fix: 重新创建hermes_services/list端点用于code组件数据格式转换,修正new_session.ui配置 2026-04-22 13:48:17 +08:00
7d55ef7548 fix: 删除不必要的手动.dspy端点,修正new_session.ui使用标准CRUD端点和textField/valueField参数 2026-04-22 13:20:47 +08:00
51f9776f40 fix: 使用return而非print返回数组数据 2026-04-22 13:18:12 +08:00
62a666e16e fix: 修正hermes_services list端点返回格式,直接返回数组供code组件使用 2026-04-22 13:17:04 +08:00
d6e7309e85 fix(hermes-web-cli): correct new_session.ui implementation
- Change service_id field uitype from 'select' to 'code' (bricks has no select type)
- Create hermes_services/list/index.dspy endpoint to provide service list data for code component
- Use Form's built-in submit/cancel buttons instead of manual Button widgets
- Add sessions.json CRUD definition for session management
- Ensure proper data format for code component: {"value": "id", "text": "name"}
2026-04-22 13:13:36 +08:00