@akshar5/cohall 0.4.0 → 0.4.2

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
@@ -90,8 +90,11 @@ cohall upgrade
90
90
 
91
91
  Cohall uses the package manager and global prefix that installed it, verifies
92
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
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. If a service points to a different global installation, Cohall stops
96
+ with its executable path instead of reporting a misleading successful restart.
97
+ Run that executable's `upgrade` command or update the service definition. Choose an exact version with `cohall upgrade --to 1.2.3`. Use `--dry-run` to inspect the plan or
95
98
  `--no-restart` to leave active services pending a manual restart.
96
99
 
97
100
  Back up the data directory before upgrading a production relay; SQLite schema
package/docs/services.md CHANGED
@@ -88,8 +88,12 @@ logon and restarts it after failures.
88
88
 
89
89
  Run `cohall upgrade` from a global npm, Bun, or pnpm installation. It updates
90
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.
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
+ Before changing files, Cohall verifies that active systemd and launchd jobs use
95
+ the same global installation as the invoked CLI. If they differ, run the
96
+ executable named in the error or update the service definition first.
93
97
 
94
98
  Direct `npm install --global`, `bun add --global`, or `pnpm add --global`
95
99
  replaces files on disk but cannot replace code already loaded by a running Node
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akshar5/cohall",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Let coding agents delegate work across your own devices.",
5
5
  "keywords": [
6
6
  "agents",