@pollinations/cli 0.1.82 → 0.1.83
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.js +8 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var init_package = __esm({
|
|
|
14
14
|
"package.json"() {
|
|
15
15
|
package_default = {
|
|
16
16
|
name: "@pollinations/cli",
|
|
17
|
-
version: "0.1.
|
|
17
|
+
version: "0.1.83",
|
|
18
18
|
description: "The Pollinations CLI \u2014 for humans, AI agents, and everything in between",
|
|
19
19
|
type: "module",
|
|
20
20
|
bin: {
|
|
@@ -6910,14 +6910,17 @@ var sandboxCommand = new Command23("sandbox").description("E2B sandboxes billed
|
|
|
6910
6910
|
async (template, { timeout }) => {
|
|
6911
6911
|
requireKey();
|
|
6912
6912
|
try {
|
|
6913
|
-
const { sandboxID } = await createSandbox(
|
|
6913
|
+
const { sandboxID, notice } = await createSandbox(
|
|
6914
6914
|
template,
|
|
6915
6915
|
timeout
|
|
6916
6916
|
);
|
|
6917
6917
|
try {
|
|
6918
6918
|
setupSsh();
|
|
6919
6919
|
} catch (err) {
|
|
6920
|
-
printResult({
|
|
6920
|
+
printResult({
|
|
6921
|
+
id: sandboxID,
|
|
6922
|
+
...notice && { notice }
|
|
6923
|
+
});
|
|
6921
6924
|
fail(
|
|
6922
6925
|
`Sandbox ${sandboxID} created, but failed to set up ssh`,
|
|
6923
6926
|
err
|
|
@@ -6928,7 +6931,8 @@ var sandboxCommand = new Command23("sandbox").description("E2B sandboxes billed
|
|
|
6928
6931
|
);
|
|
6929
6932
|
printResult({
|
|
6930
6933
|
id: sandboxID,
|
|
6931
|
-
ssh: `ssh ${sandboxID}.polli
|
|
6934
|
+
ssh: `ssh ${sandboxID}.polli`,
|
|
6935
|
+
...notice && { notice }
|
|
6932
6936
|
});
|
|
6933
6937
|
} catch (err) {
|
|
6934
6938
|
fail("Failed to create sandbox", err);
|