replicas-cli 0.2.510 → 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.
Files changed (2) hide show
  1. package/dist/index.mjs +33 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -9275,10 +9275,12 @@ Use this when:
9275
9275
  - The user asks to manage Calendly events, invitees, or scheduling links
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
+ - The user asks to invoke a connected Modal function
9279
+ - The user asks to query or update a connected turbopuffer namespace
9278
9280
  - The user asks for Stripe customers, payments, invoices, subscriptions, or balances`;
9279
9281
  var REFERENCE9 = `# Plugins
9280
9282
 
9281
- Plugins are TypeScript libraries, not MCP servers. Import \`@replicas/sdk\`; Replicas authenticates the workspace and selects only the owner\u2019s personal connection or the organization fallback. Composio credentials, sessions, and project keys are never exposed.
9283
+ Plugins are TypeScript libraries, not MCP servers. Import \`@replicas/sdk\`; Replicas authenticates the workspace and selects only the owner\u2019s personal connection or the organization fallback. Provider credentials, sessions, and project keys are never exposed.
9282
9284
 
9283
9285
  Plugin tools may read or write provider data according to the connected account's permissions. Only execute write or destructive tools when they match the user's request.
9284
9286
 
@@ -9328,6 +9330,35 @@ const results = await Promise.all(customerIds.map((customer) =>
9328
9330
  \`\`\`
9329
9331
 
9330
9332
  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
+
9334
+ ## Modal
9335
+
9336
+ Modal is a native integration and uses its official JavaScript SDK behind the Replicas gateway. Invoke a deployed function by name:
9337
+
9338
+ \`\`\`ts
9339
+ const result = await replicas.modal.call({
9340
+ app: 'my-app',
9341
+ function: 'my-function',
9342
+ args: ['input'],
9343
+ environment: 'main',
9344
+ });
9345
+ \`\`\`
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.
9331
9362
  `;
9332
9363
  var PLUGINS_ABILITY = {
9333
9364
  label: "Plugins",
@@ -9813,7 +9844,7 @@ function formatTurnElapsed(ms) {
9813
9844
  }
9814
9845
 
9815
9846
  // ../shared/src/cli-version.ts
9816
- var CLI_VERSION = "0.2.510";
9847
+ var CLI_VERSION = "0.2.512";
9817
9848
 
9818
9849
  // ../shared/src/version.ts
9819
9850
  function compareVersions(v1, v2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "replicas-cli",
3
- "version": "0.2.510",
3
+ "version": "0.2.512",
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": {