replicas-cli 0.3.476 → 0.3.478
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.cjs +10 -42
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21615,7 +21615,7 @@ var init_design_tokens = __esm({
|
|
|
21615
21615
|
destructiveForeground: "#ffffff",
|
|
21616
21616
|
destructiveSoft: "#dc262614",
|
|
21617
21617
|
warning: "#92400e",
|
|
21618
|
-
warningText: "#
|
|
21618
|
+
warningText: "#aa4d00",
|
|
21619
21619
|
warningSoft: "#92400e1f",
|
|
21620
21620
|
warningForeground: "#ffffff",
|
|
21621
21621
|
highlight: "#facc1580",
|
|
@@ -25173,7 +25173,7 @@ Use this when:
|
|
|
25173
25173
|
- You need to start a service that a human should view or interact with
|
|
25174
25174
|
- The task involves UI work that benefits from human review
|
|
25175
25175
|
- You are verifying frontend/backend integrations visually
|
|
25176
|
-
- You need a URL for OAuth redirects, GitHub App callbacks, or webhooks (never the sandbox's \`*.
|
|
25176
|
+
- You need a URL for OAuth redirects, GitHub App callbacks, or webhooks (never the sandbox's \`*.sandbox.tensorlake.ai\` address)`;
|
|
25177
25177
|
REFERENCE11 = `# Preview URLs
|
|
25178
25178
|
|
|
25179
25179
|
When you run services on ports \u2014 such as a web app, API server, or database \u2014 humans may want to interact with them directly. You can expose your locally running services as public preview URLs.
|
|
@@ -25222,7 +25222,7 @@ Previews can optionally require cookie-based authentication. When \`--authentica
|
|
|
25222
25222
|
|
|
25223
25223
|
## OAuth Redirects, App Callbacks, and Webhooks
|
|
25224
25224
|
|
|
25225
|
-
Never use the sandbox's raw \`https://<port>-<sandbox-id>.
|
|
25225
|
+
Never use the sandbox's raw \`https://<port>-<sandbox-id>.sandbox.tensorlake.ai\` address anywhere a browser or third party will load it. It only accepts requests carrying a key that the Replicas preview proxy adds, so browsers, OAuth providers, and webhook senders are rejected.
|
|
25226
25226
|
|
|
25227
25227
|
Use the port's preview URL instead:
|
|
25228
25228
|
- As the app's public base URL (\`APP_URL\`, \`NEXTAUTH_URL\`, and similar)
|
|
@@ -25262,7 +25262,7 @@ It is your responsibility to make previews work for outsiders as well as they wo
|
|
|
25262
25262
|
PREVIEWS_ABILITY = {
|
|
25263
25263
|
label: "Previews",
|
|
25264
25264
|
description: "Expose locally running services on public preview URLs for humans.",
|
|
25265
|
-
bullet: "- Creating preview URLs for locally running services, including OAuth redirect, app callback, and webhook URLs (never a raw `*.
|
|
25265
|
+
bullet: "- Creating preview URLs for locally running services, including OAuth redirect, app callback, and webhook URLs (never a raw `*.sandbox.tensorlake.ai` address)",
|
|
25266
25266
|
section: SECTION11,
|
|
25267
25267
|
referenceFile: { name: "PREVIEWS.md", content: REFERENCE11 }
|
|
25268
25268
|
};
|
|
@@ -25282,7 +25282,6 @@ Discover and execute installed marketplace tools through the workspace-scoped Ty
|
|
|
25282
25282
|
Use this when:
|
|
25283
25283
|
- The user asks to work with an installed productivity, data, engineering, or business plugin
|
|
25284
25284
|
- The user asks to discover which external services are connected
|
|
25285
|
-
- The user asks to create or control an E2B sandbox
|
|
25286
25285
|
- The user asks to invoke a connected Modal function
|
|
25287
25286
|
- The user asks to access Vercel projects, deployments, domains, logs, or infrastructure
|
|
25288
25287
|
- The user asks to read or update Lightfield CRM accounts, contacts, opportunities, meetings, notes, or tasks
|
|
@@ -25482,18 +25481,6 @@ const plagiarism = await replicas.pangram.plagiarism(text);
|
|
|
25482
25481
|
\`\`\`
|
|
25483
25482
|
|
|
25484
25483
|
Do not send private or sensitive text without the user's authorization.
|
|
25485
|
-
|
|
25486
|
-
## E2B
|
|
25487
|
-
|
|
25488
|
-
E2B is a native integration backed by its official JavaScript SDK. Create a sandbox, run commands, and remove it when finished:
|
|
25489
|
-
|
|
25490
|
-
\`\`\`ts
|
|
25491
|
-
const { sandboxId } = await replicas.e2b.create({ timeoutMs: 300_000 });
|
|
25492
|
-
const result = await replicas.e2b.run(sandboxId, 'python analysis.py', { cwd: '/home/user' });
|
|
25493
|
-
await replicas.e2b.kill(sandboxId);
|
|
25494
|
-
\`\`\`
|
|
25495
|
-
|
|
25496
|
-
Sandbox operations consume the connected account's E2B credits. Kill sandboxes after use unless the user asked to keep one running.
|
|
25497
25484
|
`;
|
|
25498
25485
|
PLUGINS_ABILITY = {
|
|
25499
25486
|
label: "Plugins",
|
|
@@ -26524,15 +26511,6 @@ var init_plugin_catalog = __esm({
|
|
|
26524
26511
|
name: "Cloudflare",
|
|
26525
26512
|
description: "Manage zones, DNS records, analytics, and security settings."
|
|
26526
26513
|
},
|
|
26527
|
-
{
|
|
26528
|
-
id: "e2b",
|
|
26529
|
-
toolkit: "e2b",
|
|
26530
|
-
backend: "native",
|
|
26531
|
-
authType: "api_key",
|
|
26532
|
-
category: "data",
|
|
26533
|
-
name: "E2B",
|
|
26534
|
-
description: "Create secure cloud sandboxes and run commands in them."
|
|
26535
|
-
},
|
|
26536
26514
|
{
|
|
26537
26515
|
id: "gmail",
|
|
26538
26516
|
backend: "composio",
|
|
@@ -38945,18 +38923,10 @@ var init_replicas_loader = __esm({
|
|
|
38945
38923
|
}
|
|
38946
38924
|
});
|
|
38947
38925
|
|
|
38948
|
-
// ../shared/src/
|
|
38949
|
-
var
|
|
38950
|
-
"../shared/src/
|
|
38951
|
-
"use strict";
|
|
38952
|
-
}
|
|
38953
|
-
});
|
|
38954
|
-
|
|
38955
|
-
// ../shared/src/e2b-retry.ts
|
|
38956
|
-
var init_e2b_retry = __esm({
|
|
38957
|
-
"../shared/src/e2b-retry.ts"() {
|
|
38926
|
+
// ../shared/src/retry.ts
|
|
38927
|
+
var init_retry = __esm({
|
|
38928
|
+
"../shared/src/retry.ts"() {
|
|
38958
38929
|
"use strict";
|
|
38959
|
-
init_type_guards();
|
|
38960
38930
|
}
|
|
38961
38931
|
});
|
|
38962
38932
|
|
|
@@ -38965,7 +38935,6 @@ var TENSORLAKE_DISK_MB;
|
|
|
38965
38935
|
var init_tensorlake = __esm({
|
|
38966
38936
|
"../shared/src/tensorlake.ts"() {
|
|
38967
38937
|
"use strict";
|
|
38968
|
-
init_e2b();
|
|
38969
38938
|
TENSORLAKE_DISK_MB = 100 * 1024;
|
|
38970
38939
|
}
|
|
38971
38940
|
});
|
|
@@ -39700,7 +39669,7 @@ var CLI_VERSION;
|
|
|
39700
39669
|
var init_cli_version = __esm({
|
|
39701
39670
|
"../shared/src/cli-version.ts"() {
|
|
39702
39671
|
"use strict";
|
|
39703
|
-
CLI_VERSION = "0.3.
|
|
39672
|
+
CLI_VERSION = "0.3.478";
|
|
39704
39673
|
}
|
|
39705
39674
|
});
|
|
39706
39675
|
|
|
@@ -50287,7 +50256,7 @@ var WEBHOOK_PROVIDERS, WEBHOOK_PROVIDER_SET;
|
|
|
50287
50256
|
var init_admin = __esm({
|
|
50288
50257
|
"../shared/src/routes/admin.ts"() {
|
|
50289
50258
|
"use strict";
|
|
50290
|
-
WEBHOOK_PROVIDERS = ["linear", "github", "gitlab", "slack", "
|
|
50259
|
+
WEBHOOK_PROVIDERS = ["linear", "github", "gitlab", "slack", "stripe", "sentry"];
|
|
50291
50260
|
WEBHOOK_PROVIDER_SET = new Set(WEBHOOK_PROVIDERS);
|
|
50292
50261
|
}
|
|
50293
50262
|
});
|
|
@@ -50677,8 +50646,7 @@ var init_src = __esm({
|
|
|
50677
50646
|
init_models_dev();
|
|
50678
50647
|
init_replicas_loader();
|
|
50679
50648
|
init_sandbox();
|
|
50680
|
-
|
|
50681
|
-
init_e2b_retry();
|
|
50649
|
+
init_retry();
|
|
50682
50650
|
init_tensorlake();
|
|
50683
50651
|
init_egress();
|
|
50684
50652
|
init_runtime_env();
|