Commit Graph

  • 876c6a857c feat: apikey 加密存储解密使用 + 全端点请求日志 main yumoqing 2026-04-27 16:16:46 +08:00
  • 7f2f5728d6 fix: remove redundant .isoformat() calls - dbpools already converts timestamps to strings yumoqing 2026-04-27 13:06:37 +08:00
  • ff5f42b4fa fix: correct table name from 'services' to 'hermes_services' in all SQL and definitions yumoqing 2026-04-27 13:02:39 +08:00
  • 9396aaed21 fix: pass 'hermes-web-cli' module name to get_module_dbname() yumoqing 2026-04-27 12:50:24 +08:00
  • 361969a34f fix: move ServerEnv import to module level for use in business logic functions yumoqing 2026-04-27 12:08:07 +08:00
  • 715d7d3952 fix: exclude orgid from UI list and edit form, add CRUD documentation yumoqing 2026-04-27 12:03:38 +08:00
  • 44c92f1b67 fix: remove orphaned json/session_messages.json with no backing table definition yumoqing 2026-04-27 11:59:50 +08:00
  • 0e0ee695e6 feat: add orgid field to hermes_services for organization-scoped service isolation yumoqing 2026-04-27 11:50:05 +08:00
  • 4df2f72758 fix(init): remove leftover conflict markers and duplicate code yumoqing 2026-04-25 22:10:38 +08:00
  • e03d27edd9 fix(init): remove auto database initialization from module load yumoqing 2026-04-25 22:05:51 +08:00
  • b950930156 fix(init): replace hardcoded database name with env.get_module_dbname() yumoqing 2026-04-25 21:58:42 +08:00
  • d423a03a6d feat(hermes-web-cli): refactor user context, settings, services and sessions management yumoqing 2026-04-25 21:43:43 +08:00
  • 58dfbb0108 bugfix yumoqing 2026-04-24 12:11:34 +08:00
  • 120487d4a0 bugfi yumoqing 2026-04-24 12:10:49 +08:00
  • 166e8c2273 bugfix yumoqing 2026-04-24 12:08:21 +08:00
  • 9ab529e930 bugfix yumoqing 2026-04-24 12:07:20 +08:00
  • 5002a3a4c7 bugfix yumoqing 2026-04-24 12:03:27 +08:00
  • 5a4c2e7393 bugfix yumoqing 2026-04-24 11:44:06 +08:00
  • 75fa6c5d29 feat(hermes-web-cli): add missing module files and fix user context handling yumoqing 2026-04-24 11:12:36 +08:00
  • adf9309def feat(hermes-web-cli): migrate to aiohttp client and ensure sqlor database usage yumoqing 2026-04-24 11:02:31 +08:00
  • 1fe8bb0027 fix(new_session.ui): correct Form field configuration per bricks-framework spec yumoqing 2026-04-23 18:33:28 +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 yumoqing 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 yumoqing 2026-04-23 11:23:09 +08:00
  • 2115829274 Remove unnecessary hermes-web-cli subdirectory in wwwroot and move files to correct locations yumoqing 2026-04-23 11:20:51 +08:00
  • 72fc8656b9 Fix create_session.dspy: use return {'redirect': ...} instead of await redirect() to match ahserver convention yumoqing 2026-04-23 11:17:57 +08:00
  • 2ab47efd03 Update create_session.dspy to use await redirect() for proper navigation after session creation yumoqing 2026-04-23 11:06:20 +08:00
  • a0ef78ac8d Improve create_session.dspy parameter handling for both request.form and direct params yumoqing 2026-04-23 11:05:14 +08:00
  • 0ac8ca310f Fix new_session.ui: remove custom toolbar and use params instead of data in urlwidget yumoqing 2026-04-23 11:04:34 +08:00
  • f6c07f6d10 Implement create_session.dspy script and update backend function to call hermes-service API yumoqing 2026-04-23 10:58:23 +08:00
  • 607718ac21 fix: correct settings.ui to use get_setting() function instead of get_url yumoqing 2026-04-22 21:55:19 +08:00
  • 5e3067a92a fix(settings): resolve undefined security variable in settings.ui yumoqing 2026-04-22 21:51:04 +08:00
  • 5b4085e6fd feat: add apikey field to hermes_services table structure and edit form yumoqing 2026-04-22 21:02:16 +08:00
  • f7ef379a52 Add API key field to service configuration and support Bearer token authentication yumoqing 2026-04-22 18:43:52 +08:00
  • 4b53b0e778 Update Service menu URL to point to ./hermes_services endpoint yumoqing 2026-04-22 18:29:47 +08:00
  • ac07140fc4 Further simplify new_session.ui: Remove session name field, let Hermes auto-generate session names yumoqing 2026-04-22 18:03:51 +08:00
  • 25add75558 Simplify new_session.ui: Remove AI Model field to use Hermes default model automatically yumoqing 2026-04-22 18:01:51 +08:00
  • c898c9eef1 Fix new_session.ui: Use uitype instead of widgettype in Form fields, and implement proper Form toolbar actions yumoqing 2026-04-22 17:49:07 +08:00
  • 14ed67907a Fix settings.ui: Correct TabPanel structure using items instead of tabs, and use Form toolbar actions with proper uitype in fields yumoqing 2026-04-22 17:40:35 +08:00
  • 701aedfa5a Fix settings.ui: Replace non-existent Tabs控件 with TabPanel控件 and ensure Form控件 uses correct options.fields structure yumoqing 2026-04-22 17:17:34 +08:00
  • 02b2cdaeec Fix template variable references: Use quoted syntax '{{ 'widget-id'.data }}' to avoid Jinja2 UndefinedError with hyphenated widget IDs yumoqing 2026-04-22 17:11:48 +08:00
  • 2cda5570dc Fix list-component.js: Use correct bricks API methods - clear_widgets(), add_widget() instead of non-existent refresh() and appendChild() yumoqing 2026-04-22 17:08:54 +08:00
  • 3182fcdf97 Fix list-component.js: Remove non-existent refresh() method and use proper subwidgets array management for bricks framework compatibility yumoqing 2026-04-22 17:07:42 +08:00
  • e726abcddb Refactor UI files to use registerfunction instead of inline script, following bricks-framework理念: minimize JS usage and use existing controls with auxiliary validation functions yumoqing 2026-04-22 17:04:54 +08:00
  • 63a3d3be59 Remove new-session.js: implement form handling inline using script actiontype, simplify model selection to text input yumoqing 2026-04-22 16:48:10 +08:00
  • 7daf801c99 Fix JavaScript files: use correct bricks.getWidgetById API with proper ID format yumoqing 2026-04-22 16:43:09 +08:00
  • 30eae89807 Fix Form控件结构: ensure all Form controls use options.fields instead of subwidgets yumoqing 2026-04-22 16:39:31 +08:00
  • eee254da60 Fix new_session.ui: correct Form structure using options.fields instead of subwidgets yumoqing 2026-04-22 16:34:06 +08:00
  • b30a98f65e Fix new_session.ui: add container ID and correct target reference for create_session button yumoqing 2026-04-22 16:24:29 +08:00
  • 82a58be972 Fix new_session.ui: correct URL reference and implement create_session functionality with proper registerfunction binding yumoqing 2026-04-22 16:19:58 +08:00
  • 73b833c1c3 Wrap Menu in VBox with fixed width: set outer VBox to 250px width and Menu to 100% width yumoqing 2026-04-22 16:14:15 +08:00
  • 3f449816ed Fix List component constructor: ensure opts.options exists before accessing width/height properties yumoqing 2026-04-22 15:55:45 +08:00
  • fbd94e86a1 Fix settings.js syntax error: remove duplicate line numbers causing Unexpected token 'try' yumoqing 2026-04-22 15:52:06 +08:00
  • 3edfa140e9 Fix bricks framework API usage and file structure yumoqing 2026-04-22 15:49:36 +08:00
  • 34949ea16c Fix bricks-framework component usage: replace invalid List with custom implementation, replace Input/Checkbox/Select/Textarea with proper UiStr/UiInt/UiCheck/UiCode/UiText components with required name attributes yumoqing 2026-04-22 14:59:53 +08:00
  • bc3e94b64a Fix Jinja2 template errors: use 'item' for List components and correct form field access yumoqing 2026-04-22 14:48:50 +08:00
  • e846804ec8 Fix UI bindings and implement proper .dspy endpoints according to bricks-framework规范 yumoqing 2026-04-22 14:41:42 +08:00
  • 6c28e4f6a9 fix: resolve Jinja2 template errors and undefined item variables yumoqing 2026-04-22 14:25:08 +08:00
  • c158573a39 fix: replace backgroundColor with bgcolor in all UI files and add missing scripts yumoqing 2026-04-22 14:15:54 +08:00
  • b152e41f69 fix: 清理临时文件 yumoqing 2026-04-22 14:03:57 +08:00
  • 80781da286 fix: 移除Menu组件的item_cheight设置,使用缺省高度;确认使用bgcolor属性设置背景色 yumoqing 2026-04-22 14:03:46 +08:00
  • 7624e3be08 fix: 修正index.ui中的控件ID引用,所有target统一使用'app.main-content'从body开始寻找 yumoqing 2026-04-22 13:54:58 +08:00
  • ff3275429d fix: 修正控件ID引用,动态加载的UI文件使用'app.main-content'从body开始寻找目标容器 yumoqing 2026-04-22 13:53:35 +08:00
  • 2f312c0554 fix: 重新创建hermes_services/list端点用于code组件数据格式转换,修正new_session.ui配置 yumoqing 2026-04-22 13:48:17 +08:00
  • 28459df92b fix: 清理临时文件 yumoqing 2026-04-22 13:20:54 +08:00
  • 7d55ef7548 fix: 删除不必要的手动.dspy端点,修正new_session.ui使用标准CRUD端点和textField/valueField参数 yumoqing 2026-04-22 13:20:47 +08:00
  • 51f9776f40 fix: 使用return而非print返回数组数据 yumoqing 2026-04-22 13:18:12 +08:00
  • 62a666e16e fix: 修正hermes_services list端点返回格式,直接返回数组供code组件使用 yumoqing 2026-04-22 13:17:04 +08:00
  • d6e7309e85 fix(hermes-web-cli): correct new_session.ui implementation yumoqing 2026-04-22 13:13:36 +08:00
  • 450820d9ed fix(hermes-web-cli): remove unnecessary binds from Menu widget yumoqing 2026-04-22 12:03:49 +08:00
  • 930ed6dea7 feat(hermes-web-cli): update UI files to use CRUD auto-generated endpoints yumoqing 2026-04-22 11:55:16 +08:00
  • 09ec855576 fix: correct Button控件属性和样式规范 yumoqing 2026-04-22 11:43:08 +08:00
  • 5d4e70da8e feat: complete missing UI files and API endpoints for hermes-web-cli yumoqing 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 yumoqing 2026-04-22 10:49:21 +08:00
  • 526151b901 feat(hermes-web-cli): redesign index.ui with complete user interaction features yumoqing 2026-04-21 17:16:13 +08:00
  • a315ffd5ac fix: Correct CRUD definitions according to crud-definition-spec yumoqing 2026-04-21 16:32:51 +08:00
  • 8ba95106e7 fix: Correct database table definitions according to specification yumoqing 2026-04-21 16:22:22 +08:00
  • d229138adc fix: Complete hermes-web-cli module with all required fixes yumoqing 2026-04-21 15:37:20 +08:00
  • 7c2cab9bbf feat: Complete business logic implementation for Sage integration yumoqing 2026-04-21 14:53:28 +08:00
  • 02d6321f46 fix: Implement proper business logic in init.py yumoqing 2026-04-21 14:47:36 +08:00
  • 9a5158d09a fix: Simplify init.py according to correct module development rules yumoqing 2026-04-21 14:43:26 +08:00
  • b150399cc4 fix: Complete init.py and add api.py with proper implementation yumoqing 2026-04-21 14:32:06 +08:00
  • 1bb0633035 feat: Add pyproject.toml for pip install support yumoqing 2026-04-21 14:29:17 +08:00
  • b5b150f059 fix: Remove examples directory from hermes-web-cli module yumoqing 2026-04-21 14:11:47 +08:00
  • 5dd8bbfc8f feat: Add comprehensive examples for all remaining bricks-framework components yumoqing 2026-04-21 14:05:34 +08:00
  • 5399546114 feat: Add Popup and PopupWindow examples and update chat interface yumoqing 2026-04-21 13:47:40 +08:00
  • 8836aee98d fix: Correct bricks-framework component usage and add comprehensive examples yumoqing 2026-04-21 13:45:12 +08:00
  • 21a735548e feat: Initial implementation of hermes-web-cli with multi-service support yumoqing 2026-04-21 13:33:42 +08:00