replicas-cli 0.2.511 → 0.2.512
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 +16 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9276,6 +9276,7 @@ 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
|
|
9279
9280
|
- The user asks for Stripe customers, payments, invoices, subscriptions, or balances`;
|
|
9280
9281
|
var REFERENCE9 = `# Plugins
|
|
9281
9282
|
|
|
@@ -9344,6 +9345,20 @@ const result = await replicas.modal.call({
|
|
|
9344
9345
|
\`\`\`
|
|
9345
9346
|
|
|
9346
9347
|
Function calls execute with the connected Modal token and may mutate external state. Confirm the requested action before invoking a function with side effects.
|
|
9348
|
+
|
|
9349
|
+
## turbopuffer
|
|
9350
|
+
|
|
9351
|
+
turbopuffer is a native integration backed by its official TypeScript SDK. Use the provider-shaped helpers:
|
|
9352
|
+
|
|
9353
|
+
\`\`\`ts
|
|
9354
|
+
const namespaces = await replicas.turbopuffer.namespaces({ prefix: 'products' });
|
|
9355
|
+
const results = await replicas.turbopuffer.query('products', {
|
|
9356
|
+
rank_by: ['text', 'BM25', 'wireless headphones'],
|
|
9357
|
+
top_k: 10,
|
|
9358
|
+
});
|
|
9359
|
+
\`\`\`
|
|
9360
|
+
|
|
9361
|
+
\`write\` mutates namespace data. Confirm the requested change before calling it.
|
|
9347
9362
|
`;
|
|
9348
9363
|
var PLUGINS_ABILITY = {
|
|
9349
9364
|
label: "Plugins",
|
|
@@ -9829,7 +9844,7 @@ function formatTurnElapsed(ms) {
|
|
|
9829
9844
|
}
|
|
9830
9845
|
|
|
9831
9846
|
// ../shared/src/cli-version.ts
|
|
9832
|
-
var CLI_VERSION = "0.2.
|
|
9847
|
+
var CLI_VERSION = "0.2.512";
|
|
9833
9848
|
|
|
9834
9849
|
// ../shared/src/version.ts
|
|
9835
9850
|
function compareVersions(v1, v2) {
|