@akshar5/cohall 0.12.7 → 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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readMcpHostDiagnostics
3
- } from "./chunk-89ga9j8t.js";
3
+ } from "./chunk-cy2pk1yf.js";
4
4
  import"./chunk-p493vm5f.js";
5
5
  import {
6
6
  configurationPath
@@ -8,7 +8,7 @@ import {
8
8
  import"./chunk-04a27ybz.js";
9
9
  import {
10
10
  version
11
- } from "./chunk-7dgeftrk.js";
11
+ } from "./chunk-rsctgzxj.js";
12
12
 
13
13
  // apps/device/src/mcp-diagnostics.ts
14
14
  import { Client } from "@modelcontextprotocol/sdk/client/index.js";
package/bin/cohall.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  __require,
4
4
  version
5
- } from "./chunk-7dgeftrk.js";
5
+ } from "./chunk-rsctgzxj.js";
6
6
 
7
7
  // apps/device/src/help.ts
8
8
  var help = `Cohall connects agents running on your own devices.
@@ -77,14 +77,14 @@ var main = async () => {
77
77
  throw new Error(`${command} does not accept arguments`);
78
78
  }
79
79
  if (command === "relay" && commandArguments.length === 0) {
80
- const { runRelay } = await import("./chunk-90k4bw6t.js");
80
+ const { runRelay } = await import("./chunk-vkxze339.js");
81
81
  await runRelay();
82
82
  return;
83
83
  }
84
84
  if (command === "device") {
85
85
  const { Effect } = await import("effect");
86
- const { loadDeviceConfiguration } = await import("./chunk-27xa296w.js");
87
- const { runDaemon } = await import("./chunk-d2sykjmx.js");
86
+ const { loadDeviceConfiguration } = await import("./chunk-j574tp6f.js");
87
+ const { runDaemon } = await import("./chunk-0nnvgtgx.js");
88
88
  const configuration = await Effect.runPromise(loadDeviceConfiguration);
89
89
  const controller = new AbortController;
90
90
  const stop = () => controller.abort();
@@ -103,13 +103,13 @@ var main = async () => {
103
103
  }
104
104
  if (command === "mcp") {
105
105
  const { Effect } = await import("effect");
106
- const { loadClientConfiguration } = await import("./chunk-27xa296w.js");
107
- const { runMcp } = await import("./chunk-39by7csf.js");
106
+ const { loadClientConfiguration } = await import("./chunk-j574tp6f.js");
107
+ const { runMcp } = await import("./chunk-cgw59n50.js");
108
108
  const configuration = await Effect.runPromise(loadClientConfiguration);
109
109
  await runMcp(configuration);
110
110
  return;
111
111
  }
112
- const { runCli } = await import("./chunk-akct7v1q.js");
112
+ const { runCli } = await import("./chunk-c5qv9pg0.js");
113
113
  await runCli(command, commandArguments);
114
114
  };
115
115
  await main().catch((cause) => {
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`
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.7",
3
+ "version": "0.12.8",
4
4
  "description": "Let coding agents delegate work across your own devices.",
5
5
  "keywords": [
6
6
  "agents",