@akshar5/cohall 0.11.3 → 0.12.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 +8 -0
- package/README.md +29 -0
- package/bin/cohall.js +414 -251
- package/bin/cohall.js.map +13 -12
- package/docs/install.md +26 -1
- package/package.json +1 -1
package/docs/install.md
CHANGED
|
@@ -172,9 +172,14 @@ disabled provider fails with an error instead of starting that provider.
|
|
|
172
172
|
## Configuration
|
|
173
173
|
|
|
174
174
|
`cohall config` shows stored configuration without tokens. `cohall configure`
|
|
175
|
-
changes the device name, workspace roots, providers, Grok gateway path, model, sandbox, or relay
|
|
175
|
+
changes the device name, description, workspace roots, providers, Grok gateway path, model, sandbox, or relay
|
|
176
176
|
for a fresh pairing. Use `cohall relay use <url>` when moving an existing relay;
|
|
177
177
|
it preserves credentials only after verifying them at the restored address.
|
|
178
|
+
Use `cohall configure --description 'iOS builds and simulator testing'` to
|
|
179
|
+
advertise a device's specialties, or `--description ''` to clear them. Descriptions
|
|
180
|
+
allow up to 512 characters and appear after restarting the worker on an updated
|
|
181
|
+
relay. They describe the device; advertised providers and workspace roots still
|
|
182
|
+
determine what work it can accept.
|
|
178
183
|
Non-loopback HTTP is refused unless `--allow-http` explicitly confirms that an
|
|
179
184
|
independent private network such as Tailscale encrypts the connection.
|
|
180
185
|
`cohall doctor` checks the effective configuration, relay connection, provider
|
|
@@ -197,6 +202,25 @@ On Linux, `XDG_CONFIG_HOME` and `XDG_DATA_HOME` must be absolute paths. Empty or
|
|
|
197
202
|
relative values use `~/.config` and `~/.local/share` instead. Relay data defaults
|
|
198
203
|
to the `cohall` directory under `XDG_DATA_HOME`; `COHALL_DATA_DIR` overrides it.
|
|
199
204
|
|
|
205
|
+
### Live device status
|
|
206
|
+
|
|
207
|
+
`cohall devices --watch` shows device availability, descriptions, version
|
|
208
|
+
differences, and current task counts. `Input` counts tasks paused for an answer;
|
|
209
|
+
`Active` includes assigned and running tasks. `Oldest` is the oldest queued wait.
|
|
210
|
+
Completed, failed, and cancelled tasks are excluded, as are forgotten devices.
|
|
211
|
+
Descriptions and counts describe all registered devices, not just tasks sent
|
|
212
|
+
by the current client.
|
|
213
|
+
|
|
214
|
+
Refreshes run sequentially every five seconds after the previous request
|
|
215
|
+
finishes. Use `--interval <seconds>` with a whole number from 1 to 300 to change
|
|
216
|
+
the cadence. Ctrl-C or SIGTERM stops the watch and any pending request. A temporary
|
|
217
|
+
relay failure displays an error and retries; authentication failures or an
|
|
218
|
+
unsupported relay end the watch. Upgrade the relay before using this command.
|
|
219
|
+
When stdout is redirected, `--watch` prints one compact JSON snapshot and exits;
|
|
220
|
+
plain `cohall devices` keeps its existing full JSON roster.
|
|
221
|
+
|
|
222
|
+
### Environment variables
|
|
223
|
+
|
|
200
224
|
Environment variables override stored values:
|
|
201
225
|
|
|
202
226
|
| Variable | Purpose |
|
|
@@ -208,6 +232,7 @@ Environment variables override stored values:
|
|
|
208
232
|
| `COHALL_TOKEN` | Relay owner credential |
|
|
209
233
|
| `COHALL_DEVICE_ID` | Stable device ID override |
|
|
210
234
|
| `COHALL_DEVICE_NAME` | Advertised device name |
|
|
235
|
+
| `COHALL_DEVICE_DESCRIPTION` | Advertised device specialties |
|
|
211
236
|
| `COHALL_DEVICE_PROVIDERS` | Provider allowlist or `auto` |
|
|
212
237
|
| `COHALL_DEVICE_WORKSPACES` | Comma-separated workspace roots |
|
|
213
238
|
| `COHALL_DEVICE_WORKSPACES_JSON` | JSON workspace roots; supports commas in paths |
|