Commit Graph

4 Commits

Author SHA1 Message Date
ishenwei
c474c9404b feat: add agent_name column to Message admin + export_agent_daily script
- Message list now shows agent_name via get_agent_name method
- New scripts/export_agent_daily.py for agent daily message export
  - Accepts --agent and --date (YYYY-MM-DD) arguments
  - Focuses on messages within target date (session may span multiple days)
  - Outputs Markdown with session info, messages, tool calls
2026-04-07 18:22:24 +08:00
ishenwei
f205c42714 fix: resolve startup issues and JSONL parsing bugs
- Add PYTHONPATH/DJANGO_SETTINGS_MODULE for Docker environment
- Fix gunicorn bind port (8000 instead of 8765)
- Add whitenoise for static file serving
- Fix JSONL parser: read role/content from event.message.* (nested structure)
- Fix session counts (message_count/tool_call_count/error_count were all 0)
- Increase DATA_UPLOAD_MAX_MEMORY_SIZE to 50MB for large batch syncs
- Add STATIC_ROOT and WhiteNoise middleware for admin CSS
- Fix index name length (>30 chars issue)
- Replace unique_together with indexes (Django 5.x compatible)
- Add graceful degradation for TimescaleDB hypertable creation
- Add static_volume/ to .gitignore
2026-04-06 20:51:51 +08:00
f754f6a275 update django port 2026-04-06 18:55:48 +08:00
414c30f023 feat: client JSONL parse and push script
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 16:27:27 +08:00