replicas-cli 0.2.512 → 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.
- package/dist/index.mjs +25 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9277,6 +9277,8 @@ 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
|
|
9281
|
+
- The user asks to analyze text with Pangram
|
|
9280
9282
|
- The user asks for Stripe customers, payments, invoices, subscriptions, or balances`;
|
|
9281
9283
|
var REFERENCE9 = `# Plugins
|
|
9282
9284
|
|
|
@@ -9331,6 +9333,17 @@ const results = await Promise.all(customerIds.map((customer) =>
|
|
|
9331
9333
|
|
|
9332
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.
|
|
9333
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
|
+
|
|
9334
9347
|
## Modal
|
|
9335
9348
|
|
|
9336
9349
|
Modal is a native integration and uses its official JavaScript SDK behind the Replicas gateway. Invoke a deployed function by name:
|
|
@@ -9359,6 +9372,17 @@ const results = await replicas.turbopuffer.query('products', {
|
|
|
9359
9372
|
\`\`\`
|
|
9360
9373
|
|
|
9361
9374
|
\`write\` mutates namespace data. Confirm the requested change before calling it.
|
|
9375
|
+
|
|
9376
|
+
## Pangram
|
|
9377
|
+
|
|
9378
|
+
Pangram is a native integration. Text sent to either method is processed by Pangram and consumes the connected account's credits:
|
|
9379
|
+
|
|
9380
|
+
\`\`\`ts
|
|
9381
|
+
const detection = await replicas.pangram.detect({ text });
|
|
9382
|
+
const plagiarism = await replicas.pangram.plagiarism(text);
|
|
9383
|
+
\`\`\`
|
|
9384
|
+
|
|
9385
|
+
Do not send private or sensitive text without the user's authorization.
|
|
9362
9386
|
`;
|
|
9363
9387
|
var PLUGINS_ABILITY = {
|
|
9364
9388
|
label: "Plugins",
|
|
@@ -9844,7 +9868,7 @@ function formatTurnElapsed(ms) {
|
|
|
9844
9868
|
}
|
|
9845
9869
|
|
|
9846
9870
|
// ../shared/src/cli-version.ts
|
|
9847
|
-
var CLI_VERSION = "0.2.
|
|
9871
|
+
var CLI_VERSION = "0.2.514";
|
|
9848
9872
|
|
|
9849
9873
|
// ../shared/src/version.ts
|
|
9850
9874
|
function compareVersions(v1, v2) {
|