@mindstudio-ai/agent 0.1.108 → 0.1.109
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/cli.js +67 -9
- package/dist/index.d.ts +7 -0
- package/dist/index.js +59 -1
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +67 -9
- package/llms.txt +1 -1
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -1814,7 +1814,7 @@ await file.shareUrl(); // absolute signed URL that works with NO session (email/
|
|
|
1814
1814
|
```
|
|
1815
1815
|
|
|
1816
1816
|
Store methods:
|
|
1817
|
-
- `put(content, { key?, contentType?, filename?, contentAddressed?, cacheControl? })` → `StoredFile`. `content` is `Buffer | Uint8Array | string
|
|
1817
|
+
- `put(content, { key?, contentType?, filename?, contentAddressed?, cacheControl? })` → `StoredFile`. `content` is `Buffer | Uint8Array | string` — any size up to 5 GiB (large content transparently uploads direct to storage via a presigned POST, so there is no request-body cap). Omit `key` for a random UUID; `contentAddressed: true` derives an immutable `<sha256>.<ext>` key. `cacheControl` sets the CDN caching of a public object (defaults: auto-minted keys immutable, named keys `public, max-age=300`).
|
|
1818
1818
|
- `get(key)` → `Buffer` · `head(key)` → `StoredFile` · `exists(key)` → `boolean`
|
|
1819
1819
|
- `list({ prefix?, cursor?, limit? })` → `{ files: StoredFile[]; cursor? }`
|
|
1820
1820
|
- `delete(key)` → `void`
|