home-hosted 0.9.6 → 0.9.7
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 +4 -5
- package/dist/cli.js +519 -189
- package/dist/cli.js.map +1 -1
- package/docs/RESTORE_DEMO.md +24 -10
- package/docs/SERVERS.md +37 -0
- package/docs/demo/blank-host-restore.sh +48 -39
- package/package.json +1 -1
- package/uis/stock/dist/assets/de-C34BkPFS.js +1 -0
- package/uis/stock/dist/assets/es-BAj9Zo80.js +1 -0
- package/uis/stock/dist/assets/fr-DGxemstM.js +1 -0
- package/uis/stock/dist/assets/{index-JBfH8bkX.js → index-B_sxxM8r.js} +11 -9
- package/uis/stock/dist/assets/ja-CcXwl2h6.js +1 -0
- package/uis/stock/dist/assets/ko-CqnWVcYB.js +1 -0
- package/uis/stock/dist/assets/ru-Dq1ya0_t.js +1 -0
- package/uis/stock/dist/assets/vi-_jghKc3d.js +1 -0
- package/uis/stock/dist/assets/{zh-CN-D2-g9feN.js → zh-CN-__2SVCrZ.js} +1 -1
- package/uis/stock/dist/index.html +1 -1
- package/uis/stock/dist/ui.json +3 -3
- package/uis/stock/dist/assets/de-DI7SS5ZM.js +0 -1
- package/uis/stock/dist/assets/es-DDPUYXdi.js +0 -1
- package/uis/stock/dist/assets/fr-Dpyr2qTp.js +0 -1
- package/uis/stock/dist/assets/ja-CTGEGJ4n.js +0 -1
- package/uis/stock/dist/assets/ko-BSVsEsYY.js +0 -1
- package/uis/stock/dist/assets/ru-DvSoJlxX.js +0 -1
- package/uis/stock/dist/assets/vi-BTIQb_8V.js +0 -1
package/README.md
CHANGED
|
@@ -360,7 +360,7 @@ restarts itself), and how hand-edits are validated: [SERVERS.md](./docs/SERVERS.
|
|
|
360
360
|
| `home-hosted stop <id>` | stop one server, nothing else (`--workspace <id>`) |
|
|
361
361
|
| `home-hosted restart <id>` | restart one server, nothing else (`--workspace <id>`) — the same as the panel's per-server Restart |
|
|
362
362
|
| `home-hosted logs` | read the panel's own console output — the file `up` redirects it into (`--lines`, `--follow`, `--json`) |
|
|
363
|
-
| `home-hosted backup` | list, create or restore an archive without a browser, **and without the panel running** (`create --all --confirm`, `restore <name> --all --confirm`, `--password`, `--include`) — see [RESTORE_DEMO.md](./docs/RESTORE_DEMO.md) |
|
|
363
|
+
| `home-hosted backup` | list, create or restore an archive without a browser, **and without the panel running** (`create --all --confirm`, `restore <name> --all --confirm`, `--password`, `--include`) — see [RESTORE_DEMO.md](./docs/RESTORE_DEMO.md), and `dump`/`load` hooks in [SERVERS.md](./docs/SERVERS.md) |
|
|
364
364
|
| `home-hosted set-password` | set the panel password without opening a browser; a running panel picks it up at once and signs every existing session out |
|
|
365
365
|
| `home-hosted set-token` | set the API token scripts and agents use (`--generate`, `--clear`) |
|
|
366
366
|
| `home-hosted migrate` | bring every config up to the schema this release understands (`--dry-run`, `--yes`) |
|
|
@@ -375,7 +375,7 @@ restarts itself), and how hand-edits are validated: [SERVERS.md](./docs/SERVERS.
|
|
|
375
375
|
`home-hosted <command> --help` prints what that command takes.
|
|
376
376
|
|
|
377
377
|
```text
|
|
378
|
-
up -
|
|
378
|
+
up -p/--port --host --open --no-autostart --foreground --print-config
|
|
379
379
|
|
|
380
380
|
down (no flags)
|
|
381
381
|
status --json
|
|
@@ -386,7 +386,7 @@ restart [<id>] [-w/--workspace <id>] (no id: the panel; with one: tha
|
|
|
386
386
|
init --dir --name --pm --no-install -y/--yes
|
|
387
387
|
set-password --clear
|
|
388
388
|
set-token --generate --clear
|
|
389
|
-
migrate --
|
|
389
|
+
migrate --dry-run -y/--yes
|
|
390
390
|
ui-switch --repo --tag --asset --file --list --token -y/--yes
|
|
391
391
|
ui-update --check --tag --asset --old --repo --token -y/--yes
|
|
392
392
|
ui-revert (no flags)
|
|
@@ -397,8 +397,7 @@ env vars HHOSTED_PASSWORD, HHOSTED_MIGRATE=allow, HHOSTED_TOKEN, GITHUB
|
|
|
397
397
|
|
|
398
398
|
`up` and `restart` share the same flags: bare `restart` is `down`, then `up` with exactly what it was
|
|
399
399
|
given. Given a server id — `restart web` — it restarts only that entry, and the panel keeps running.
|
|
400
|
-
|
|
401
|
-
for a launcher that pins one; a workspace picked in the UI keeps its own. `start`/`stop` omit
|
|
400
|
+
A workspace's entries always come from its own `servers.config.json`. `start`/`stop` omit
|
|
402
401
|
`--workspace` to act in the panel's default workspace.
|
|
403
402
|
|
|
404
403
|
A misspelled command or option names the one you meant — `home-hosted restar` answers
|