run-spaceapp 0.1.30 → 1.0.31
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 +23 -5
- package/package.json +4 -4
- package/src/cli.mjs +634 -288
- package/src/index.mjs +90 -28
- package/src/prerequisites.mjs +36 -11
- package/src/prompt-controller.mjs +344 -0
- package/src/storage.mjs +159 -0
- package/src/support-manifest.json +147 -0
- package/templates/compose.yml +11 -1
package/README.md
CHANGED
|
@@ -15,8 +15,8 @@ separately:
|
|
|
15
15
|
npm install -g run-spaceapp
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
The
|
|
19
|
-
|
|
18
|
+
The smallest profile requires Node.js 20.11 or newer, 4 CPUs, 8 GB-class RAM
|
|
19
|
+
(7 GiB usable), and 6.5 GiB free for a fresh installation. Keep `@latest` in the command so npm resolves the current release instead
|
|
20
20
|
of matching an existing local launcher. If Docker is missing, the universal
|
|
21
21
|
install command automatically installs it from official Docker sources on
|
|
22
22
|
Windows, macOS, Ubuntu, Debian, Fedora, RHEL, and CentOS, or with native
|
|
@@ -40,9 +40,27 @@ work: during image pulls the launcher switches Docker to a temporary
|
|
|
40
40
|
credential-free config so Docker Desktop's graphical credential helper is never
|
|
41
41
|
invoked outside an interactive logon.
|
|
42
42
|
|
|
43
|
-
The launcher
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
The launcher selects `small`, `medium`, or `large` automatically using CPU,
|
|
44
|
+
RAM and free disk. Docker's CPU and RAM allocation is checked as well.
|
|
45
|
+
|
|
46
|
+
| Profile | CPU | Usable RAM | Fresh free space | Services |
|
|
47
|
+
| --- | --- | --- | --- | --- |
|
|
48
|
+
| small | 4 | 7 GiB | 6.5 GiB | SpaceApp, OpenCode, PostgreSQL |
|
|
49
|
+
| medium | 4 | 11 GiB | 8 GiB | small + background workflow/integration workers |
|
|
50
|
+
| large | 8 | 15 GiB | 11 GiB | medium + managed Chromium, larger limits |
|
|
51
|
+
|
|
52
|
+
Use `install --profile small|medium|large` to choose explicitly. Existing
|
|
53
|
+
`light` and `standard` profiles remain compatible. Upgrades preserve the installed
|
|
54
|
+
profile unless you explicitly choose another one. Companions and additional AI
|
|
55
|
+
CLIs remain optional and can be installed when needed.
|
|
56
|
+
|
|
57
|
+
An upgrade checks **additional** space: missing image layers, the database
|
|
58
|
+
checkpoint and 0.5 GiB headroom. Cached target images require no extra image space.
|
|
59
|
+
Shared layers are excluded when public registry metadata is available; otherwise
|
|
60
|
+
a conservative estimate is shown. Space is checked again after pulling and
|
|
61
|
+
before pausing writers. Existing data is kept in place; the launcher never deletes
|
|
62
|
+
images, backups or volumes to free space. Separate Docker disk capacity is checked
|
|
63
|
+
when measurable and its availability is reported.
|
|
46
64
|
|
|
47
65
|
### First-install telemetry
|
|
48
66
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "run-spaceapp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"spaceappRuntimeVersion": "0.
|
|
3
|
+
"version": "1.0.31",
|
|
4
|
+
"spaceappRuntimeVersion": "1.0.31",
|
|
5
5
|
"spaceappHostRootRuntimeCompatible": true,
|
|
6
6
|
"description": "Cross-platform Docker launcher for the SpaceApp self-hosted agent workspace",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
],
|
|
37
37
|
"scripts": {
|
|
38
38
|
"test": "node --test tests/*.test.mjs",
|
|
39
|
-
"check": "node --check bin/spaceapp.mjs && node --check src/package-info.mjs && node --check src/index.mjs && node --check src/cli.mjs && node --check src/telemetry.mjs && node --check src/prerequisites.mjs",
|
|
39
|
+
"check": "node --check bin/spaceapp.mjs && node --check src/package-info.mjs && node --check src/index.mjs && node --check src/cli.mjs && node --check src/storage.mjs && node --check src/telemetry.mjs && node --check src/prerequisites.mjs",
|
|
40
40
|
"pack:dry-run": "npm pack --dry-run"
|
|
41
41
|
},
|
|
42
42
|
"repository": {
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"access": "public",
|
|
53
53
|
"provenance": true
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "2769d82e1077c9316c6452f40c4996e0290ce083"
|
|
56
56
|
}
|