releases.shpreview

pscale sql command; agent-guide bootstrap; structured auth for agents

3 featuresThis release3 featuresNew capabilitiesAI-tallied from the release notes

The pscale CLI now has first-class support for AI agents and automation. Version 0.292.0 and later include:

  • pscale sql: run a single query against a database branch without an interactive shell. It defaults to a read-only role, and destructive statements (DELETE, DROP, TRUNCATE) are blocked unless re-run with --force after explicit approval.
  • pscale agent-guide: a machine-readable bootstrap for agents: covering CLI conventions, the hosted MCP server, and the PlanetScale skills pack.
  • Structured auth onboarding: pscale auth check and pscale auth login with --format json return status, issues, and next_steps, so agents can detect and recover from missing credentials or org setup without human-oriented prompts.

To get started, use our copy-paste agent setup prompt.

Read the CLI docs

Fetched July 8, 2026