59 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
b5b150f059 fix: Remove examples directory from hermes-web-cli module
- examples/ directory belongs to bricks-framework skill as documentation
- hermes-web-cli module should only contain module-specific files
2026-04-21 14:11:47 +08:00
5dd8bbfc8f feat: Add comprehensive examples for all remaining bricks-framework components
- Added examples for 40+ additional components including:
  - Accordion, ChartBar, Camera, Cols, Conform
  - Countdown, TimePassed, DOCXviewer, EXCELviewer, PDFviewer
  - DynamicColumn, IconBar, IconTextBar, FloatIconBar, FloatIconTextBar
  - GlbViewer, ChartHeatmap, Html, IconbarPage, NewWindow, Iframe, Icon
  - ChartKLine, ChartLine, ChartMap, MdWidget, Menu, Message, Error
  - MultipleStateImage, ChartPie, ProgressBar, QRCodeScan, ChartRadar
  - SysCamera, WidgetRecorder, SysAudioRecorder, SysVideoRecorder, Running
  - ChartScatter, VScrollPanel, HScrollPanel, Splitter, Svg, Tabular
  - DeletableLabel, Title1-6, Title15, Wterm
- All examples use valid widgettype names registered with bricks.Factory.register
- Each example demonstrates proper configuration and usage patterns
2026-04-21 14:05:34 +08:00
5399546114 feat: Add Popup and PopupWindow examples and update chat interface
- Add comprehensive examples for Popup.ui and PopupWindow.ui components
- Update chat.ui to use PopupWindow for better desktop-like experience
- PopupWindow provides draggable, resizable application windows with title bar
- Popup provides modal/non-modal popup layers with auto-dismiss support
- Both components support proper event handling and lifecycle management
- Examples demonstrate real-world usage patterns for hermes-web-cli module
2026-04-21 13:47:40 +08:00
8836aee98d fix: Correct bricks-framework component usage and add comprehensive examples
- Replace invalid 'Page' and 'Card' components with valid bricks components (VBox, HBox, Filler, etc.)
- Add comprehensive examples for all major bricks components in examples/ directory
- Update hermes-web-cli UI files to use correct component hierarchy
- Include examples for: VBox, HBox, Filler, ResponsableBox, Form, Button, Text, Modal, TabPanel, DataViewer, Tree, Image, VideoPlayer, Input, LLMOut
- Follow proper bricks-framework JSON structure with widgettype, options, subwidgets
- Ensure all examples are production-ready and follow module development specifications
2026-04-21 13:45:12 +08:00
21a735548e feat: Initial implementation of hermes-web-cli with multi-service support
- Complete module following all four development specifications
- Multi-Hermes Service instance management for enterprise deployments
- Database tables: hermes_services, hermes_service_sessions
- CRUD operations for service and session management
- bricks-framework UI components: index.ui, service-detail.ui, chat.ui, settings.ui
- Support for enterprises to deploy their own hermes-service instances
- Unified interface to manage multiple service endpoints
- Security features: API key storage, HTTPS enforcement, connection testing
2026-04-21 13:33:42 +08:00