replicas-cli 0.2.510 → 0.2.511
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 +18 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9275,10 +9275,11 @@ 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
|
|
9278
9279
|
- The user asks for Stripe customers, payments, invoices, subscriptions, or balances`;
|
|
9279
9280
|
var REFERENCE9 = `# Plugins
|
|
9280
9281
|
|
|
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.
|
|
9282
|
+
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
9283
|
|
|
9283
9284
|
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
9285
|
|
|
@@ -9328,6 +9329,21 @@ const results = await Promise.all(customerIds.map((customer) =>
|
|
|
9328
9329
|
\`\`\`
|
|
9329
9330
|
|
|
9330
9331
|
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.
|
|
9332
|
+
|
|
9333
|
+
## Modal
|
|
9334
|
+
|
|
9335
|
+
Modal is a native integration and uses its official JavaScript SDK behind the Replicas gateway. Invoke a deployed function by name:
|
|
9336
|
+
|
|
9337
|
+
\`\`\`ts
|
|
9338
|
+
const result = await replicas.modal.call({
|
|
9339
|
+
app: 'my-app',
|
|
9340
|
+
function: 'my-function',
|
|
9341
|
+
args: ['input'],
|
|
9342
|
+
environment: 'main',
|
|
9343
|
+
});
|
|
9344
|
+
\`\`\`
|
|
9345
|
+
|
|
9346
|
+
Function calls execute with the connected Modal token and may mutate external state. Confirm the requested action before invoking a function with side effects.
|
|
9331
9347
|
`;
|
|
9332
9348
|
var PLUGINS_ABILITY = {
|
|
9333
9349
|
label: "Plugins",
|
|
@@ -9813,7 +9829,7 @@ function formatTurnElapsed(ms) {
|
|
|
9813
9829
|
}
|
|
9814
9830
|
|
|
9815
9831
|
// ../shared/src/cli-version.ts
|
|
9816
|
-
var CLI_VERSION = "0.2.
|
|
9832
|
+
var CLI_VERSION = "0.2.511";
|
|
9817
9833
|
|
|
9818
9834
|
// ../shared/src/version.ts
|
|
9819
9835
|
function compareVersions(v1, v2) {
|