Skip to content

[codex] Add action log admin screen and API#37

Merged
bradvin merged 18 commits into
mainfrom
feature/web-fetch-ability
Apr 19, 2026
Merged

[codex] Add action log admin screen and API#37
bradvin merged 18 commits into
mainfrom
feature/web-fetch-ability

Conversation

@bradvin
Copy link
Copy Markdown
Owner

@bradvin bradvin commented Apr 18, 2026

Summary

  • add a logs REST controller for listing, clearing, and loading linked run/session events from the action log
  • add a dedicated wp-admin Logs screen in the React admin app with filtering, detail expansion, and linked event inspection
  • move tool-call logging into shared action-log helpers/store logic, register it at plugin boot, add coverage, and rebuild admin assets/translations

Why

This makes tool and command activity inspectable from wp-admin and generalizes the previous logging path so tool-call summaries are captured consistently across abilities.

Impact

Plugin admins can review recent action logs, drill into request/response metadata, and inspect related agent events without leaving the plugin UI.

Validation

  • composer test
  • npm run lint:php
  • npx eslint src/js/admin/components/App.js src/js/admin/components/views/LogsView.js src/js/admin/index.js
  • npm run lint:css -- src/js/admin/style.scss
  • npm run build:scripts
  • npm run build:pot

Notes

  • npm run lint:css still fails on existing unrelated style issues under src/panel/*.scss; the changed admin stylesheet passes when linted in scope.

@bradvin bradvin marked this pull request as ready for review April 19, 2026 16:33
@bradvin bradvin merged commit 683ef5d into main Apr 19, 2026
2 of 3 checks passed
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