@akshar5/cohall 0.3.4 → 0.4.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/docs/install.md CHANGED
@@ -81,7 +81,19 @@ configure --providers auto` to return to executable auto-detection.
81
81
 
82
82
  ## Upgrade
83
83
 
84
- `npx -y @akshar5/cohall` resolves the current npm release. For a globally
85
- installed service, stop it, run `npm install --global @akshar5/cohall@latest`,
86
- verify `cohall doctor`, and restart it. Back up the relay data directory before
87
- upgrading a production relay; SQLite schema migrations run in place.
84
+ Package runners such as `npx`, `bunx`, and `pnpm dlx` already resolve a current
85
+ release. Upgrade a global installation and its running services with:
86
+
87
+ ```bash
88
+ cohall upgrade
89
+ ```
90
+
91
+ Cohall uses the package manager and global prefix that installed it, verifies
92
+ the installed version, then restarts only active Cohall relay and device
93
+ services. An already-current install is not restarted. Choose an exact version
94
+ with `cohall upgrade --to 1.2.3`. Use `--dry-run` to inspect the plan or
95
+ `--no-restart` to leave active services pending a manual restart.
96
+
97
+ Back up the data directory before upgrading a production relay; SQLite schema
98
+ migrations run in place. A system-level relay may require running the command
99
+ with the same privileges used to install and manage that service.
package/docs/services.md CHANGED
@@ -84,6 +84,18 @@ powershell -ExecutionPolicy Bypass -File deploy\windows\install-device.ps1
84
84
  The script registers a per-user scheduled task that starts `cohall device` at
85
85
  logon and restarts it after failures.
86
86
 
87
+ ## Upgrade running services
88
+
89
+ Run `cohall upgrade` from a global npm, Bun, or pnpm installation. It updates
90
+ that installation and restarts only active managed Cohall services, with relays
91
+ restarted before device daemons. A delegated upgrade can finish after restarting
92
+ its own device daemon, so it does not leave the task in a reconnect loop.
93
+
94
+ Direct `npm install --global`, `bun add --global`, or `pnpm add --global`
95
+ replaces files on disk but cannot replace code already loaded by a running Node
96
+ process. Use `cohall upgrade`, or restart the service manager job manually, to
97
+ move a running relay or device to the new version.
98
+
87
99
  ## Troubleshooting
88
100
 
89
101
  Start with `cohall doctor`. It reports relay reachability, device connectivity,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akshar5/cohall",
3
- "version": "0.3.4",
3
+ "version": "0.4.0",
4
4
  "description": "Let coding agents delegate work across your own devices.",
5
5
  "keywords": [
6
6
  "agents",