@volter/sdk 0.5.207 → 0.5.208
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/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@volter/sdk",
|
|
3
3
|
"author": "Volter AI, Inc.",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.208",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
"@fortawesome/react-fontawesome": "^3.2.0",
|
|
488
488
|
"@storybook/react": "10.6.0",
|
|
489
489
|
"@types/node": "^22.0.0",
|
|
490
|
-
"@volter/project": "0.5.
|
|
490
|
+
"@volter/project": "0.5.208",
|
|
491
491
|
"mediabunny": "1.56.2",
|
|
492
492
|
"postcss": "8.5.28",
|
|
493
493
|
"rrweb": "2.1.6",
|
|
@@ -64,9 +64,9 @@ export type ProductColorTheme = 'dark' | 'light';
|
|
|
64
64
|
* single one of them is extracted. Both come out of that script's own
|
|
65
65
|
* `BUILD.json`, and it prints this block to paste.
|
|
66
66
|
*
|
|
67
|
-
*
|
|
67
|
+
* An account that has already fetched it keeps it in `~/.volter/workbenches/<tag>`
|
|
68
68
|
* and a project that has one names it in `.volter/workbench.json`, so this is
|
|
69
|
-
* consulted exactly once per
|
|
69
|
+
* consulted exactly once per account per release — see
|
|
70
70
|
* `workbench-locator.ts`'s `resolveWorkbenchForProject`.
|
|
71
71
|
*/
|
|
72
72
|
export interface ProductWorkbench {
|
|
@@ -345,7 +345,7 @@ function resolveSources(dir: string): ResolvedWorkbench {
|
|
|
345
345
|
const RELEASE_REPO = 'volter-ai/code-oss';
|
|
346
346
|
|
|
347
347
|
/**
|
|
348
|
-
* WHERE FETCHED BYTES LIVE — one directory per release tag, per
|
|
348
|
+
* WHERE FETCHED BYTES LIVE — one directory per release tag, per account (`~/.volter/workbenches`).
|
|
349
349
|
*
|
|
350
350
|
* Keyed by the TAG and nothing else, because that is what makes it a cache and
|
|
351
351
|
* not a decision: two projects on the same release share one 723 MB directory,
|
|
@@ -365,7 +365,7 @@ export interface ProjectWorkbench extends ResolvedWorkbench {
|
|
|
365
365
|
/** The release tag these bytes are, when the product's declaration found them. */
|
|
366
366
|
readonly tag: string | null;
|
|
367
367
|
/** True when THIS call downloaded them — the launch line says `fetched from
|
|
368
|
-
* <tag>` exactly once per
|
|
368
|
+
* <tag>` exactly once per account per release, and never again. */
|
|
369
369
|
readonly fetched: boolean;
|
|
370
370
|
}
|
|
371
371
|
|
|
@@ -621,7 +621,7 @@ async function fetchDeclaredRelease(
|
|
|
621
621
|
|
|
622
622
|
io.log(
|
|
623
623
|
`Fetching the ${productId} workbench ${tag} from ${RELEASE_REPO} — ` +
|
|
624
|
-
`${megabytes(tarball.size)} MB, once
|
|
624
|
+
`${megabytes(tarball.size)} MB, once for this account on this computer.`,
|
|
625
625
|
);
|
|
626
626
|
const tarballPath = join(partial, tarball.name);
|
|
627
627
|
let announced = 0;
|