codeharbor 0.1.10 → 0.1.12

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.
Files changed (3) hide show
  1. package/README.md +7 -3
  2. package/dist/cli.js +1504 -1370
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -91,6 +91,8 @@ codeharbor service uninstall --with-admin
91
91
  Notes:
92
92
 
93
93
  - Service commands auto-elevate with `sudo` when root privileges are required.
94
+ - `codeharbor service install --with-admin` and `install-linux-easy.sh --enable-admin-service` now install
95
+ `/etc/sudoers.d/codeharbor-restart` for non-root service users, so Admin UI restart actions work out-of-box.
94
96
  - If your environment blocks interactive `sudo`, use explicit fallback:
95
97
  - `sudo <node-bin> <codeharbor-cli-script> service ...`
96
98
 
@@ -353,9 +355,11 @@ Note: `PUT /api/admin/config/global` writes to `.env` and marks changes as resta
353
355
  1. Start server: `codeharbor admin serve`.
354
356
  2. Open `/settings/global`, set `Admin Token` (if enabled), then click `Save Auth`.
355
357
  3. Adjust global fields and click `Save Global Config` (UI shows restart-required warning).
356
- 4. Open `/settings/rooms`, fill `Room ID + Workdir`, then `Save Room`.
357
- 5. Open `/health` to run connectivity checks (`codex` + Matrix).
358
- 6. Open `/audit` to verify config revisions (actor/summary/payload).
358
+ 4. Use `Restart Main Service` or `Restart Main + Admin` buttons for one-click restart from Admin UI.
359
+ If services were installed with `--with-admin`, restart permissions are auto-configured by installer.
360
+ 5. Open `/settings/rooms`, fill `Room ID + Workdir`, then `Save Room`.
361
+ 6. Open `/health` to run connectivity checks (`codex` + Matrix).
362
+ 7. Open `/audit` to verify config revisions (actor/summary/payload).
359
363
 
360
364
  ## Standalone Admin Deployment
361
365