Local DB Proxy Helper
Third-party AI tools do not need to reimplement the local proxy lifecycle. They can invoke the built-in helper and keep it
attached as a long-lived local skill process.
OPS_GIT_PASSWORD='<git-password>' opsctl open-db-proxy --gateway-url https://ops-agent.open-hub.cn --git-username <git-username> --project-id <project-id> --database-ref <database-ref> --environment dev
- Environment variables:
OPS_GIT_PASSWORD and OPS_DB_SESSION_TOKEN
- Operator prerequisite: Install the official opsctl helper. Public DB transport is gateway-managed over standard project HTTPS entrypoints; external agents must not prompt end users for IDC SSH or kubectl details.
- On exit, the helper closes the db session and tears down the local transport automatically.