@akshar5/cohall 0.12.6 → 0.12.8

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.
@@ -45,6 +45,8 @@ $powerShell = [Diagnostics.Process]::GetCurrentProcess().MainModule.FileName
45
45
  $action = New-ScheduledTaskAction -Execute $powerShell -Argument "-NoLogo -NoProfile -NonInteractive -EncodedCommand $encoded"
46
46
  $trigger = New-ScheduledTaskTrigger -AtLogOn -User $env:USERNAME
47
47
  $settings = New-ScheduledTaskSettingsSet `
48
+ -AllowStartIfOnBatteries `
49
+ -DontStopIfGoingOnBatteries `
48
50
  -ExecutionTimeLimit (New-TimeSpan -Days 3650) `
49
51
  -RestartCount 999 `
50
52
  -RestartInterval (New-TimeSpan -Minutes 1) `
package/docs/install.md CHANGED
@@ -189,6 +189,12 @@ host connections. The self-test lists tools without calling one or requiring
189
189
  the relay. To verify your harness, ask it to call `list_devices` and inspect
190
190
  `mcp_host` using the same config path; see [MCP host verification](integrations.md#verify-the-mcp-host).
191
191
 
192
+ Paired credentials expire after 90 days of inactivity. Successful client
193
+ authentication and valid device heartbeats renew their own credentials for another
194
+ 90 days. No re-pairing is needed while they remain active; expiry, revocation, and
195
+ device forgetting still prevent access. This requires an updated relay, but no
196
+ client or worker update. Already expired credentials require a fresh pairing.
197
+
192
198
  Configuration locations:
193
199
 
194
200
  - Linux: `${XDG_CONFIG_HOME:-~/.config}/cohall/config.json`
@@ -281,7 +287,8 @@ Cohall; a different global directory is rejected.
281
287
  The default target, `latest`, is resolved through that package manager using its
282
288
  registry and network settings, then pinned before installation. Bun installations
283
289
  require Bun 1.2.15 or newer for this lookup; older Bun versions can still use an
284
- exact `--to` version. If `latest` is older than the running or installed version,
290
+ exact `--to` version. pnpm runs this lookup from its verified global directory.
291
+ If `latest` is older than the running or installed version,
285
292
  Cohall leaves the installation and services untouched. Version ordering includes
286
293
  prereleases and ignores build metadata. A failed or invalid lookup, or unreadable
287
294
  installed package metadata, stops the upgrade before installation. Use an exact
@@ -20,6 +20,8 @@ result with `cohall status <task-id>` or `task_status`, then use
20
20
  call acknowledges its result automatically.
21
21
 
22
22
  Cancelling an MCP `delegate` or `wait_task` request stops its wait and polling.
23
+ Closing the host's MCP input stream also stops active waits and shuts down the
24
+ Cohall MCP process.
23
25
  Accepted work continues. To stop coding work, use `cancel_task` or a task deadline.
24
26
  Later completions stay in the inbox.
25
27
 
@@ -44,9 +46,10 @@ The task keeps its original start time; its trace records the new acknowledgment
44
46
  Requests without an ID continue to create a new task each time.
45
47
 
46
48
  Use a device UUID or `@device-uuid/bot-id` from `cohall bots` for retries. These
47
- targets bypass live name discovery when a request ID is supplied, so the original
48
- task can still be recovered after its target is forgotten or stops advertising
49
- the provider. Names need discovery on each call. Qualified Bot names such as
49
+ targets bypass live name discovery, including submissions without a request ID.
50
+ With a request ID, the original task can still be recovered after its target is
51
+ forgotten or stops advertising the provider. Unknown device UUIDs return the
52
+ relay's target error. Names need discovery on each call. Qualified Bot names such as
50
53
  `@device-uuid/Research` also work with request IDs while the Bot is still advertised.
51
54
  With a request ID, a thread follow-up must select a target or provider explicitly.
52
55
  Select the Bot explicitly
package/docs/muse.md CHANGED
@@ -85,15 +85,19 @@ sandbox is replaced, retain the configuration through the host's private
85
85
  persistent storage or issue a new pairing token. Cohall cannot preserve a file
86
86
  the host discards.
87
87
 
88
- Client credentials expire 90 days after pairing. Before expiry, collect and
89
- acknowledge completed work and record any outstanding task IDs. Have the relay
90
- owner create a new client-only pairing token, repeat `join` with that new token
91
- file, and run `doctor` again. Each pairing has a separate completion inbox;
92
- results from earlier pairings remain accessible through `status <task-id>` while
93
- the relay retains those tasks. Preserving the configuration does not extend the
94
- credential's expiry. Clarification answers require the original requester
95
- credential or relay owner; ask the owner to answer outstanding questions from
96
- an expired pairing.
88
+ Client credentials expire after 90 days without successful authentication.
89
+ Authenticated requests renew that window automatically, preserving the same
90
+ credential, completion inbox, and ownership of outstanding clarification answers.
91
+ Keeping the configuration file alone does not renew an unused credential.
92
+
93
+ Expired or revoked credentials cannot renew themselves. For an expired pairing,
94
+ have the relay owner create a new client-only pairing token, repeat `join` with
95
+ that token file, and run `doctor` again. Each new pairing has a separate completion
96
+ inbox; earlier results remain accessible through `status <task-id>` while the relay
97
+ retains those tasks. Ask the owner to answer outstanding questions from an expired
98
+ pairing. Upgrade the relay to enable automatic renewal for existing credentials
99
+ before they expire; older relays use a fixed 90-day lifetime even for active
100
+ credentials.
97
101
 
98
102
  ## Delegate and collect results
99
103
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akshar5/cohall",
3
- "version": "0.12.6",
3
+ "version": "0.12.8",
4
4
  "description": "Let coding agents delegate work across your own devices.",
5
5
  "keywords": [
6
6
  "agents",