@mindstudio-ai/remy 0.1.296 → 0.1.298
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/headless.js +4 -2
- package/dist/index.js +4 -2
- package/dist/prompt/skills/files.md +13 -1
- package/package.json +1 -1
package/dist/headless.js
CHANGED
|
@@ -1803,9 +1803,11 @@ function runCli(command, args, options) {
|
|
|
1803
1803
|
child.on("close", (code) => {
|
|
1804
1804
|
const out = stdout.trim();
|
|
1805
1805
|
if (timedOut) {
|
|
1806
|
+
const detail = stderr.trim();
|
|
1806
1807
|
finish({
|
|
1807
1808
|
ok: false,
|
|
1808
|
-
output:
|
|
1809
|
+
output: `Process timed out after ${Math.round(timeout / 1e3)}s` + (detail ? `. Output before timeout:
|
|
1810
|
+
${detail}` : ""),
|
|
1809
1811
|
logs,
|
|
1810
1812
|
timedOut: true,
|
|
1811
1813
|
truncated
|
|
@@ -4577,7 +4579,7 @@ async function runBrowserAutomation(task, context, opts) {
|
|
|
4577
4579
|
auth: _input.auth,
|
|
4578
4580
|
path: _input.path
|
|
4579
4581
|
},
|
|
4580
|
-
{ timeout:
|
|
4582
|
+
{ timeout: 3e4 }
|
|
4581
4583
|
);
|
|
4582
4584
|
return JSON.stringify(result2);
|
|
4583
4585
|
} catch (err) {
|
package/dist/index.js
CHANGED
|
@@ -1320,9 +1320,11 @@ function runCli(command, args2, options) {
|
|
|
1320
1320
|
child.on("close", (code) => {
|
|
1321
1321
|
const out = stdout.trim();
|
|
1322
1322
|
if (timedOut) {
|
|
1323
|
+
const detail = stderr.trim();
|
|
1323
1324
|
finish({
|
|
1324
1325
|
ok: false,
|
|
1325
|
-
output:
|
|
1326
|
+
output: `Process timed out after ${Math.round(timeout / 1e3)}s` + (detail ? `. Output before timeout:
|
|
1327
|
+
${detail}` : ""),
|
|
1326
1328
|
logs,
|
|
1327
1329
|
timedOut: true,
|
|
1328
1330
|
truncated
|
|
@@ -5655,7 +5657,7 @@ async function runBrowserAutomation(task, context, opts) {
|
|
|
5655
5657
|
auth: _input.auth,
|
|
5656
5658
|
path: _input.path
|
|
5657
5659
|
},
|
|
5658
|
-
{ timeout:
|
|
5660
|
+
{ timeout: 3e4 }
|
|
5659
5661
|
);
|
|
5660
5662
|
return JSON.stringify(result2);
|
|
5661
5663
|
} catch (err) {
|
|
@@ -98,7 +98,19 @@ Need an image on the site (hero, logo, OG image)? **Never commit binaries to the
|
|
|
98
98
|
```bash
|
|
99
99
|
mindstudio-prod files put --public ./hero.jpg # → { url, key } — content-addressed, immutable
|
|
100
100
|
```
|
|
101
|
-
Write that URL into your JSX/HTML.
|
|
101
|
+
Write that URL into your JSX/HTML. The full CLI surface: `put` (any size up to 5 GiB — bytes go directly to storage), `get` (download an object to disk), `sign` (mint a link), `stat` (metadata / existence), `ls` (objects in a store), `list` (store summary), `rm` (`--help` for flags).
|
|
102
|
+
|
|
103
|
+
## Moving large or private files off the sandbox
|
|
104
|
+
|
|
105
|
+
The sandbox is ephemeral; when a user needs a file out of it (an export, an archive, a handoff), the channel is a **private store + a signed link** — private, expiring, and revocable:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
mindstudio-prod files put --private --store handoff ./export.tar.gz # → { key }
|
|
109
|
+
mindstudio-prod files sign --private --store handoff --key <key> --ttl 86400 # → { url, expiresAt }
|
|
110
|
+
mindstudio-prod files rm --store handoff --key <key> --private # revoke when confirmed received
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
**Never use the account media CDN (`mindstudio upload`) for sensitive material — those URLs are public and permanent, with no delete.** That includes probing: don't test an upload channel with the real payload; use throwaway bytes.
|
|
102
114
|
|
|
103
115
|
## Generated assets
|
|
104
116
|
|