@akshar5/cohall 0.12.15 → 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 (32) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +7 -3
  3. package/bin/{chunk-0ajk2xqb.js → chunk-1g070msv.js} +2 -2
  4. package/bin/{chunk-7yrw7mgj.js → chunk-493yyvk1.js} +12 -12
  5. package/bin/{chunk-7yrw7mgj.js.map → chunk-493yyvk1.js.map} +3 -3
  6. package/bin/{chunk-07aet48k.js → chunk-64wa9ewn.js} +29 -13
  7. package/bin/chunk-64wa9ewn.js.map +14 -0
  8. package/bin/{chunk-468xtafr.js → chunk-74r9b64p.js} +18 -15
  9. package/bin/chunk-74r9b64p.js.map +10 -0
  10. package/bin/{chunk-q8a2yv07.js → chunk-bmqppgkt.js} +4 -4
  11. package/bin/{chunk-5gvgk5pb.js → chunk-ccjb19pq.js} +12 -9
  12. package/bin/chunk-ccjb19pq.js.map +13 -0
  13. package/bin/{chunk-g4087sz3.js → chunk-ftwpnc02.js} +1 -1
  14. package/bin/{chunk-9rgw9hk3.js → chunk-htjaf4nz.js} +1 -1
  15. package/bin/{chunk-yger1pfj.js → chunk-kz5zz6an.js} +2 -2
  16. package/bin/{chunk-yger1pfj.js.map → chunk-kz5zz6an.js.map} +1 -1
  17. package/bin/{chunk-kf3vv88y.js → chunk-sfwrp4wh.js} +1 -1
  18. package/bin/{chunk-mmbenn43.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/services.md +4 -3
  23. package/package.json +1 -1
  24. package/bin/chunk-07aet48k.js.map +0 -14
  25. package/bin/chunk-468xtafr.js.map +0 -10
  26. package/bin/chunk-5gvgk5pb.js.map +0 -13
  27. /package/bin/{chunk-0ajk2xqb.js.map → chunk-1g070msv.js.map} +0 -0
  28. /package/bin/{chunk-q8a2yv07.js.map → chunk-bmqppgkt.js.map} +0 -0
  29. /package/bin/{chunk-g4087sz3.js.map → chunk-ftwpnc02.js.map} +0 -0
  30. /package/bin/{chunk-9rgw9hk3.js.map → chunk-htjaf4nz.js.map} +0 -0
  31. /package/bin/{chunk-kf3vv88y.js.map → chunk-sfwrp4wh.js.map} +0 -0
  32. /package/bin/{chunk-mmbenn43.js.map → chunk-z33xa36t.js.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
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
+
3
21
  ## [0.12.15](https://github.com/AksharP5/cohall/compare/v0.12.14...v0.12.15) (2026-11-23)
4
22
 
5
23
 
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
@@ -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-kf3vv88y.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-yger1pfj.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-5gvgk5pb.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-g4087sz3.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-mmbenn43.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-yger1pfj.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)) {
@@ -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-0ajk2xqb.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);
@@ -2186,4 +2186,4 @@ export {
2186
2186
  printSkill
2187
2187
  };
2188
2188
 
2189
- //# debugId=0287A04D970E795864756E2164756E21
2189
+ //# debugId=D8194FB86195DA8264756E2164756E21