@mindstudio-ai/remy 0.1.336 → 0.1.337

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.
@@ -22,6 +22,20 @@ result.content; // step-specific output
22
22
  result.$billingCost; // cost in credits (if applicable)
23
23
  ```
24
24
 
25
+ ## Where files an action produces end up
26
+
27
+ Any action that returns a file URL writes to the shared **public** MindStudio CDN by default: unlisted, but readable by anyone holding the URL, and it never expires. Pass a file store as `store` in the options object to write into the app's own storage instead — a private store means the URL only loads for an authorized app session.
28
+
29
+ ```typescript
30
+ const Reports = files.defineStore('reports', { access: 'private' });
31
+
32
+ const { imageUrl } = await mindstudio.generateImage({ prompt }, { store: Reports });
33
+ ```
34
+
35
+ **Use a store whenever the file belongs to a specific user or is confidential** (a client document, a participant recording, anything the app wouldn't publish). The public default is for marketing images and other genuinely world-readable assets. See the `files` skill.
36
+
37
+ Inputs are safe either way: a private file or a `shareUrl` handed to an action is read where it sits, and any intermediate the platform needs (transcoding a video, rasterizing a PDF) is staged privately and deleted when the call finishes.
38
+
25
39
  ## Available Actions
26
40
 
27
41
  ### AI Generation
@@ -114,13 +114,15 @@ remy-admin files rm --store handoff --key <key> --private # revoke
114
114
 
115
115
  ## Generated assets
116
116
 
117
- MindStudio SDK Actions that produce a file (`generateImage`, `generateVideo`, `generateSpeech`, `generatePdf`, `upscaleImage`, …) can optionally write straight into a store — pass the handle as `store` in the options object:
117
+ Every MindStudio SDK Action that produces a file (`generateImage`, `generateVideo`, `generateSpeech`, `generatePdf`, `upscaleImage`, `trimMedia`, `convertPdfToImages`, `screenshotUrl`, `getGmailAttachments`, …) can write straight into a store — pass the handle as `store` in the options object:
118
118
 
119
119
  ```typescript
120
120
  const { imageUrl } = await mindstudio.generateImage({ prompt }, { store: Assets });
121
121
  ```
122
122
 
123
- If omitted, files are written to the default global, public MindStudio CDN.
123
+ If omitted, the file goes to the shared public MindStudio CDN, where the URL is unlisted but readable by anyone who has it, forever. **For anything confidential, pass a private store.** That's the one thing to get right here — the default is fine for marketing images and wrong for client material.
124
+
125
+ **Actions never publish what you give them.** An input that's already one of the app's own files — a private object, a `shareUrl` link, a `/_/files/...` path — is read where it sits, and anything the platform has to convert first (a non-mp4 video, the pages of a PDF, a document an extraction model must fetch) is staged privately and discarded when the call finishes. So handing `extractText` a private contract, or `trimMedia` a private `.mov`, leaves no public copy behind.
124
126
 
125
127
  ## When public vs private
126
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindstudio-ai/remy",
3
- "version": "0.1.336",
3
+ "version": "0.1.337",
4
4
  "description": "Remy coding agent",
5
5
  "repository": {
6
6
  "type": "git",