Commit Graph

4 Commits

Author SHA1 Message Date
Ethanfel 18d098a0da fix: add independent exception handling to _record_prompt 2026-04-09 18:08:53 +02:00
Ethanfel ed39c5918a feat: extend prompt handler and add /nodes-stats/models endpoint 2026-04-09 18:04:16 +02:00
Ethanfel fcca25397c Move DB writes to background thread and add SVG icon
Record usage in a daemon thread to avoid blocking the event loop
with SQLite fsync on slow storage. Replace text button label with
a bar-chart-with-nodes SVG icon in the legacy menu fallback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 13:50:11 +01:00
Ethanfel 25f1729f23 Initial commit: ComfyUI node usage stats tracker
Tracks every node used in every prompt submission via SQLite,
maps class_types to source packages, and exposes API endpoints
and a frontend dialog for viewing per-package usage stats.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 13:29:08 +01:00