@akshar5/cohall 0.12.14 → 0.12.15
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 +9 -0
- package/README.md +4 -4
- package/bin/{chunk-vphkssrc.js → chunk-07aet48k.js} +5 -4
- package/bin/{chunk-vphkssrc.js.map → chunk-07aet48k.js.map} +3 -3
- package/bin/{chunk-6r5hdtcx.js → chunk-0ajk2xqb.js} +2 -2
- package/bin/{chunk-tc7gfcwe.js → chunk-468xtafr.js} +3 -3
- package/bin/{chunk-kc5awrf4.js → chunk-5gvgk5pb.js} +7 -5
- package/bin/{chunk-kc5awrf4.js.map → chunk-5gvgk5pb.js.map} +3 -3
- package/bin/{chunk-dy48ndmb.js → chunk-7yrw7mgj.js} +8 -8
- package/bin/{chunk-dy48ndmb.js.map → chunk-7yrw7mgj.js.map} +3 -3
- package/bin/{chunk-t16mw8kv.js → chunk-9rgw9hk3.js} +1 -1
- package/bin/{chunk-318jbf1v.js → chunk-g4087sz3.js} +1 -1
- package/bin/{chunk-7vn72ejw.js → chunk-kf3vv88y.js} +1 -1
- package/bin/{chunk-wexfaech.js → chunk-mmbenn43.js} +1 -1
- package/bin/{chunk-89z9anfx.js → chunk-q8a2yv07.js} +4 -4
- package/bin/{chunk-hg08s7y1.js → chunk-yger1pfj.js} +2 -2
- package/bin/{chunk-hg08s7y1.js.map → chunk-yger1pfj.js.map} +1 -1
- package/bin/cohall.js +7 -7
- package/docs/integrations.md +11 -11
- package/package.json +1 -1
- /package/bin/{chunk-6r5hdtcx.js.map → chunk-0ajk2xqb.js.map} +0 -0
- /package/bin/{chunk-tc7gfcwe.js.map → chunk-468xtafr.js.map} +0 -0
- /package/bin/{chunk-t16mw8kv.js.map → chunk-9rgw9hk3.js.map} +0 -0
- /package/bin/{chunk-318jbf1v.js.map → chunk-g4087sz3.js.map} +0 -0
- /package/bin/{chunk-7vn72ejw.js.map → chunk-kf3vv88y.js.map} +0 -0
- /package/bin/{chunk-wexfaech.js.map → chunk-mmbenn43.js.map} +0 -0
- /package/bin/{chunk-89z9anfx.js.map → chunk-q8a2yv07.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.12.15](https://github.com/AksharP5/cohall/compare/v0.12.14...v0.12.15) (2026-11-23)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **cli:** reject repeated task workspace flags ([#314](https://github.com/AksharP5/cohall/issues/314)) ([25d9ee0](https://github.com/AksharP5/cohall/commit/25d9ee0ccc64ad85dc20acd1fe73f3440464299c))
|
|
9
|
+
* **providers:** keep recovered results within the byte limit ([#315](https://github.com/AksharP5/cohall/issues/315)) ([6a5dad0](https://github.com/AksharP5/cohall/commit/6a5dad036e0a71aef6a923f97666a980a392f0fd))
|
|
10
|
+
* **relay:** settle undispatched clarification turns offline ([#313](https://github.com/AksharP5/cohall/issues/313)) ([9cc59d8](https://github.com/AksharP5/cohall/commit/9cc59d880426ed9286c007c0ccaa0a98fcccf0d7))
|
|
11
|
+
|
|
3
12
|
## [0.12.14](https://github.com/AksharP5/cohall/compare/v0.12.13...v0.12.14) (2026-11-10)
|
|
4
13
|
|
|
5
14
|
|
package/README.md
CHANGED
|
@@ -303,10 +303,10 @@ rejected before any work is sent, including with `--no-wait`.
|
|
|
303
303
|
To stop coding work at a fixed time, pass `--deadline <UTC-ISO-timestamp>` to
|
|
304
304
|
`delegate`, or `deadline` to the MCP tool. The future deadline is saved on the
|
|
305
305
|
task and stays unchanged through retries and clarification. Expired tasks fail
|
|
306
|
-
with `Task deadline exceeded`.
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
306
|
+
with `Task deadline exceeded`. Undispatched turns fail on the relay. Tasks that
|
|
307
|
+
may have reached a worker stay `cancelling` until it confirms termination,
|
|
308
|
+
including after a disconnect. Upgrade the requester, relay, and worker before
|
|
309
|
+
using deadlines. Named Grok Bots do not support them.
|
|
310
310
|
See [task deadlines](docs/integrations.md#task-deadlines) for details.
|
|
311
311
|
|
|
312
312
|
Reuse the returned `thread_id` for follow-ups so the target resumes its provider
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
import {
|
|
66
66
|
__export,
|
|
67
67
|
version
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-yger1pfj.js";
|
|
69
69
|
|
|
70
70
|
// apps/relay/src/main.ts
|
|
71
71
|
import { Effect as Effect3, ManagedRuntime, Schema as Schema3, Schedule } from "effect";
|
|
@@ -1273,10 +1273,11 @@ var makeService = (db, retainedTerminalTasks = 1000) => {
|
|
|
1273
1273
|
try: () => db.query("SELECT 1 FROM tasks WHERE id = ? AND dispatched_at IS NOT NULL").get(taskId) !== null,
|
|
1274
1274
|
catch: operationError("RelayStore.hasDispatchEvidence")
|
|
1275
1275
|
}));
|
|
1276
|
+
const isUndispatchedTurn = (task, dispatched) => task.status === "queued" && !dispatched && (task.provider === "grok-bot" || task.clarifications?.at(-1)?.answer !== undefined || task.runId === undefined && task.startedAt === undefined);
|
|
1276
1277
|
const expireTask = Effect2.fn("RelayStore.expireTask")(function* (task) {
|
|
1277
1278
|
if (!taskDeadlinePassed(task) || ["cancelling", "completed", "failed", "cancelled"].includes(task.status))
|
|
1278
1279
|
return task;
|
|
1279
|
-
const neverDispatched = task.status === "queued" && task
|
|
1280
|
+
const neverDispatched = task.status === "queued" && isUndispatchedTurn(task, yield* hasDispatchEvidence(task.id));
|
|
1280
1281
|
return yield* transition(task.id, [task.status], {
|
|
1281
1282
|
status: neverDispatched ? "failed" : "cancelling",
|
|
1282
1283
|
error: taskDeadlineError,
|
|
@@ -1584,7 +1585,7 @@ var makeService = (db, retainedTerminalTasks = 1000) => {
|
|
|
1584
1585
|
return current;
|
|
1585
1586
|
}
|
|
1586
1587
|
const timestamp = now();
|
|
1587
|
-
const neverDispatched = current
|
|
1588
|
+
const neverDispatched = isUndispatchedTurn(current, dispatched);
|
|
1588
1589
|
return neverDispatched || current.status === "needs_input" && current.provider === "grok-bot" ? yield* transition(taskId, ["queued", "needs_input"], { status: "cancelled", completedAt: timestamp }, { kind: "cancelled", detail: "Client cancelled the task before dispatch" }) : yield* transition(taskId, ["queued", "assigned", "running", "needs_input"], {
|
|
1589
1590
|
status: "cancelling"
|
|
1590
1591
|
}, { kind: "cancelling", detail: "Client requested task cancellation" });
|
|
@@ -2882,4 +2883,4 @@ export {
|
|
|
2882
2883
|
canDispatchTaskToDevice
|
|
2883
2884
|
};
|
|
2884
2885
|
|
|
2885
|
-
//# debugId=
|
|
2886
|
+
//# debugId=058A0FC5CEFE288D64756E2164756E21
|