Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 2.91 KB

File metadata and controls

34 lines (18 loc) · 2.91 KB

@pgbeam/openapi

0.2.4

Patch Changes

  • 06f9609: feat(cli): first-run golden path. New public GET /v1/organizations lists the organizations visible to the caller's credential (an org-scoped pbo_ key sees exactly its org, a user credential sees memberships with roles). pgbeam auth login now verifies the key against the API before storing it (a rejected key fails the login and stores nothing) and resolves the organization automatically, auto-selecting a single org and prompting a pick among several. orgs list shows live organizations with the active one marked (falling back to saved profiles offline) and orgs switch with no argument lists and picks interactively. auth status/whoami verify the credential live when online and print the masked key, method, email, and org, degrading gracefully offline; whoami --help now shows its own name. Top-level pgbeam link and pgbeam unlink aliases are registered so every hint that references them works, and the project link is discovered by walking ancestor directories like git. policies create gains the write-safety flags update already had (--write-mode, --approval-mode, --approval-timeout-seconds, --approval-auto-max-rows, --migration-safety, --table-allowlist, --table-denylist). The "No organization set" error now names the exact dashboard location to copy an org ID, the mcp --help example shows the real .mcp.json stanza, and agents mcp-config explains all three ways to supply credentials when input is missing.

0.2.3

Patch Changes

  • 31cb990: feat(byoc): self-host enrollment hardening, optional expires_at on enrollment create/list and a rotate operation that mints a new pbh_ token once and atomically invalidates the old one

0.2.2

Patch Changes

  • 19a6caf: feat(approvals): affected-row estimate, target tables, and statement kind on approval requests
  • 5d49e15: feat(providers): SelfHostEnrollment resource in all three IaC providers, gateway-resource secret-lifecycle tests, crossplane generator fix for immutable resources with wrapped create responses

0.2.1

Patch Changes

  • 9ce842e: Fix the mirror repository link in the README. It pointed at sferarc/@pgbeam/openapi (the npm scope path) instead of the GitHub repository sferarc/pgbeam-openapi.

0.2.0

Minor Changes

  • 86fcc6c: Publish @pgbeam/openapi, a public mirror of the PgBeam OpenAPI contract.

    The package ships the exact public spec that drives every PgBeam consumer (the API server, the TypeScript and Go SDKs, the Terraform, Crossplane, and Pulumi providers, the CLI, and the docs). It is generated as part of pnpm generate, so it never drifts from the source contract. Consumers can npm i @pgbeam/openapi and import the parsed document (openapiSpec, openapiVersion), or read the raw @pgbeam/openapi/openapi.json / @pgbeam/openapi/openapi.yaml files directly to generate their own clients, validate requests, or render API reference docs.