run-spaceapp 1.0.35 → 1.0.36
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 +30 -8
- package/package.json +3 -3
- package/src/cli.mjs +7 -0
package/README.md
CHANGED
|
@@ -105,10 +105,10 @@ Claude Code is not redistributed in SpaceApp images. Install the reviewed
|
|
|
105
105
|
package as an explicit owner action with:
|
|
106
106
|
|
|
107
107
|
```bash
|
|
108
|
-
npx --yes run-spaceapp@
|
|
108
|
+
npx --yes run-spaceapp@latest provider install claude
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
Run `npx --yes run-spaceapp@
|
|
111
|
+
Run `npx --yes run-spaceapp@latest help` for the complete command list. Full
|
|
112
112
|
documentation:
|
|
113
113
|
|
|
114
114
|
- [Getting started](https://github.com/oll4com/spaceapp/blob/main/docs/getting-started.md)
|
|
@@ -121,16 +121,38 @@ After the stack passes readiness checks, the install command prints the fresh
|
|
|
121
121
|
it expires before the owner is created, run:
|
|
122
122
|
|
|
123
123
|
```bash
|
|
124
|
-
npx --yes run-spaceapp@
|
|
124
|
+
npx --yes run-spaceapp@latest owner rotate-setup-token
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
-
|
|
127
|
+
### Self-Hosted Installation Help & Recovery
|
|
128
|
+
|
|
129
|
+
- **Forgot your operator password?** Run in your host terminal:
|
|
130
|
+
```bash
|
|
131
|
+
npx --yes run-spaceapp@latest owner reset-password
|
|
132
|
+
```
|
|
133
|
+
- **Need a clean install from scratch?** Run:
|
|
134
|
+
```bash
|
|
135
|
+
npx --yes run-spaceapp@latest factory-reset
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Common Commands
|
|
128
139
|
|
|
129
140
|
```bash
|
|
130
|
-
npx --yes run-spaceapp@
|
|
131
|
-
npx --yes run-spaceapp@
|
|
132
|
-
npx --yes run-spaceapp@
|
|
133
|
-
npx --yes run-spaceapp@
|
|
141
|
+
npx --yes run-spaceapp@latest status # Check container health and port bindings
|
|
142
|
+
npx --yes run-spaceapp@latest logs # View or stream container logs
|
|
143
|
+
npx --yes run-spaceapp@latest doctor # Verify system prerequisites and diagnose Docker
|
|
144
|
+
npx --yes run-spaceapp@latest up # Start containers in background
|
|
145
|
+
npx --yes run-spaceapp@latest down # Stop containers cleanly
|
|
146
|
+
npx --yes run-spaceapp@latest open # Open web app in default browser
|
|
147
|
+
npx --yes run-spaceapp@latest backup # Create verified, portable backup archive
|
|
148
|
+
npx --yes run-spaceapp@latest restore # Restore state from a backup archive
|
|
149
|
+
npx --yes run-spaceapp@latest update # Pull latest images and upgrade stack
|
|
150
|
+
npx --yes run-spaceapp@latest rollback # Revert to previous stable version
|
|
151
|
+
npx --yes run-spaceapp@latest workspace add <path> # Register host folder for AI CLIs
|
|
152
|
+
npx --yes run-spaceapp@latest workspace list # List registered host folders
|
|
153
|
+
npx --yes run-spaceapp@latest credentials list # List configured AI providers
|
|
154
|
+
npx --yes run-spaceapp@latest credentials set <provider> # Set API key via masked input
|
|
155
|
+
npx --yes run-spaceapp@latest uninstall # Stop and remove containers (preserves data)
|
|
134
156
|
```
|
|
135
157
|
|
|
136
158
|
Uninstall retains data by default and prints the separate
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "run-spaceapp",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"spaceappRuntimeVersion": "1.0.
|
|
3
|
+
"version": "1.0.36",
|
|
4
|
+
"spaceappRuntimeVersion": "1.0.36",
|
|
5
5
|
"spaceappHostRootRuntimeCompatible": true,
|
|
6
6
|
"description": "Cross-platform Docker launcher for the SpaceApp self-hosted agent workspace",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"access": "public",
|
|
53
53
|
"provenance": true
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "9aa5727def9b1fa92e90ccd3b60807f1f058092b"
|
|
56
56
|
}
|
package/src/cli.mjs
CHANGED
|
@@ -968,6 +968,13 @@ async function installCommand(args, {
|
|
|
968
968
|
stdout.write('Paste it into the "One-time setup token" field in the page that opens.\n');
|
|
969
969
|
stdout.write("It expires in 15 minutes and stops working after the first owner is created.\n");
|
|
970
970
|
stdout.write(`If it expires, run: ${UNIVERSAL_COMMAND} owner rotate-setup-token\n`);
|
|
971
|
+
} else {
|
|
972
|
+
stdout.write(
|
|
973
|
+
"\nNotice: Existing SpaceApp database detected with an already registered operator account.\n" +
|
|
974
|
+
"Sign in using your existing email and password.\n" +
|
|
975
|
+
`- Forgot password? Run: "${UNIVERSAL_COMMAND} owner reset-password"\n` +
|
|
976
|
+
`- Clean install from scratch: "${UNIVERSAL_COMMAND} factory-reset"\n\n`
|
|
977
|
+
);
|
|
971
978
|
}
|
|
972
979
|
stdout.write(
|
|
973
980
|
"Next: open the Getting Started room and use OpenCode. A working free model is selected on first launch.\n" +
|