@ioai/lerobot-studio 1.0.2 → 1.1.0
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/CHANGELOG.md +12 -0
- package/dist-lib/{DockviewLayout-DjLrI3Yt.js → DockviewLayout-DeRL52Yo.js} +3001 -2981
- package/dist-lib/{LeRobotDataLoader-DYBXb4dz.js → LeRobotDataLoader-B8wZijIi.js} +1308 -1277
- package/dist-lib/lerobot-studio.css +11 -1
- package/dist-lib/lerobot.d.ts +21 -0
- package/dist-lib/lerobot.es.js +1229 -1056
- package/dist-lib/{react-window-B1KnRC6j.js → react-window-BIZRp3dx.js} +83 -69
- package/package.json +1 -1
|
@@ -1854,7 +1854,17 @@
|
|
|
1854
1854
|
background-color: var(--card);
|
|
1855
1855
|
}
|
|
1856
1856
|
|
|
1857
|
-
.lerobot-root .bg-destructive, .lerobot-root .bg-destructive\/
|
|
1857
|
+
.lerobot-root .bg-destructive, .lerobot-root .bg-destructive\/5 {
|
|
1858
|
+
background-color: var(--destructive);
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1862
|
+
.lerobot-root .bg-destructive\/5 {
|
|
1863
|
+
background-color: color-mix(in oklab, var(--destructive) 5%, transparent);
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
.lerobot-root .bg-destructive\/10 {
|
|
1858
1868
|
background-color: var(--destructive);
|
|
1859
1869
|
}
|
|
1860
1870
|
|
package/dist-lib/lerobot.d.ts
CHANGED
|
@@ -16,6 +16,15 @@ export declare function createArchiveDataSourceFromFile(file: File): DataSource;
|
|
|
16
16
|
*/
|
|
17
17
|
export declare function createArchiveDataSourceFromUrl(url: string): DataSource;
|
|
18
18
|
|
|
19
|
+
/**
|
|
20
|
+
* Create a viewer data source from a host-owned list of per-file HTTP(S) URLs.
|
|
21
|
+
*
|
|
22
|
+
* Use this when the host already signed individual dataset files and must not
|
|
23
|
+
* download a full archive. `getObjectUrl` returns the remote URL so the
|
|
24
|
+
* browser can stream media with Range requests.
|
|
25
|
+
*/
|
|
26
|
+
export declare function createRemoteManifestDataSource(files: RemoteFileEntry[]): DataSource;
|
|
27
|
+
|
|
19
28
|
/** Browser-readable storage abstraction consumed by the viewer. */
|
|
20
29
|
export declare interface DataSource {
|
|
21
30
|
/** Return whether a logical dataset path exists. */
|
|
@@ -103,4 +112,16 @@ export declare interface ProgressInfo {
|
|
|
103
112
|
message?: string;
|
|
104
113
|
}
|
|
105
114
|
|
|
115
|
+
/** One host-signed file in a remote dataset manifest. */
|
|
116
|
+
export declare interface RemoteFileEntry {
|
|
117
|
+
/** Logical path inside the LeRobot dataset, such as `meta/info.json`. */
|
|
118
|
+
logicalPath: string;
|
|
119
|
+
/** HTTP(S) URL the browser can fetch or stream. */
|
|
120
|
+
presignedUrl: string;
|
|
121
|
+
/** Optional MIME type for the file. */
|
|
122
|
+
contentType?: string | null;
|
|
123
|
+
/** Optional size in bytes; used by safety limits when present. */
|
|
124
|
+
sizeBytes?: number | null;
|
|
125
|
+
}
|
|
126
|
+
|
|
106
127
|
export { }
|