Repository navigation
feat(ui): add native LiteAdmin assistant - #42443
Conversation
|
@greptileai Please review this replacement, focusing on reused authentication, write confirmation, session changes, fixed API callbacks, and credential isolation |
|
bugbot run Please review the current commit for session changes, confirmation handling, shared client compatibility, and generated credential isolation |
|
c4ab373 to
2696ede
Compare
|
@greptileai Please review commit 2696ede again. It adds explicit inference destination approval, URL validation, blocked redirects, and scope regression tests |
2696ede to
14c1030
Compare
|
@greptileai Please review 14c10300 again. It removes duplicate counters, fixes the bounded-recursion check, and moves write approval into chat |
|
@cursor review Please review 14c10300 for tool limits, inline confirmation, and session changes. The recursion exception has depth and cycle regression tests |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
14c1030 to
52060bf
Compare
|
@greptileai Please review 52060bf, including recoverable message admission, bounded assistant context, inline confirmations, and reuse of SDK history for action limits |
|
You need to increase your spend limit or enable usage-based billing to run background agents. Go to Cursor |
|
bugbot run Please review 52060bf, especially corrected draft admission, bounded assistant context, and preserved inline write confirmation |
|
Remaining proxy-infra failures match main’s ten tokenizer failures after #42517. All 27 required checks pass; Greptile 5/5, Bugbot and Veria are clean |
52060bf to
85228dc
Compare
|
bugbot run Please review d445802c8b for session interruption, inline confirmation, shared component behavior, and generated-key handling in the rebuilt assistant |
d445802 to
6f390d6
Compare
|
@greptileai Please review 6f390d610f, including gateway-scoped settings caching, the worker-switch regression, and visible inline approval controls |
|
bugbot run |
6f390d6 to
73dc3a1
Compare
|
@greptileai Please review 73dc3a1d58; the final change updates the logout test to mock the shared settings API |
|
bugbot run |
73dc3a1 to
6504150
Compare
|
@greptileai Please review 65041508b8; compact chat now uses one MessageScroller following policy, eliminating competing user anchors and timing overrides |
|
bugbot run |
6504150 to
0f97fa4
Compare
|
@greptileai Please review 0f97fa4; subsequent model turns now include safe action outcomes, with cancellation, completion, and uncertainty regression coverage |
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 0f97fa4. Configure here.
0f97fa4 to
7469cb4
Compare
|
@greptileai @cursor review Please review 7469cb4, which consistently renames LiteAsk to LiteAdmin across labels, symbols, tests, and documentation |
TLDR
Problem this solves:
How it solves it:
User Flow
Before: admins use individual forms to inspect and update resources
After: admins can inspect and update resources in one conversation
Relevant issues
Changes
Affected release
Linear ticket
Pre-Submission checklist
Verified at
7469cb4766: 110 focused tests andmake checkpass. The naming update changes labels, accessibility text, the assistant prompt, symbols, module paths, and documentation; a normalized comparison confirms no other code changesCI and automated reviews are running for the latest commit. The model-trust boundary remains documented below
Full-repository TypeScript checking retains inherited errors; the baseline comparison found no added diagnostics. Dashboard CI does not upload UI coverage to Codecov, so no coverage percentage is claimed
Screenshots / Proof of Fix
Local management gateway on 4582, inference on 4583, PostgreSQL, and
liteask-modelbacked by real Bedrock Claude Sonnet 5 calls. Synthetic team973085c6-c992-4fe2-be24-078a9e0f2f96has budget $41 and spend $0Before (238f434)
http://liteask.localhost:3585/teams/After (7469cb4)
http://liteask.localhost:3584/teams/liteask-model, and accept the configured local inference destinationRead the current budget and spend for team 973085c6-c992-4fe2-be24-078a9e0f2f96. Reply in one sentence.Type
New Feature
Caveats (if any)
Medium
Final Attestation
Note
High Risk
Introduces admin-facing AI that can confirm gateway writes (keys, teams, users) using the live session, with cross-origin inference consent and projected lookup data sent to the chosen model.
Overview
Adds LiteAsk, a floating admin chat widget on the AI gateway dashboard for writable proxy admins. It loads UI settings and optional external inference URLs, requires explicit consent before sending the session to a different origin, and runs an SDK tool loop over ~29 typed management operations with inline review/confirm for writes.
Shared chat infrastructure is extended:
createGatewayClientcentralizes gateway auth headers (playground + LiteAsk), proxy settings move togetProxyUISettingsviauseProxySettingsQuery, andChatMessageContent/Bubbleprimitives support MessageScroller-based transcripts with optional image stripping for admin answers.Includes broad unit and integration tests for approvals, session/gateway changes, secret redaction, and action receipts in follow-up model context.
Reviewed by Cursor Bugbot for commit 0f97fa4. Bugbot is set up for automated code reviews on this repo. Configure here.