@inferencesh/app 0.1.5 → 0.1.6

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/file.d.ts CHANGED
@@ -59,6 +59,10 @@ export declare class File {
59
59
  * Create a lazy File from a URL or path string.
60
60
  * Does NOT download immediately — download happens when `getPath()` is called.
61
61
  *
62
+ * Note: This is safe in JS because `getPath()` is async. The Python SDK had to
63
+ * revert to eager download because `.path` is a sync property that blocks the
64
+ * event loop when called from async code (e.g. Playwright + httpx apps).
65
+ *
62
66
  * @example
63
67
  * ```js
64
68
  * const file = File.lazy("https://example.com/image.jpg");
package/dist/file.js CHANGED
@@ -97,6 +97,10 @@ export class File {
97
97
  * Create a lazy File from a URL or path string.
98
98
  * Does NOT download immediately — download happens when `getPath()` is called.
99
99
  *
100
+ * Note: This is safe in JS because `getPath()` is async. The Python SDK had to
101
+ * revert to eager download because `.path` is a sync property that blocks the
102
+ * event loop when called from async code (e.g. Playwright + httpx apps).
103
+ *
100
104
  * @example
101
105
  * ```js
102
106
  * const file = File.lazy("https://example.com/image.jpg");
package/dist/types.js CHANGED
@@ -1,4 +1,4 @@
1
- // Code generated by tygo. DO NOT EDIT.
1
+ // Code generated by gotypegen. DO NOT EDIT.
2
2
  export const MetaItemTypeText = "text";
3
3
  export const MetaItemTypeImage = "image";
4
4
  export const MetaItemTypeVideo = "video";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inferencesh/app",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "App framework for building inference.sh apps — File handling, output metadata, storage utilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",