Commit Graph

97 Commits

Author SHA1 Message Date
Manoj Bajaj 749e703274 feat: merge agent detail view with enhanced agents list and review fixes
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>
2026-06-17 06:06:12 -07:00
Ankit Ranjan 256753f320 feat: add agent detail view 2026-06-17 15:49:37 +05:30
Manoj Bajaj 8dbf579e21 Merge pull request #436 from agentrhq/feature/issue-414-custom-providers-ui
feat: implement custom provider management with CRUD support, registration schema updates, and a dedicated UI form.
2026-06-16 21:32:46 +05:30
Ankit Ranjan 8f4029ec7e feat: implement custom provider management with CRUD support, registration schema updates, and a dedicated UI form. 2026-06-16 14:06:11 +05:30
rishabhraj36 d9d2c60563 feat: derive agent identity from a single private-key env var 2026-06-16 13:32:04 +05:30
Ankit Ranjan 6645d7ef21 Merge branch 'main' into feature/expand-settings-page 2026-06-15 18:29:07 +05:30
beubax 71d52ad0f8 refactor: remove audit event filters 2026-06-15 18:06:50 +05:30
Ankit Ranjan ea2d9ccce5 refactor: remove trailing whitespace from health route tests 2026-06-15 17:45:22 +05:30
Ankit Ranjan 211751edc7 test: remove redundant test case for api health route registration 2026-06-15 17:44:56 +05:30
Ankit Ranjan 972e00c575 refactor: rename identity to agent throughout CLI and UI for improved terminology consistency 2026-06-15 17:27:10 +05:30
beubax 0433db633c test: verify health route via openapi 2026-06-15 17:04:43 +05:30
beubax a034e0781b test: count nested health routes 2026-06-15 14:49:21 +05:30
beubax 3a94665041 Merge branch 'main' into feature/user-scoped-audit-log 2026-06-15 14:21:05 +05:30
beubax d54c4159ba fix: avoid audit shutdown deadlock 2026-06-15 14:15:25 +05:30
beubax e52edc1293 test: cover user-scoped audit queries 2026-06-15 13:32:50 +05:30
Tejas 913ec0984c Merge pull request #418 from agentrhq/bugfix/dashboard-ui-bugs
fix: polish dashboard connection flows
2026-06-12 23:24:56 +05:30
Ankit Ranjan da7a4017b1 fix: refine provider and connection dashboard states 2026-06-12 16:46:18 +05:30
beubax be5c646b5b fix: require production backend URLs 2026-06-12 12:42:06 +05:30
beubax d4595568ec Merge branch 'main' into feature/stateless-production-deployments 2026-06-12 12:38:32 +05:30
beubax b374fb49a0 fix: address production readiness review 2026-06-10 16:55:14 +05:30
beubax 5457d10940 fix: remove duplicate health route 2026-06-10 16:28:07 +05:30
beubax 3b8cfd01bb feat: add root health check 2026-06-10 16:26:52 +05:30
beubax ea0fd94e5b fix: close redis client on ping failure 2026-06-10 16:23:12 +05:30
beubax 448c8b2417 fix: clean up failed runtime startup 2026-06-10 16:21:01 +05:30
beubax d828d2b775 feat: select redis runtime state 2026-06-10 16:15:19 +05:30
beubax b754b80227 fix: atomically consume redis pending claims 2026-06-10 16:06:40 +05:30
beubax 0ea30dc783 refactor: split pending claim storage 2026-06-10 16:03:16 +05:30
beubax 60e21e1ceb fix: clean redis auth session indexes 2026-06-10 15:58:41 +05:30
beubax c68de27a15 fix: preserve pop replay auth errors 2026-06-10 15:48:34 +05:30
beubax fc3189bad1 refactor: move pop replay cache to server 2026-06-10 15:46:36 +05:30
beubax 9c141f3c81 fix: bind store transactions to pooled connection 2026-06-10 15:42:16 +05:30
beubax 8a817d99c2 feat: add store migrations and postgres pooling 2026-06-10 15:37:40 +05:30
beubax 7a39de61d0 fix: restore sqlite store branch 2026-06-10 15:33:35 +05:30
beubax a87328f578 fix: lazy load postgres driver 2026-06-10 15:31:40 +05:30
beubax f4a6cf5a16 feat: add production backend config 2026-06-10 15:28:16 +05:30
beubax 9c50afc585 feat: add global connection fallback registry 2026-06-10 13:57:38 +05:30
Manoj Bajaj 6fe11073c8 feat: Fix failing tests 2026-06-09 09:06:58 +05:30
beubax 73c58437b6 feat: enable admin browser sessions for provider revocation and add error handling to UI button 2026-06-08 16:17:41 +05:30
beubax 11d2166109 feat: implement provider and connection detail endpoints with UI support for configuration management and status monitoring 2026-06-08 15:57:50 +05:30
Manoj Bajaj ad23d60754 feat: Simplify identity portability 2026-06-05 12:23:32 +05:30
Manoj Bajaj a033bfe93f chore: satisfy pylint ruff checks 2026-06-04 22:22:50 +05:30
Manoj Bajaj 10f6e8ae41 fix: Remove type checking hacks 2026-06-04 21:28:22 +05:30
Manoj Bajaj b96d593883 fix: resolve pre-commit failures 2026-06-04 11:50:56 +05:30
Manoj Bajaj f661d8d360 feature!: Cleaner architechture, multi server compatible identities and cleaner ui 2026-06-03 15:34:55 +05:30
Manoj Bajaj 98a3351c56 feat: replace Python dashboard fallback with built Next.js static UI
- Build Next.js app and populate src/authsome/ui/web/ so GET / is served
  from the static bundle rather than a Python f-string page
