@akshar5/cohall 0.3.4 → 0.4.1

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,20 @@ 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. Active services restart even when the package files are already
94
+ current, so a process left on old code by a direct package-manager update is
95
+ replaced. Choose an exact version with `cohall upgrade --to 1.2.3`. Use `--dry-run` to inspect the plan or
96
+ `--no-restart` to leave active services pending a manual restart.
97
+
98
+ Back up the data directory before upgrading a production relay; SQLite schema
99
+ migrations run in place. A system-level relay may require running the command
100
+ with the same privileges used to install and manage that service.
package/docs/services.md CHANGED
@@ -84,6 +84,19 @@ 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. Active services restart even when the installed
92
+ files already match the requested version. A delegated upgrade can finish after
93
+ restarting its own device daemon, so it does not leave the task in a reconnect loop.
94
+
95
+ Direct `npm install --global`, `bun add --global`, or `pnpm add --global`
96
+ replaces files on disk but cannot replace code already loaded by a running Node
97
+ process. Use `cohall upgrade`, or restart the service manager job manually, to
98
+ move a running relay or device to the new version.
99
+
87
100
  ## Troubleshooting
88
101
 
89
102
  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.1",
4
4
  "description": "Let coding agents delegate work across your own devices.",
5
5
  "keywords": [
6
6
  "agents",