@akshar5/cohall 0.6.2 → 0.7.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.7.0](https://github.com/AksharP5/cohall/compare/v0.6.2...v0.7.0) (2026-09-26)
4
+
5
+
6
+ ### Features
7
+
8
+ * **delegation:** exchange bounded task files ([#86](https://github.com/AksharP5/cohall/issues/86)) ([8a2f808](https://github.com/AksharP5/cohall/commit/8a2f80841d52a189736a17b991277eaf0c267f23))
9
+ * **tasks:** surface completed work in a client inbox ([#84](https://github.com/AksharP5/cohall/issues/84)) ([a7a367f](https://github.com/AksharP5/cohall/commit/a7a367ff1ffcf9aa77d971d8f83d419154bbb656))
10
+
3
11
  ## [0.6.2](https://github.com/AksharP5/cohall/compare/v0.6.1...v0.6.2) (2026-09-24)
4
12
 
5
13
 
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
- On the Grok Bot computer, configure its gateway file and restart the Cohall
221
- worker:
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
- cohall configure --grok-gateway "$HOME/sand-data/gateway.json" --providers codex,grok-bot
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)