home-hosted 0.7.20 → 0.8.0

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/AGENTS.md CHANGED
@@ -14,8 +14,9 @@ nanny state), and `run.json` (the live daemon's pid/url/token, 0600). Every work
14
14
  `servers.config.json`, `.secrets.json` (0600: Telegram token, plus DDNS credentials sealed with
15
15
  AES-256-GCM under `HHOSTED_DDNS_SECRET` — only DDNS is sealed, because it is the one thing replayed
16
16
  to a third party), `.logs/` (per server, `<id>.log` plus `<id>.log.1` when it rotates), and
17
- `.state/` (nanny state, its 0600 spawn spec until read, `ddns.json`). A pre-`.hh` instance is
18
- relocated automatically by `ensureLayout()`. **The package ships no servers**: never commit a config,
17
+ `.state/` (nanny state, its 0600 spawn spec until read, `ddns.json`). A home still on the 0.6.x layout
18
+ is **refused** by `ensureLayout()`, which names the file and tells the person to install the latest
19
+ 0.7.x; 0.8.0 does not relocate it. **The package ships no servers**: never commit a config,
19
20
  a seed entry, or a path that names one.
20
21
 
21
22
  ## Docs
@@ -191,7 +192,9 @@ nobody reads is worse than a long file.
191
192
  commit*. A stale doc is a bug like stale code.
192
193
  - **UIs move together.** `uis/stock` is not the only client: a change to it — or to a shared contract
193
194
  it reads — lands in every other UI under `uis/`, and each altered UI bumps its `ui.json` (see
194
- [`.agentDocs/ARCHITECTURE.md`](.agentDocs/ARCHITECTURE.md)).
195
+ [`.agentDocs/ARCHITECTURE.md`](.agentDocs/ARCHITECTURE.md)). `src/shared/**` is a UI build input, so
196
+ a contract a UI *calls* at runtime ships in its bundle and needs the bump — the pre-commit hook only
197
+ inspects `uis/` paths and stays silent on that commit.
195
198
 
196
199
  ## Releasing
197
200
 
package/README.md CHANGED
@@ -348,7 +348,7 @@ restarts itself), and how hand-edits are validated: [SERVERS.md](./docs/SERVERS.
348
348
  | `home-hosted logs` | read the panel's own console output — the file `up` redirects it into (`--lines`, `--follow`, `--json`) |
349
349
  | `home-hosted set-password` | set the panel password without opening a browser |
350
350
  | `home-hosted set-token` | set the API token scripts and agents use (`--generate`, `--clear`) |
351
- | `home-hosted migrate` | relocate a pre-workspaces state directory and stamp every config for this release (`--dry-run`, `--yes`) |
351
+ | `home-hosted migrate` | bring every config up to the schema this release understands (`--dry-run`, `--yes`) |
352
352
  | `home-hosted init` | scaffold a self-contained project, whose scripts keep state in the repo (`--home ./state`) |
353
353
  | `home-hosted ui-switch` | install a UI from a release asset, a zip file or a URL (interactive) |
354
354
  | `home-hosted ui-update` | bring an installed UI up to date automatically (official UI) or pick a release (`--old`, `--check`) |
@@ -413,6 +413,17 @@ or a config whose schema is newer than the running release stops `up` with the e
413
413
  than starting with defaults that quietly differ from your file. Fix the file, or install the release
414
414
  that wrote it.
415
415
 
416
+ ### Coming from 0.6.x
417
+
418
+ **Install the latest 0.7.x first, and run it once.** 0.7.0 moved all state from `$HHOSTED_HOME` itself
419
+ into `$HHOSTED_HOME/.hh`, splitting the old all-in-one `servers.config.json` into global settings, a
420
+ `default` workspace, and that workspace's servers — and it did the move automatically on its first
421
+ run. 0.8.0 dropped that relocation.
422
+
423
+ So a home that is still on the 0.6.x layout is not read: `up` stops and names the file it found,
424
+ rather than starting against an empty state directory beside a config it never opened. 0.7.x does
425
+ the move on its first run; 0.8.0 then starts against the result.
426
+
416
427
  </details>
417
428
 
418
429
  ---