Skip to content

feat: add agent detail view#444

Closed
ankitranjan7 wants to merge 3 commits into
mainfrom
feature/agent-detail-view
Closed

feat: add agent detail view#444
ankitranjan7 wants to merge 3 commits into
mainfrom
feature/agent-detail-view

Conversation

@ankitranjan7

Copy link
Copy Markdown
Collaborator

Summary

  • make agent rows clickable and add an /agents/detail?agent=... dashboard page
  • add an authenticated identity detail API with DID, claim/owner metadata, active flag, and timestamps
  • add identity-scoped audit filtering so the detail page can show recent agent activity
  • keep code-style DID/principal values visually aligned with surrounding fields

Closes #440

Verification

  • uv run pytest
  • uv run ruff check src/ tests/
  • uv run ty check src/
  • uv run --with pre-commit pre-commit run --all-files
  • uv run pnpm lint from ui/ (passes with existing provider-views warnings)
  • uv run pnpm build from ui/
  • Browser smoke: claimed a temp agent in an isolated daemon home, opened /agents/detail/?agent=..., verified desktop render and mobile no-overflow check (scrollWidth === clientWidth)

manojbajaj95 added a commit that referenced this pull request Jun 17, 2026
Merge feature/agent-detail-view (#444) and resolve conflicts, keeping the
PR's backend-driven detail page (API endpoint, audit scoping, tests) and
our enhanced agents list view (search, card headers, claim badges).

Also fixes three review issues:
- Add 403 guard for non-admin audit identity filter (prevents querying
  events for identities the caller does not own)
- Add idx_audit_events_identity index via migration v2
- Update test assertions for new 403 behavior and migration count

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

feat(ui): agent detail view with owner, activity, and claim status

1 participant