4 Commits

Author SHA1 Message Date
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