13 Commits

Author SHA1 Message Date
5002a3a4c7 bugfix 2026-04-24 12:03:27 +08:00
adf9309def feat(hermes-web-cli): migrate to aiohttp client and ensure sqlor database usage
- Replace all requests HTTP calls with aiohttp async client
- Update test_service_connection to accept service_id and use aiohttp
- Ensure all database operations use sqlor framework (already implemented)
- Add proper async/await patterns for HTTP operations
- Maintain compatibility with existing API contracts
- Follows module-development-spec and production requirements
2026-04-24 11:02:31 +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
f6c07f6d10 Implement create_session.dspy script and update backend function to call hermes-service API 2026-04-23 10:58:23 +08:00
607718ac21 fix: correct settings.ui to use get_setting() function instead of get_url 2026-04-22 21:55:19 +08:00
f7ef379a52 Add API key field to service configuration and support Bearer token authentication 2026-04-22 18:43:52 +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
d229138adc fix: Complete hermes-web-cli module with all required fixes
- Add load_hermes_web_cli function to fix ImportError
- Update data_url paths to use /hermes-web-cli/... instead of /api/...
- Add missing renew.dspy file with complete business logic
- Update all .ui files with correct endpoint references
- Ensure module is fully functional for Sage integration
2026-04-21 15:37:20 +08:00
7c2cab9bbf feat: Complete business logic implementation for Sage integration
- Implement all required business functions with proper error handling
- Add database operations placeholders (to be implemented with sqlor-database-module)
- Add HTTP client for remote Hermes service communication
- Provide complete API for Sage system to implement web endpoints
- Export all public functions via __all__
2026-04-21 14:53:28 +08:00
02d6321f46 fix: Implement proper business logic in init.py
- Remove plugin/router assumptions
- Implement core business functions for service management
- Follow correct module development specification
- Provide functions for Sage system integration
2026-04-21 14:47:36 +08:00
9a5158d09a fix: Simplify init.py according to correct module development rules
- Update init.py to only expose variables/functions for web scripts (no routing)
- Remove api.py (routing is automatic for wwwroot files)
- Add MODULE_DEVELOPMENT_SPEC_UPDATE.md with clarified rules
- Follow proper module development specification
2026-04-21 14:43:26 +08:00
b150399cc4 fix: Complete init.py and add api.py with proper implementation
- Fix truncated init.py file with complete implementation
- Add api.py with route registration and placeholder functions
- Remove awaitify import that was causing syntax errors
- Ensure proper ServerEnv integration
2026-04-21 14:32:06 +08:00
1bb0633035 feat: Add pyproject.toml for pip install support
- Add pyproject.toml with proper package configuration
- Rename hermes-web-cli directory to hermes_web_cli for Python compatibility
- Follow module development specification for installable packages
2026-04-21 14:29:17 +08:00