@akshar5/cohall 0.6.2 → 0.8.0
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 +15 -0
- package/README.md +54 -3
- package/bin/cohall.js +880 -287
- package/bin/cohall.js.map +13 -11
- package/docs/grok-bot.md +196 -0
- package/docs/install.md +8 -6
- package/docs/integrations.md +12 -1
- package/docs/services.md +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.0](https://github.com/AksharP5/cohall/compare/v0.7.0...v0.8.0) (2026-09-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **doctor:** verify MCP server exposes tools ([#89](https://github.com/AksharP5/cohall/issues/89)) ([bee2abc](https://github.com/AksharP5/cohall/commit/bee2abcf64bd5715a88c560d07b8515455cd90d1))
|
|
9
|
+
|
|
10
|
+
## [0.7.0](https://github.com/AksharP5/cohall/compare/v0.6.2...v0.7.0) (2026-09-26)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **delegation:** exchange bounded task files ([#86](https://github.com/AksharP5/cohall/issues/86)) ([8a2f808](https://github.com/AksharP5/cohall/commit/8a2f80841d52a189736a17b991277eaf0c267f23))
|
|
16
|
+
* **tasks:** surface completed work in a client inbox ([#84](https://github.com/AksharP5/cohall/issues/84)) ([a7a367f](https://github.com/AksharP5/cohall/commit/a7a367ff1ffcf9aa77d971d8f83d419154bbb656))
|
|
17
|
+
|
|
3
18
|
## [0.6.2](https://github.com/AksharP5/cohall/compare/v0.6.1...v0.6.2) (2026-09-24)
|
|
4
19
|
|
|
5
20
|
|
package/README.md
CHANGED
|
@@ -197,6 +197,47 @@ npx -y @akshar5/cohall wait <task-id> --timeout 1800
|
|
|
197
197
|
npx -y @akshar5/cohall trace <task-id> --follow
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
+
Completed tasks also appear in the sending client's inbox. This covers queued
|
|
201
|
+
work and tasks that finish after a wait times out:
|
|
202
|
+
|
|
203
|
+
```bash
|
|
204
|
+
npx -y @akshar5/cohall inbox
|
|
205
|
+
npx -y @akshar5/cohall status <task-id>
|
|
206
|
+
npx -y @akshar5/cohall inbox ack <task-id>
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
The inbox shows short previews; `status` returns the full result. Acknowledge a
|
|
210
|
+
task after handling it. Synchronous `delegate` calls acknowledge their own
|
|
211
|
+
results automatically. The inbox shows up to 20 oldest entries and sets
|
|
212
|
+
`hasMore` when more are waiting; acknowledge handled entries to reveal the rest.
|
|
213
|
+
Each client credential has its own inbox, including
|
|
214
|
+
client-only pairings. The relay keeps at most 1,000 completed tasks by default,
|
|
215
|
+
so an old unacknowledged result can leave the inbox when history is pruned.
|
|
216
|
+
Tasks created before the inbox was added have no inbox entry.
|
|
217
|
+
|
|
218
|
+
Attach up to two explicit files to a coding task. Each file may be up to 256 KiB.
|
|
219
|
+
The target receives them as temporary files and can return up to two files by
|
|
220
|
+
writing them to the output directory named in its task prompt. List task files
|
|
221
|
+
or download a file using the task ID:
|
|
222
|
+
|
|
223
|
+
```bash
|
|
224
|
+
cohall delegate --target @macbook --attach ./screenshot.png \
|
|
225
|
+
--prompt 'Inspect the screenshot and return a short report file.'
|
|
226
|
+
cohall attachments <task-id>
|
|
227
|
+
cohall download <task-id> report.txt --output ./report.txt
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
The `delegate` MCP tool accepts `attachment_paths`; `list_task_attachments` and
|
|
231
|
+
`download_task_attachment` provide the same retrieval flow. Downloads require a
|
|
232
|
+
new destination path and never overwrite a local file. When an input and output
|
|
233
|
+
share a name, downloads select the output by default; pass `--direction input`
|
|
234
|
+
(or the MCP `direction` argument) to retrieve the input. File bytes remain on the
|
|
235
|
+
relay until the task is removed by its configured history limit. Upgrade the
|
|
236
|
+
relay and target worker before sending attachments; older workers do not
|
|
237
|
+
advertise attachment support. Named Grok Bots do not support file attachments.
|
|
238
|
+
If a long result and output files exceed the 1 MiB transfer limit, the task
|
|
239
|
+
completes with its text result and a notice that the files were omitted.
|
|
240
|
+
|
|
200
241
|
`--timeout` accepts 5 to 86400 seconds and defaults to 900. It limits how long
|
|
201
242
|
the command waits; the task continues after that. Invalid timeout values are
|
|
202
243
|
rejected before any work is sent, including with `--no-wait`.
|
|
@@ -217,13 +258,22 @@ through the local Grok Bot gateway on their computer. It uses each Bot's current
|
|
|
217
258
|
conversation, tools, and permissions. Grok Bot remains the agent responding;
|
|
218
259
|
Codex is a separate provider that the Bot can delegate to.
|
|
219
260
|
|
|
220
|
-
|
|
221
|
-
|
|
261
|
+
For a new computer, follow [Grok Bot setup](docs/grok-bot.md). It covers
|
|
262
|
+
Tailscale access, the suggested `tag:grokbot` identity, secure pairing, gateway
|
|
263
|
+
configuration, and recovery on hosts without systemd. Pair the computer once;
|
|
264
|
+
its Cohall worker discovers every named Bot there. Tailscale policies can
|
|
265
|
+
select the computer by its tag; Cohall does not require one.
|
|
266
|
+
|
|
267
|
+
On an already paired Grok Bot computer, configure its actual gateway file and
|
|
268
|
+
restart the Cohall worker:
|
|
222
269
|
|
|
223
270
|
```bash
|
|
224
|
-
|
|
271
|
+
test -r "$HOME/agent-data/gateway.json" &&
|
|
272
|
+
cohall configure --grok-gateway "$HOME/agent-data/gateway.json" --providers grok-bot
|
|
225
273
|
```
|
|
226
274
|
|
|
275
|
+
The path is an example; check the file on that computer before using it. Add
|
|
276
|
+
`codex` to the provider list only when Codex is installed and signed in there.
|
|
227
277
|
The path can also be supplied as `COHALL_GROK_GATEWAY`. The gateway credential
|
|
228
278
|
stays on that computer; clients discover Bots through the Cohall relay. Upgrade
|
|
229
279
|
the relay, workers, and clients before enabling this provider. Restart
|
|
@@ -363,6 +413,7 @@ configuration.
|
|
|
363
413
|
## Documentation
|
|
364
414
|
|
|
365
415
|
- [Installation, pairing, providers, and upgrades](docs/install.md)
|
|
416
|
+
- [Grok Bot computer setup, Tailscale, and recovery](docs/grok-bot.md)
|
|
366
417
|
- [Agent skill and MCP integrations](docs/integrations.md)
|
|
367
418
|
- [Linux, macOS, and Windows services](docs/services.md)
|
|
368
419
|
- [Contributing](CONTRIBUTING.md)
|