KenanBek / KenanBek/dbui

AI assist: explain-this-query / fix-this-error (one backend)

Open
#62 0 comments 0 reactions 0 assignees View on GitHub
area:mcp
Dominant language
Go
Stars
218
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Supporting feature, not the headline. In-context actions on the current query/error with schema context; ONE backend first (key via env, same indirection pattern as DSN secrets); abstraction layer only if a second backend earns it. NL->SQL chat panel stays out (agents own agentic SQL via `dbui mcp`).

**Acceptance:** explain + fix actions work offline-gracefully (clear error when unconfigured); no key ever written to config plaintext.

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by locating the existing DSN-secret indirection and the entry points for current-query and error actions; then verify explain and fix behavior with the chosen backend, including offline or unconfigured errors and ensuring keys are never written to plaintext config.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
ai, cli, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.