Skip to content

feat: expose plugin stats via management API#89

Merged
cyyever merged 1 commit intomainfrom
feat/plugin-stats-api
Mar 15, 2026
Merged

feat: expose plugin stats via management API#89
cyyever merged 1 commit intomainfrom
feat/plugin-stats-api

Conversation

@cyyever
Copy link
Collaborator

@cyyever cyyever commented Mar 15, 2026

Summary

  • Add GET /api/security/plugins endpoint returning plugin health stats
  • Reuses existing Registry.Stats() — no new logic, just HTTP exposure
  • Enables GUI to show sandbox plugin status (active/disabled/failure count)

Test plan

  • go build ./... compiles
  • go vet ./... passes
  • go test ./internal/security/ passes

Returns health stats for all registered plugins (sandbox, etc.):
name, disabled, failures, total_panics, total_timeouts, permanent.

Reuses existing Registry.Stats() — no new logic, just HTTP exposure.
Enables the GUI to show sandbox plugin status.
@cyyever cyyever merged commit 0955716 into main Mar 15, 2026
16 checks passed
@cyyever cyyever deleted the feat/plugin-stats-api branch March 15, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant