replicas-cli 0.2.513 → 0.2.514

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +13 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -9277,6 +9277,7 @@ Use this when:
9277
9277
  - The user asks for ClickHouse analytics or PostHog product data
9278
9278
  - The user asks to invoke a connected Modal function
9279
9279
  - The user asks to query or update a connected turbopuffer namespace
9280
+ - The user asks for PlanetScale organizations, databases, branches, or Insights data
9280
9281
  - The user asks to analyze text with Pangram
9281
9282
  - The user asks for Stripe customers, payments, invoices, subscriptions, or balances`;
9282
9283
  var REFERENCE9 = `# Plugins
@@ -9332,6 +9333,17 @@ const results = await Promise.all(customerIds.map((customer) =>
9332
9333
 
9333
9334
  Never attempt to import Composio, create a session, manage a connection, or call a provider with raw credentials. Those operations are intentionally unavailable inside the workspace.
9334
9335
 
9336
+ ## PlanetScale
9337
+
9338
+ PlanetScale is a native OAuth integration. Pass a relative path from the PlanetScale v1 API; Replicas refreshes access tokens server-side:
9339
+
9340
+ \`\`\`ts
9341
+ const organizations = await replicas.planetscale.request('/organizations');
9342
+ const databases = await replicas.planetscale.request('/organizations/acme/databases');
9343
+ \`\`\`
9344
+
9345
+ OAuth scopes control permitted operations. Confirm mutations before using POST, PUT, PATCH, or DELETE.
9346
+
9335
9347
  ## Modal
9336
9348
 
9337
9349
  Modal is a native integration and uses its official JavaScript SDK behind the Replicas gateway. Invoke a deployed function by name:
@@ -9856,7 +9868,7 @@ function formatTurnElapsed(ms) {
9856
9868
  }
9857
9869
 
9858
9870
  // ../shared/src/cli-version.ts
9859
- var CLI_VERSION = "0.2.513";
9871
+ var CLI_VERSION = "0.2.514";
9860
9872
 
9861
9873
  // ../shared/src/version.ts
9862
9874
  function compareVersions(v1, v2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.513",
3
+ "version": "0.2.514",
4
4
  "description": "CLI for managing Replicas workspaces - SSH into cloud dev environments with automatic port forwarding",
5
5
  "main": "dist/index.mjs",
6
6
  "bin": {