@animastor/installer 0.1.0 → 0.1.1
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/README.md +1 -1
- package/package.json +2 -2
- package/src/installer/cli.js +2 -2
- package/src/installer/engine/engine.js +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ published to npm as `@animastor/installer`.
|
|
|
14
14
|
|
|
15
15
|
```
|
|
16
16
|
packages/animastor-installer/
|
|
17
|
-
├── package.json @animastor/installer 0.1.
|
|
17
|
+
├── package.json @animastor/installer 0.1.1, Node >=20, zero runtime deps
|
|
18
18
|
├── src/installer/
|
|
19
19
|
│ ├── cli.js CLI entry (detect/plan/install/verify/resume/uninstall)
|
|
20
20
|
│ ├── index.js Public API entry (10 exports, incl. setupContract)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@animastor/installer",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Animastor Private GPU Worker installer — self-contained CLI and library for GPU worker setup, verification, and management.",
|
|
5
5
|
"main": "src/installer/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"bugs": {
|
|
35
35
|
"url": "https://github.com/Animastor/animastor/issues"
|
|
36
36
|
},
|
|
37
|
-
"homepage": "https://animastor.
|
|
37
|
+
"homepage": "https://animastor.org",
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"chai": "^6.2.2",
|
|
40
40
|
"mocha": "^11.7.5"
|
package/src/installer/cli.js
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* --mode MODE managed | existing | shared (default: infer from detection)
|
|
20
20
|
* --root PATH ComfyUI root directory (default: ~/ComfyUI)
|
|
21
21
|
* --worker-dir PATH Worker bundle directory (default: ~/animastor/worker)
|
|
22
|
-
* --hub-url URL GPU Hub base URL (default: https://animastor.
|
|
22
|
+
* --hub-url URL GPU Hub base URL (default: https://animastor.org/gpu)
|
|
23
23
|
* --repo-root PATH Animastor repo root (default: derived from cli.js location)
|
|
24
24
|
* --state PATH Install state file path
|
|
25
25
|
* --yes Auto-confirm all prompts
|
|
@@ -86,7 +86,7 @@ function homeDir() {
|
|
|
86
86
|
|
|
87
87
|
const DEFAULT_ROOT = PLATFORM_ADAPTER.defaultRoot(homeDir());
|
|
88
88
|
const DEFAULT_WORKER_DIR = PLATFORM_ADAPTER.defaultWorkerDir(homeDir());
|
|
89
|
-
const DEFAULT_HUB_URL = 'https://animastor.
|
|
89
|
+
const DEFAULT_HUB_URL = 'https://animastor.org/gpu';
|
|
90
90
|
|
|
91
91
|
// ---------------------------------------------------------------------------
|
|
92
92
|
// Argument parsing
|
|
@@ -990,7 +990,7 @@ function findModelDep(manifests, id) {
|
|
|
990
990
|
}
|
|
991
991
|
|
|
992
992
|
function defaultEnvValue(key, { hubUrl, manifests }) {
|
|
993
|
-
if (key === 'HUB_URL') return hubUrl || 'https://animastor.
|
|
993
|
+
if (key === 'HUB_URL') return hubUrl || 'https://animastor.org/gpu';
|
|
994
994
|
if (key === 'WORKER_TYPE') return (manifests[0].worker_bundle || {}).worker_type || 'image';
|
|
995
995
|
if (key === 'WORKER_ID') return `gpu-${Date.now().toString(36)}`;
|
|
996
996
|
return '';
|