Skip to content

Add pluggable local UIs for credential entry and query results - #1

Merged
openai0229 merged 5 commits into
mainfrom
feat/local-ui
Sep 11, 2026
Merged

Add pluggable local UIs for credential entry and query results#1
openai0229 merged 5 commits into
mainfrom
feat/local-ui

Conversation

@openai0229

@openai0229 openai0229 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

SQLX 0.1.1 lets agents prepare connection details while users enter passwords directly in a local browser. Queries submitted with sql execute --view execute once; pages load retained results with exact values, result-set tabs and pagination. Refreshing or switching interfaces does not rerun SQL.

The interface is a plugin: the default UI ships separately from the loopback service, and contributors can build static interfaces with the public browser API v1 and typed SDK. ui plugin install/list/use/remove supports local builds, checksummed release ZIPs, compatibility checks and immutable versions. An independent terminal-style example and English contributor guide demonstrate the contract. README and the SQLX Skill cover installation and agent-to-browser workflows.

Validation: frontend typecheck/build; Rust workspace tests and Clippy; native MySQL/PostgreSQL integration; distribution, UI lifecycle, UI API and plugin contract tests; Playwright CLI for default and terminal interfaces, password correction/editing, result-set switching, pagination, full values, copy, reload and text rendering. A PostgreSQL sequence confirmed no re-execution across UI switches and reloads. CI checks five OS/architecture targets and both JDBC databases.

Review entry points: crates/cli/src/plugins.rs, crates/ui/src/server.rs, ui/sdk/, docs/ui-plugins.md. The loopback service owns credentials and execution; plugins are trusted page code with access to entered credentials and displayed data. This does not isolate secrets from a process with the same OS user's access. Results remain locally for 24 hours; expired/interrupted executions are never replayed. This change prepares the authorized v0.1.1 release; publication runs from its annotated tag after CI succeeds.

AI assistance: implementation, documentation and validation were completed with Codex.

@openai0229 openai0229 changed the title Add local credential forms and query result pages Add pluggable local UIs for credential entry and query results Sep 10, 2026
@openai0229
openai0229 merged commit 4f2602c into main Sep 11, 2026
9 checks passed
@openai0229
openai0229 deleted the feat/local-ui branch September 11, 2026 02:30
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