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
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
fab7170954
Add multi-user support: update create_session to accept user_id parameter and use ahserver's get_user() in create_session.dspy
2026-04-23 11:29:57 +08:00
9494a235f2
Remove initial-prompt field from new_session.ui form and update create_session.dspy to handle empty initial message
2026-04-23 11:23:09 +08:00
2115829274
Remove unnecessary hermes-web-cli subdirectory in wwwroot and move files to correct locations
2026-04-23 11:20:51 +08:00
e846804ec8
Fix UI bindings and implement proper .dspy endpoints according to bricks-framework规范
2026-04-22 14:41:42 +08:00
7d55ef7548
fix: 删除不必要的手动.dspy端点,修正new_session.ui使用标准CRUD端点和textField/valueField参数
2026-04-22 13:20:47 +08:00
5d4e70da8e
feat: complete missing UI files and API endpoints for hermes-web-cli
...
- Added all missing .ui files referenced in index.ui:
* new_session.ui
* sessions.ui
* services.ui
* settings.ui
* session_detail.ui
* add_service.ui
* edit_service.ui
- Created corresponding .dspy API endpoints with proper directory structure:
* /hermes-web-cli/services → services/index.dspy
* /hermes-web-cli/services/list → services/list/index.dspy
* /hermes-web-cli/services/{id} → services/id/index.dspy
* /hermes-web-cli/services/test?id={id} → services/test/index.dspy
* /hermes-web-cli/sessions (POST) → sessions/index.dspy
* /hermes-web-cli/sessions/messages?session_id={id} → sessions/messages/index.dspy
* /hermes-web-cli/settings → settings/index.dspy
* /hermes-web-cli/settings/reset → settings/reset/index.dspy
- Fixed UI styling to comply with bricks-framework (removed nested style objects)
- Updated URL references to use query parameters instead of path parameters for dynamic routes
- All files follow production-ready module development specifications
2026-04-22 11:22:44 +08:00
b0da1c3bd7
Fix sessions/recent endpoint: Create recent directory with index.dspy script to provide recent sessions data API
2026-04-22 10:49:21 +08:00