- Apply DESIGN.md (Deep Emerald + Obsidian, dark-first) to the Next.js
  app: update globals.css tokens, switch fonts to Hanken Grotesk +
  JetBrains Mono, add dark class to <html>, replace all hardcoded
  bg-white/bg-slate-* with semantic CSS-variable classes
- Redesign Python interstitial pages (claim, device-code, OAuth input,
  error) using the same DESIGN.md tokens in web_theme.py
- Remove Python GET / route and dashboard_page() — Next.js AuthGate
  handles unauthenticated state; no Python fallback needed
- Remove the GET / special-case from _resolve_ui_auth
- Move DESIGN.md to ui/ (the Next.js root, the correct home)
- Delete test_ui_sessions.py and test_ui_dashboard.py; server-rendered
  dashboard UI no longer exists as Python code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 16:18:55 +05:30
Manoj Bajaj e69508552f Merge remote-tracking branch 'origin/main' into feature/nextjs-static-ui
# Conflicts:
#	src/authsome/server/routes/audit.py
#	src/authsome/server/routes/connections.py
#	src/authsome/server/routes/health.py
#	src/authsome/server/routes/ui.py
2026-06-01 19:24:29 +05:30
Manoj Bajaj 29bb29a388 refactor: remove legacy dashboard routes
Delete the server-rendered dashboard pages, remove the static asset mount, and route the Next dashboard provider login form through the browser-session auth path.
2026-06-01 16:04:36 +05:30
Manoj Bajaj e0a2cd9158 feat: add static Next.js dashboard
Mount the exported dashboard at the daemon root, build it into the Python package, and use existing daemon endpoints for SWR data fetching.
2026-06-01 15:43:15 +05:30
Manoj Bajaj 3a6e7e5231 refactor: Simplify server logic for clear reparation, reduce slop
Entire-Checkpoint: 34c348b255f6
2026-05-31 01:41:05 +05:30
beubax c42da7293a refactor: replace audit log file with SQLite-backed audit storage and rename hosted session components to browser sessions 2026-05-29 15:28:47 +05:30