@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/docs/install.md
CHANGED
|
@@ -125,8 +125,8 @@ executable, so it refuses temporary package-runner and source-checkout paths.
|
|
|
125
125
|
|
|
126
126
|
## Providers
|
|
127
127
|
|
|
128
|
-
Target devices advertise
|
|
129
|
-
|
|
128
|
+
Target devices advertise installed coding providers. Authentication is checked
|
|
129
|
+
when delegated work starts.
|
|
130
130
|
|
|
131
131
|
| Provider | Required command | Session continuation |
|
|
132
132
|
| ----------- | ---------------- | ------------------------ |
|
|
@@ -134,6 +134,13 @@ checked when delegated work starts.
|
|
|
134
134
|
| Claude Code | `claude` | `claude --resume` |
|
|
135
135
|
| OpenCode | `opencode` | `opencode run --session` |
|
|
136
136
|
|
|
137
|
+
The experimental `grok-bot` provider connects to named Bots through their
|
|
138
|
+
computer's local gateway. Configure it with `cohall configure --grok-gateway
|
|
139
|
+
<absolute-path> --providers codex,grok-bot` and restart the worker. See
|
|
140
|
+
[Grok Bot setup and messaging](../README.md#talk-to-your-grok-bots) for discovery,
|
|
141
|
+
callbacks, and upgrade order. Bot model selection and permissions remain with
|
|
142
|
+
Grok Bot.
|
|
143
|
+
|
|
137
144
|
Limit a device to providers configured for that user:
|
|
138
145
|
|
|
139
146
|
```bash
|
|
@@ -144,7 +151,7 @@ cohall configure --providers auto
|
|
|
144
151
|
## Configuration
|
|
145
152
|
|
|
146
153
|
`cohall config` shows stored configuration without tokens. `cohall configure`
|
|
147
|
-
changes the device name, workspace roots, providers, model, sandbox, or relay
|
|
154
|
+
changes the device name, workspace roots, providers, Grok gateway path, model, sandbox, or relay
|
|
148
155
|
for a fresh pairing. Use `cohall relay use <url>` when moving an existing relay;
|
|
149
156
|
it preserves credentials only after verifying them at the restored address.
|
|
150
157
|
Non-loopback HTTP is refused unless `--allow-http` explicitly confirms that an
|
|
@@ -178,6 +185,8 @@ Environment variables override stored values:
|
|
|
178
185
|
| `COHALL_MODEL` | Target provider model override |
|
|
179
186
|
| `COHALL_SANDBOX` | Codex sandbox override |
|
|
180
187
|
| `COHALL_THREAD_ID` | Inherited thread for nested delegation |
|
|
188
|
+
| `COHALL_TASK_ID` | Inherited parent task for nested delegation |
|
|
189
|
+
| `COHALL_GROK_GATEWAY` | Local Grok Bot gateway discovery file |
|
|
181
190
|
| `COHALL_DATA_DIR` | Relay database and owner-token directory |
|
|
182
191
|
| `COHALL_RELAY_HOST` / `COHALL_RELAY_PORT` | Relay listener |
|
|
183
192
|
| `COHALL_RELAY_ALLOW_REMOTE` | Explicit non-loopback binding opt-in |
|
|
@@ -206,6 +215,17 @@ plan, or `--no-restart` to leave services pending a manual restart. Back up a
|
|
|
206
215
|
production relay's data directory before an upgrade because SQLite migrations
|
|
207
216
|
run in place.
|
|
208
217
|
|
|
218
|
+
An exact version already installed on disk skips package installation and still
|
|
219
|
+
restarts active services. Dry runs and failed installations preserve restart
|
|
220
|
+
recovery state. A new explicit version takes precedence over an older recovery
|
|
221
|
+
record.
|
|
222
|
+
|
|
223
|
+
Upgrade tools use the first PATH candidate that passes ownership and permission
|
|
224
|
+
checks. Unsafe candidates are skipped; an explicit executable path must pass
|
|
225
|
+
those checks itself. Linux user namespaces may hide root ownership of fixed OS
|
|
226
|
+
directories, but user-installed executables still require trusted ownership and
|
|
227
|
+
permissions.
|
|
228
|
+
|
|
209
229
|
The relay owner can queue the same built-in upgrade across every registered
|
|
210
230
|
device:
|
|
211
231
|
|
package/docs/integrations.md
CHANGED
|
@@ -20,6 +20,11 @@ This installs the embedded skill into:
|
|
|
20
20
|
Any other harness with shell access can invoke the CLI directly. No Cohall UI
|
|
21
21
|
extension is required.
|
|
22
22
|
|
|
23
|
+
Use `cohall bots` to discover named Grok Bots and `cohall send @BotName` to
|
|
24
|
+
message one. MCP exposes the same discovery through `list_bots`; `delegate`
|
|
25
|
+
infers `grok-bot` from a Bot target. See [Grok Bot setup](../README.md#talk-to-your-grok-bots)
|
|
26
|
+
for the required host gateway and local reply callback.
|
|
27
|
+
|
|
23
28
|
When delegating from a conversation, the sending agent must distill why the user
|
|
24
29
|
is asking, relevant facts and prior findings, constraints, and the intended
|
|
25
30
|
decision into Cohall's `context` field. Cohall cannot read the harness transcript
|