replicas-cli 0.2.511 → 0.2.513
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 +28 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9276,6 +9276,8 @@ Use this when:
|
|
|
9276
9276
|
- The user asks to read or change Google Ads, Docs, Drive, Search Console, or Sheets data
|
|
9277
9277
|
- The user asks for ClickHouse analytics or PostHog product data
|
|
9278
9278
|
- The user asks to invoke a connected Modal function
|
|
9279
|
+
- The user asks to query or update a connected turbopuffer namespace
|
|
9280
|
+
- The user asks to analyze text with Pangram
|
|
9279
9281
|
- The user asks for Stripe customers, payments, invoices, subscriptions, or balances`;
|
|
9280
9282
|
var REFERENCE9 = `# Plugins
|
|
9281
9283
|
|
|
@@ -9344,6 +9346,31 @@ const result = await replicas.modal.call({
|
|
|
9344
9346
|
\`\`\`
|
|
9345
9347
|
|
|
9346
9348
|
Function calls execute with the connected Modal token and may mutate external state. Confirm the requested action before invoking a function with side effects.
|
|
9349
|
+
|
|
9350
|
+
## turbopuffer
|
|
9351
|
+
|
|
9352
|
+
turbopuffer is a native integration backed by its official TypeScript SDK. Use the provider-shaped helpers:
|
|
9353
|
+
|
|
9354
|
+
\`\`\`ts
|
|
9355
|
+
const namespaces = await replicas.turbopuffer.namespaces({ prefix: 'products' });
|
|
9356
|
+
const results = await replicas.turbopuffer.query('products', {
|
|
9357
|
+
rank_by: ['text', 'BM25', 'wireless headphones'],
|
|
9358
|
+
top_k: 10,
|
|
9359
|
+
});
|
|
9360
|
+
\`\`\`
|
|
9361
|
+
|
|
9362
|
+
\`write\` mutates namespace data. Confirm the requested change before calling it.
|
|
9363
|
+
|
|
9364
|
+
## Pangram
|
|
9365
|
+
|
|
9366
|
+
Pangram is a native integration. Text sent to either method is processed by Pangram and consumes the connected account's credits:
|
|
9367
|
+
|
|
9368
|
+
\`\`\`ts
|
|
9369
|
+
const detection = await replicas.pangram.detect({ text });
|
|
9370
|
+
const plagiarism = await replicas.pangram.plagiarism(text);
|
|
9371
|
+
\`\`\`
|
|
9372
|
+
|
|
9373
|
+
Do not send private or sensitive text without the user's authorization.
|
|
9347
9374
|
`;
|
|
9348
9375
|
var PLUGINS_ABILITY = {
|
|
9349
9376
|
label: "Plugins",
|
|
@@ -9829,7 +9856,7 @@ function formatTurnElapsed(ms) {
|
|
|
9829
9856
|
}
|
|
9830
9857
|
|
|
9831
9858
|
// ../shared/src/cli-version.ts
|
|
9832
|
-
var CLI_VERSION = "0.2.
|
|
9859
|
+
var CLI_VERSION = "0.2.513";
|
|
9833
9860
|
|
|
9834
9861
|
// ../shared/src/version.ts
|
|
9835
9862
|
function compareVersions(v1, v2) {
|