4 Commits

Author SHA1 Message Date
Hermes Agent
a1bc859338 feat: add recover_usages API - recover null usages from ioinfo files
- Add recover_usages() function to bugfix/init.py
  - Reads ioinfo JSON files for llmusage records with null usages
  - Extracts usage from last output entry
  - Falls back to scanning all outputs in reverse for usage field
  - Updates llmusage.usages in database
  - Supports single record (by id) or batch mode (limit param)
- Add recover_usages.dspy API endpoint
- Register new path in load_path.py RBAC config
2026-06-15 16:52:11 +08:00
a820c64ddb fix: load_path.py 使用 owner.developer 角色格式(而非 developer) 2026-06-05 17:03:39 +08:00
3406783d13 feat: bugfix module - SQL query, log read, and log tail APIs
- execute_sql.dspy: SELECT-only SQL execution with pagination
- read_log.dspy: read last N lines from whitelisted log files
- tail_log.dspy: incremental log monitoring from last position
- RBAC: developer role only
- Security: SQL validation, log file whitelist
2026-06-04 16:41:03 +08:00
cd6fe6e194 Initial commit 2026-06-04 16:33:20 +08:00