@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.
- package/CHANGELOG.md +7 -0
- package/README.md +6 -0
- package/bin/{chunk-d2sykjmx.js → chunk-0nnvgtgx.js} +2 -2
- package/bin/{chunk-61m7z93m.js → chunk-22xds47a.js} +1 -1
- package/bin/{chunk-akct7v1q.js → chunk-c5qv9pg0.js} +4 -4
- package/bin/{chunk-39by7csf.js → chunk-cgw59n50.js} +4 -4
- package/bin/{chunk-89ga9j8t.js → chunk-cy2pk1yf.js} +1 -1
- package/bin/{chunk-27xa296w.js → chunk-j574tp6f.js} +1 -1
- package/bin/{chunk-zxrjgp9k.js → chunk-mqvp2676.js} +1 -1
- package/bin/{chunk-7dgeftrk.js → chunk-rsctgzxj.js} +2 -2
- package/bin/{chunk-7dgeftrk.js.map → chunk-rsctgzxj.js.map} +1 -1
- package/bin/{chunk-90k4bw6t.js → chunk-vkxze339.js} +35 -10
- package/bin/chunk-vkxze339.js.map +14 -0
- package/bin/{chunk-7ss2d5n4.js → chunk-wr5f7saj.js} +2 -2
- package/bin/cohall.js +7 -7
- package/docs/install.md +6 -0
- package/docs/muse.md +13 -9
- package/package.json +1 -1
- package/bin/chunk-90k4bw6t.js.map +0 -14
- /package/bin/{chunk-d2sykjmx.js.map → chunk-0nnvgtgx.js.map} +0 -0
- /package/bin/{chunk-61m7z93m.js.map → chunk-22xds47a.js.map} +0 -0
- /package/bin/{chunk-akct7v1q.js.map → chunk-c5qv9pg0.js.map} +0 -0
- /package/bin/{chunk-39by7csf.js.map → chunk-cgw59n50.js.map} +0 -0
- /package/bin/{chunk-89ga9j8t.js.map → chunk-cy2pk1yf.js.map} +0 -0
- /package/bin/{chunk-27xa296w.js.map → chunk-j574tp6f.js.map} +0 -0
- /package/bin/{chunk-zxrjgp9k.js.map → chunk-mqvp2676.js.map} +0 -0
- /package/bin/{chunk-7ss2d5n4.js.map → chunk-wr5f7saj.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readMcpHostDiagnostics
|
|
3
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
87
|
-
const { runDaemon } = await import("./chunk-
|
|
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-
|
|
107
|
-
const { runMcp } = await import("./chunk-
|
|
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-
|
|
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
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
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
|
|