@akshar5/cohall 0.12.14 → 0.12.16

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +11 -7
  3. package/bin/{chunk-6r5hdtcx.js → chunk-1g070msv.js} +2 -2
  4. package/bin/{chunk-dy48ndmb.js → chunk-493yyvk1.js} +14 -14
  5. package/bin/{chunk-dy48ndmb.js.map → chunk-493yyvk1.js.map} +3 -3
  6. package/bin/{chunk-vphkssrc.js → chunk-64wa9ewn.js} +32 -15
  7. package/bin/chunk-64wa9ewn.js.map +14 -0
  8. package/bin/{chunk-tc7gfcwe.js → chunk-74r9b64p.js} +18 -15
  9. package/bin/chunk-74r9b64p.js.map +10 -0
  10. package/bin/{chunk-89z9anfx.js → chunk-bmqppgkt.js} +4 -4
  11. package/bin/{chunk-kc5awrf4.js → chunk-ccjb19pq.js} +18 -13
  12. package/bin/chunk-ccjb19pq.js.map +13 -0
  13. package/bin/{chunk-318jbf1v.js → chunk-ftwpnc02.js} +1 -1
  14. package/bin/{chunk-t16mw8kv.js → chunk-htjaf4nz.js} +1 -1
  15. package/bin/{chunk-hg08s7y1.js → chunk-kz5zz6an.js} +2 -2
  16. package/bin/{chunk-hg08s7y1.js.map → chunk-kz5zz6an.js.map} +1 -1
  17. package/bin/{chunk-7vn72ejw.js → chunk-sfwrp4wh.js} +1 -1
  18. package/bin/{chunk-wexfaech.js → chunk-z33xa36t.js} +1 -1
  19. package/bin/cohall.js +13 -11
  20. package/bin/cohall.js.map +3 -3
  21. package/docs/install.md +5 -2
  22. package/docs/integrations.md +11 -11
  23. package/docs/services.md +4 -3
  24. package/package.json +1 -1
  25. package/bin/chunk-kc5awrf4.js.map +0 -13
  26. package/bin/chunk-tc7gfcwe.js.map +0 -10
  27. package/bin/chunk-vphkssrc.js.map +0 -14
  28. /package/bin/{chunk-6r5hdtcx.js.map → chunk-1g070msv.js.map} +0 -0
  29. /package/bin/{chunk-89z9anfx.js.map → chunk-bmqppgkt.js.map} +0 -0
  30. /package/bin/{chunk-318jbf1v.js.map → chunk-ftwpnc02.js.map} +0 -0
  31. /package/bin/{chunk-t16mw8kv.js.map → chunk-htjaf4nz.js.map} +0 -0
  32. /package/bin/{chunk-7vn72ejw.js.map → chunk-sfwrp4wh.js.map} +0 -0
  33. /package/bin/{chunk-wexfaech.js.map → chunk-z33xa36t.js.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.12.16](https://github.com/AksharP5/cohall/compare/v0.12.15...v0.12.16) (2026-11-27)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **cli:** accept positional prompts that begin with a dash ([#334](https://github.com/AksharP5/cohall/issues/334)) ([4eabba2](https://github.com/AksharP5/cohall/commit/4eabba2110212713b8d822f1339b67e5dd62ec76))
9
+ * **cli:** clear the saved model and Grok gateway with empty values ([#326](https://github.com/AksharP5/cohall/issues/326)) ([a800203](https://github.com/AksharP5/cohall/commit/a800203e60f8bfde0e21e7998e6e90cceadadd89))
10
+ * **cli:** show prompt, context, and answer input options in help ([#332](https://github.com/AksharP5/cohall/issues/332)) ([33b84ba](https://github.com/AksharP5/cohall/commit/33b84bacb40dd7a7c0328fc90bf6f489d62035bf))
11
+ * **device:** keep a task's answer when its output files cannot be returned ([#343](https://github.com/AksharP5/cohall/issues/343)) ([08cdb63](https://github.com/AksharP5/cohall/commit/08cdb63a2292c07c6074a0751fc5d0205209a744))
12
+ * **device:** reject relative task workspaces ([#324](https://github.com/AksharP5/cohall/issues/324)) ([99b6808](https://github.com/AksharP5/cohall/commit/99b68087364eda44b6d26d87da83bf1bffcc28c9))
13
+ * **providers:** keep Claude Code results when it lists large denied writes ([#320](https://github.com/AksharP5/cohall/issues/320)) ([b5522b4](https://github.com/AksharP5/cohall/commit/b5522b4b24e0befb92259329c85a357c474d1fa2))
14
+ * **providers:** show Claude Code's own explanation when a task fails ([#322](https://github.com/AksharP5/cohall/issues/322)) ([912083e](https://github.com/AksharP5/cohall/commit/912083ea869bfe4cf3f00de70f9657168e6966c6))
15
+ * **relay:** explain why an unfinished task cannot be acknowledged ([#341](https://github.com/AksharP5/cohall/issues/341)) ([da7e412](https://github.com/AksharP5/cohall/commit/da7e412a974c7b666c90a407a72cd4e380770247))
16
+ * **relay:** fail deadline tasks the worker stops a moment early ([#330](https://github.com/AksharP5/cohall/issues/330)) ([605cd77](https://github.com/AksharP5/cohall/commit/605cd77ef034c4428c915c87216d1fec5b128217))
17
+ * **relay:** let the owner forget a lost worker with cancelled work ([#337](https://github.com/AksharP5/cohall/issues/337)) ([6178504](https://github.com/AksharP5/cohall/commit/617850456aca902315901c80c260156342cd9059))
18
+ * **relay:** route provider-specific follow-ups to that provider's thread device ([#328](https://github.com/AksharP5/cohall/issues/328)) ([85e7670](https://github.com/AksharP5/cohall/commit/85e76707efaa69e225260c6dff2021d83838ba59))
19
+ * **upgrade:** install newer releases after a failed service restart ([#318](https://github.com/AksharP5/cohall/issues/318)) ([4e09db3](https://github.com/AksharP5/cohall/commit/4e09db343b5da9a7acd5649d4b2d9f7a6a047374))
20
+
21
+ ## [0.12.15](https://github.com/AksharP5/cohall/compare/v0.12.14...v0.12.15) (2026-11-23)
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * **cli:** reject repeated task workspace flags ([#314](https://github.com/AksharP5/cohall/issues/314)) ([25d9ee0](https://github.com/AksharP5/cohall/commit/25d9ee0ccc64ad85dc20acd1fe73f3440464299c))
27
+ * **providers:** keep recovered results within the byte limit ([#315](https://github.com/AksharP5/cohall/issues/315)) ([6a5dad0](https://github.com/AksharP5/cohall/commit/6a5dad036e0a71aef6a923f97666a980a392f0fd))
28
+ * **relay:** settle undispatched clarification turns offline ([#313](https://github.com/AksharP5/cohall/issues/313)) ([9cc59d8](https://github.com/AksharP5/cohall/commit/9cc59d880426ed9286c007c0ccaa0a98fcccf0d7))
29
+
3
30
  ## [0.12.14](https://github.com/AksharP5/cohall/compare/v0.12.13...v0.12.14) (2026-11-10)
4
31
 
5
32
 
package/README.md CHANGED
@@ -286,8 +286,10 @@ share a name, downloads select the output by default; pass `--direction input`
286
286
  relay until the task is removed by its configured history limit. Upgrade the
287
287
  relay and target worker before sending attachments; older workers do not
288
288
  advertise attachment support. Named Grok Bots do not support file attachments.
289
- If a long result and output files exceed the 1 MiB transfer limit, the task
290
- completes with its text result and a notice that the files were omitted.
289
+ If a long result and output files exceed the 1 MiB transfer limit, or the output
290
+ directory holds files Cohall cannot return (more than two, empty, oversized, or
291
+ not regular files), the task completes with its text result and a notice that
292
+ the files were omitted.
291
293
  Provider text results must fit 128 KiB. Codex and OpenCode JSON events are capped
292
294
  at 1 MiB each; retained OpenCode message parts use the same bound. If an event
293
295
  is discarded at that limit, the provider must return
@@ -303,10 +305,10 @@ rejected before any work is sent, including with `--no-wait`.
303
305
  To stop coding work at a fixed time, pass `--deadline <UTC-ISO-timestamp>` to
304
306
  `delegate`, or `deadline` to the MCP tool. The future deadline is saved on the
305
307
  task and stays unchanged through retries and clarification. Expired tasks fail
306
- with `Task deadline exceeded`. Tasks awaiting their first dispatch fail on the
307
- relay. Tasks that may have reached a worker stay `cancelling` until it confirms
308
- termination, including after a disconnect. Upgrade the requester, relay, and
309
- worker before using deadlines. Named Grok Bots do not support them.
308
+ with `Task deadline exceeded`. Undispatched turns fail on the relay. Tasks that
309
+ may have reached a worker stay `cancelling` until it confirms termination,
310
+ including after a disconnect. Upgrade the requester, relay, and worker before
311
+ using deadlines. Named Grok Bots do not support them.
310
312
  See [task deadlines](docs/integrations.md#task-deadlines) for details.
311
313
 
312
314
  Reuse the returned `thread_id` for follow-ups so the target resumes its provider
@@ -490,7 +492,9 @@ when `latest` is older; an exact `--to` version can intentionally roll back.
490
492
  `cohall upgrades` returns the 50 newest results.
491
493
  Abandonment is an owner recovery action for a permanently unreachable target;
492
494
  it does not interrupt an upgrade that is already executing. Forgetting an
493
- offline device also closes its outstanding maintenance operation.
495
+ offline device also closes its outstanding maintenance operation and finishes
496
+ tasks waiting for it to confirm a cancellation. Cancel its other unfinished tasks
497
+ first; the error lists them.
494
498
 
495
499
  ## Optional MCP
496
500
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readMcpHostDiagnostics
3
- } from "./chunk-7vn72ejw.js";
3
+ } from "./chunk-sfwrp4wh.js";
4
4
  import"./chunk-p493vm5f.js";
5
5
  import {
6
6
  configurationPath
@@ -8,7 +8,7 @@ import {
8
8
  import"./chunk-aj2btss5.js";
9
9
  import {
10
10
  version
11
- } from "./chunk-hg08s7y1.js";
11
+ } from "./chunk-kz5zz6an.js";
12
12
 
13
13
  // apps/device/src/mcp-diagnostics.ts
14
14
  import { Client } from "@modelcontextprotocol/sdk/client/index.js";
@@ -9,7 +9,7 @@ import {
9
9
  trustedExecutable,
10
10
  upgrade,
11
11
  writeBotReply
12
- } from "./chunk-kc5awrf4.js";
12
+ } from "./chunk-ccjb19pq.js";
13
13
  import {
14
14
  acknowledgedTaskResult,
15
15
  createDelegation,
@@ -19,14 +19,14 @@ import {
19
19
  taskResult,
20
20
  threadContext,
21
21
  waitForTask
22
- } from "./chunk-318jbf1v.js";
22
+ } from "./chunk-ftwpnc02.js";
23
23
  import {
24
24
  RelayDecodeError,
25
25
  RelayRequestError,
26
26
  exchangePairing,
27
27
  exports_src,
28
28
  readInputAttachments
29
- } from "./chunk-wexfaech.js";
29
+ } from "./chunk-z33xa36t.js";
30
30
  import {
31
31
  readBoundedFile
32
32
  } from "./chunk-p493vm5f.js";
@@ -70,7 +70,7 @@ import {
70
70
  import {
71
71
  __require,
72
72
  version
73
- } from "./chunk-hg08s7y1.js";
73
+ } from "./chunk-kz5zz6an.js";
74
74
 
75
75
  // apps/device/src/cli.ts
76
76
  import { Effect as Effect4, Schema as Schema3 } from "effect";
@@ -1336,12 +1336,12 @@ var parseArguments = (values) => {
1336
1336
  positionals.push(...values.slice(index + 1));
1337
1337
  break;
1338
1338
  }
1339
- if (!argument.startsWith("-")) {
1339
+ const separator = argument.indexOf("=");
1340
+ const rawName = separator === -1 ? argument : argument.slice(0, separator);
1341
+ if (!argument.startsWith("-") || /\s/.test(rawName)) {
1340
1342
  positionals.push(argument);
1341
1343
  continue;
1342
1344
  }
1343
- const separator = argument.indexOf("=");
1344
- const rawName = separator === -1 ? argument : argument.slice(0, separator);
1345
1345
  const inline = separator === -1 ? undefined : argument.slice(separator + 1);
1346
1346
  const name = optionName(rawName);
1347
1347
  if (flagOptions.has(name)) {
@@ -1375,7 +1375,7 @@ var values = (arguments_, name) => {
1375
1375
  };
1376
1376
  var option = (arguments_, name) => {
1377
1377
  const found = values(arguments_, name);
1378
- if (found.length > 1 && name !== "workspace") {
1378
+ if (found.length > 1) {
1379
1379
  throw new Error(`--${name} may only be specified once`);
1380
1380
  }
1381
1381
  return found[0];
@@ -1775,9 +1775,9 @@ var runCli = async (command, raw) => {
1775
1775
  const workspaces = supplied.length === 0 ? existing?.workspaces ?? [] : await Effect4.runPromise(parseWorkspaces("", JSON.stringify(supplied)));
1776
1776
  const sandbox = option(arguments_, "sandbox");
1777
1777
  const deviceDescription = (option(arguments_, "description") ?? existing?.deviceDescription)?.trim();
1778
- const model = option(arguments_, "model") ?? existing?.model;
1779
- const gatewayInput = option(arguments_, "grok-gateway") ?? existing?.grokGateway;
1780
- const grokGateway = gatewayInput === undefined ? undefined : resolve2(gatewayInput);
1778
+ const model = (option(arguments_, "model") ?? existing?.model)?.trim() || undefined;
1779
+ const gatewayInput = (option(arguments_, "grok-gateway") ?? existing?.grokGateway)?.trim();
1780
+ const grokGateway = gatewayInput ? resolve2(gatewayInput) : undefined;
1781
1781
  const providerInput = option(arguments_, "providers");
1782
1782
  const providers = providerInput === undefined ? existing?.providers : providerInput === "auto" ? undefined : parseProviders(providerInput);
1783
1783
  const configuration2 = StoredConfiguration.make({
@@ -1845,7 +1845,7 @@ var runCli = async (command, raw) => {
1845
1845
  print(allDeviceHealth(await Effect4.runPromise(relay2.devices()), version));
1846
1846
  return;
1847
1847
  }
1848
- const { checkMcp, readMcpHostDiagnostics } = await import("./chunk-6r5hdtcx.js");
1848
+ const { checkMcp, readMcpHostDiagnostics } = await import("./chunk-1g070msv.js");
1849
1849
  const configuration2 = await readStoredConfiguration();
1850
1850
  const relayUrl = normalizeRelayUrl(process.env.COHALL_RELAY_URL ?? configuration2?.relayUrl ?? "http://127.0.0.1:8787");
1851
1851
  const storedCredentials = credentialsForRelay(configuration2, relayUrl);
@@ -2066,6 +2066,7 @@ var runCli = async (command, raw) => {
2066
2066
  "timeout",
2067
2067
  "workspace"
2068
2068
  ]);
2069
+ const workspace = option(arguments_, "workspace");
2069
2070
  const waitSeconds = timeout(arguments_);
2070
2071
  const positionalTarget = command === "send" && arguments_.positionals[0]?.startsWith("@") ? arguments_.positionals[0] : undefined;
2071
2072
  const positionals = positionalTarget === undefined ? arguments_.positionals : arguments_.positionals.slice(1);
@@ -2087,7 +2088,6 @@ var runCli = async (command, raw) => {
2087
2088
  const attachments = await readInputAttachments(values(arguments_, "attach"));
2088
2089
  const target = positionalTarget ?? option(arguments_, "target");
2089
2090
  const thread = option(arguments_, "thread");
2090
- const workspace = option(arguments_, "workspace");
2091
2091
  const provider = option(arguments_, "provider");
2092
2092
  const parent = option(arguments_, "parent");
2093
2093
  const deadline = option(arguments_, "deadline");
@@ -2186,4 +2186,4 @@ export {
2186
2186
  printSkill
2187
2187
  };
2188
2188
 
2189
- //# debugId=DA9ED6E6CBA05B3364756E2164756E21
2189
+ //# debugId=D8194FB86195DA8264756E2164756E21