@akshar5/cohall 0.5.6 → 0.6.1
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 +77 -1
- package/bin/cohall.js +1255 -497
- package/bin/cohall.js.map +15 -13
- package/docs/install.md +23 -3
- package/docs/integrations.md +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.6.1](https://github.com/AksharP5/cohall/compare/v0.6.0...v0.6.1) (2026-09-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **bot:** release rejected tasks without waiting six hours ([#67](https://github.com/AksharP5/cohall/issues/67)) ([e0d7a06](https://github.com/AksharP5/cohall/commit/e0d7a06545095c1fc52473b90cbff962dff2fd67))
|
|
9
|
+
* **upgrade:** preserve recovery state and resolve trusted tools ([#66](https://github.com/AksharP5/cohall/issues/66)) ([bccfb18](https://github.com/AksharP5/cohall/commit/bccfb18ccc278fdbc1caede52bdeb70f56d16d81))
|
|
10
|
+
|
|
11
|
+
## [0.6.0](https://github.com/AksharP5/cohall/compare/v0.5.6...v0.6.0) (2026-09-23)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* message Grok Bots across devices ([#64](https://github.com/AksharP5/cohall/issues/64)) ([377ef7c](https://github.com/AksharP5/cohall/commit/377ef7ce3514446c5262fac2f76bebf15405bbe9))
|
|
17
|
+
|
|
3
18
|
## [0.5.6](https://github.com/AksharP5/cohall/compare/v0.5.5...v0.5.6) (2026-08-13)
|
|
4
19
|
|
|
5
20
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ command or connect to a stdio MCP server.
|
|
|
6
6
|
|
|
7
7
|
One npm package provides a durable self-hosted relay, outbound-only device
|
|
8
8
|
workers, a CLI, an installable agent skill, an optional MCP server, and local
|
|
9
|
-
Codex, Claude Code, and OpenCode adapters.
|
|
9
|
+
Codex, Claude Code, and OpenCode adapters, plus an experimental Grok Bot adapter.
|
|
10
10
|
|
|
11
11
|
## How it works
|
|
12
12
|
|
|
@@ -193,6 +193,82 @@ npx -y @akshar5/cohall trace <task-id> --follow
|
|
|
193
193
|
Reuse the returned `thread_id` for follow-ups so the target resumes its provider
|
|
194
194
|
session.
|
|
195
195
|
|
|
196
|
+
## Talk to your Grok Bots
|
|
197
|
+
|
|
198
|
+
The experimental `grok-bot` provider sends messages to existing named Bots
|
|
199
|
+
through the local Grok Bot gateway on their computer. It uses each Bot's current
|
|
200
|
+
conversation, tools, and permissions. Grok Bot remains the agent responding;
|
|
201
|
+
Codex is a separate provider that the Bot can delegate to.
|
|
202
|
+
|
|
203
|
+
On the Grok Bot computer, configure its gateway file and restart the Cohall
|
|
204
|
+
worker:
|
|
205
|
+
|
|
206
|
+
```bash
|
|
207
|
+
cohall configure --grok-gateway "$HOME/sand-data/gateway.json" --providers codex,grok-bot
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
The path can also be supplied as `COHALL_GROK_GATEWAY`. The gateway credential
|
|
211
|
+
stays on that computer; clients discover Bots through the Cohall relay. Upgrade
|
|
212
|
+
the relay, workers, and clients before enabling this provider. Restart
|
|
213
|
+
long-running MCP servers after updating their clients. A worker launched by a
|
|
214
|
+
custom supervisor needs an explicit restart after its package is upgraded.
|
|
215
|
+
The local gateway is
|
|
216
|
+
not a stable public Grok Bot API, so compatibility depends on the installed
|
|
217
|
+
Grok Bot version.
|
|
218
|
+
|
|
219
|
+
From any paired device:
|
|
220
|
+
|
|
221
|
+
```bash
|
|
222
|
+
cohall bots
|
|
223
|
+
cohall send @Research 'Find three useful projects to build this week.'
|
|
224
|
+
cohall send @Writer 'Draft a video outline for a small developer tool.'
|
|
225
|
+
cohall send --thread <returned-thread-id> 'Expand the second idea.'
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Discovery lists every advertised Bot with its ID, host availability, and a
|
|
229
|
+
stable target. Names work when unique. For repeated names, use
|
|
230
|
+
`@device-name/BotName` or the `@device-id/bot-id` target from `cohall bots`.
|
|
231
|
+
Quote targets containing spaces. MCP clients have the equivalent `list_bots`
|
|
232
|
+
and `delegate` tools; the Bot target selects the provider automatically.
|
|
233
|
+
|
|
234
|
+
A Cohall thread records the exchange and lets follow-ups find the same Bot.
|
|
235
|
+
It does not create an isolated Grok Bot conversation: messages sent in the
|
|
236
|
+
Grok Bot app share that Bot's history. Bot tasks use the Bot's own permissions
|
|
237
|
+
and computer context, so omit `--workspace`. Queued Bot tasks can be cancelled;
|
|
238
|
+
active Bot turns must be stopped in Grok Bot because the gateway cannot safely
|
|
239
|
+
cancel a specific Cohall turn.
|
|
240
|
+
|
|
241
|
+
Cohall includes a local callback command in each Bot request. After finishing,
|
|
242
|
+
the Bot hands its result back by running `cohall reply <task-id> --message-file
|
|
243
|
+
<path>` on its computer. The callback also accepts `--message -` for stdin,
|
|
244
|
+
`--message <text>`, or `--error <text>` when the Bot cannot complete the task.
|
|
245
|
+
It records the result locally without relay credentials or transcript scraping.
|
|
246
|
+
The task becomes completed when the worker receives this callback; a reply in
|
|
247
|
+
the Grok Bot chat alone does not complete it. If no callback arrives within six
|
|
248
|
+
hours of the first dispatch, Cohall reports failure. That deadline does not
|
|
249
|
+
stop the Bot's ongoing work.
|
|
250
|
+
|
|
251
|
+
Pending or uncertain prompt acceptance is checked until the gateway confirms
|
|
252
|
+
acceptance or rejection, including after a worker restart. A rejection fails
|
|
253
|
+
the task promptly; gateway outages still allow the local callback to complete
|
|
254
|
+
it. Cohall never resends an uncertain dispatch.
|
|
255
|
+
|
|
256
|
+
Bots can delegate through the installed Cohall CLI, including to Codex on the
|
|
257
|
+
same computer. Link child work to the parent task:
|
|
258
|
+
|
|
259
|
+
```bash
|
|
260
|
+
cohall delegate --target @cloud --provider codex \
|
|
261
|
+
--thread <thread-id> --parent <parent-task-id> \
|
|
262
|
+
--prompt 'Implement the agreed project in the local repository.'
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
Cohall passes the thread and parent task IDs to its spawned CLI agents, and
|
|
266
|
+
includes them in instructions sent to Grok Bots. Tasks for different Bots and
|
|
267
|
+
the computer's CLI worker can run concurrently; work for one Bot runs in order.
|
|
268
|
+
The Grok Bot computer, gateway, and Cohall worker must be running. On computers
|
|
269
|
+
without a startup service, arrange recovery using the host platform's routines;
|
|
270
|
+
Cohall cannot keep a suspended computer awake or survive erased state by itself.
|
|
271
|
+
|
|
196
272
|
## Manage all devices
|
|
197
273
|
|
|
198
274
|
Inspect the whole installation from any paired client:
|