Skip to content

Document $psql / $psql-cancel and SQL Console changes#11

Merged
andreyorst merged 6 commits intomainfrom
sql-console-improvements-v3
Apr 29, 2026
Merged

Document $psql / $psql-cancel and SQL Console changes#11
andreyorst merged 6 commits intomainfrom
sql-console-improvements-v3

Conversation

@andreyorst
Copy link
Copy Markdown
Contributor

Documents the SQL Console v3 changes shipping in edge (sansara PR #7487 / aidbox-ui PR #63):

  • docs/api/rest-api/other/sql-endpoints.md — new sections for $psql (and the $notebook-psql alias) and $psql-cancel. Documents the new response shape, all execution headers (X-Aidbox-Sql-Autocommit, -Timeout,
    -Read-Only, -Query-Id, -Async), the cancel flow, and the breaking change (old vector-of-debug-objects shape, execute=true query param, and \n----\n separator are gone).
  • docs/overview/release-notes.md — April 2026 edge entry covering the new features and breaking changes.
  • docs/overview/aidbox-ui/README.md — expanded the SQL Console blurb with per-tab settings, foreground / background execution, Tab-key indent, and pretty EXPLAIN.

Comment thread docs/api/rest-api/other/sql-endpoints.md Outdated
Comment thread docs/api/rest-api/other/sql-endpoints.md Outdated
Comment thread docs/api/rest-api/other/sql-endpoints.md Outdated
Comment thread docs/api/rest-api/other/sql-endpoints.md Outdated
Comment thread docs/overview/release-notes.md Outdated
Comment thread docs/overview/release-notes.md Outdated
Comment thread docs/overview/release-notes.md Outdated
Comment thread docs/overview/release-notes.md Outdated
@andreyorst andreyorst requested a review from spicyfalafel April 29, 2026 08:46
Comment thread docs/overview/release-notes.md Outdated
Comment thread docs/api/rest-api/other/sql-endpoints.md Outdated
andreyorst and others added 3 commits April 29, 2026 12:43
The endpoint persists SQL text and identifying request metadata into
multiple stores (logs, audit, scheduler history, pg_stat_activity).
Make explicit that $psql is privileged-by-design — exposing it to
non-admin roles broadens access to logs and audit, not just to data.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@andreyorst andreyorst merged commit 485a1d9 into main Apr 29, 2026
2 checks passed
@andreyorst andreyorst deleted the sql-console-improvements-v3 branch April 29, 2026 12:48
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.

2 participants