@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
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-aj2btss5.js";
|
|
11
11
|
import {
|
|
12
12
|
version
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-yger1pfj.js";
|
|
14
14
|
|
|
15
15
|
// apps/device/src/mcp-host-diagnostics.ts
|
|
16
16
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createMcpHostDiagnostics
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-kf3vv88y.js";
|
|
4
4
|
import {
|
|
5
5
|
acknowledgedTaskResult,
|
|
6
6
|
createDelegation,
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
taskResult,
|
|
10
10
|
threadContext,
|
|
11
11
|
waitForTask
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-g4087sz3.js";
|
|
13
13
|
import {
|
|
14
14
|
exports_src,
|
|
15
15
|
readInputAttachments
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-mmbenn43.js";
|
|
17
17
|
import"./chunk-p493vm5f.js";
|
|
18
18
|
import"./chunk-m82xx6vz.js";
|
|
19
19
|
import {
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./chunk-aj2btss5.js";
|
|
34
34
|
import {
|
|
35
35
|
version
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-yger1pfj.js";
|
|
37
37
|
|
|
38
38
|
// apps/device/src/mcp.ts
|
|
39
39
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -16,8 +16,8 @@ var __export = (target, all) => {
|
|
|
16
16
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
17
17
|
|
|
18
18
|
// packages/protocol/src/version.ts
|
|
19
|
-
var version = "0.12.
|
|
19
|
+
var version = "0.12.15";
|
|
20
20
|
|
|
21
21
|
export { __export, __require, version };
|
|
22
22
|
|
|
23
|
-
//# debugId=
|
|
23
|
+
//# debugId=6B191D536FA6F22F64756E2164756E21
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
"declare const __COHALL_VERSION__: string\nexport const version =\n typeof __COHALL_VERSION__ === \"undefined\" ? \"0.0.0-development\" : __COHALL_VERSION__\n"
|
|
6
6
|
],
|
|
7
7
|
"mappings": ";;;;;;;;;;;;;;;;;;AACO,IAAM,UACuD;",
|
|
8
|
-
"debugId": "
|
|
8
|
+
"debugId": "6B191D536FA6F22F64756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
package/bin/cohall.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
__require,
|
|
4
4
|
version
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-yger1pfj.js";
|
|
6
6
|
|
|
7
7
|
// apps/device/src/help.ts
|
|
8
8
|
var help = `Cohall connects agents running on your own devices.
|
|
@@ -80,14 +80,14 @@ var main = async () => {
|
|
|
80
80
|
throw new Error(`${command} does not accept arguments`);
|
|
81
81
|
}
|
|
82
82
|
if (command === "relay" && commandArguments.length === 0) {
|
|
83
|
-
const { runRelay } = await import("./chunk-
|
|
83
|
+
const { runRelay } = await import("./chunk-07aet48k.js");
|
|
84
84
|
await runRelay();
|
|
85
85
|
return;
|
|
86
86
|
}
|
|
87
87
|
if (command === "device") {
|
|
88
88
|
const { Effect } = await import("effect");
|
|
89
|
-
const { loadDeviceConfiguration } = await import("./chunk-
|
|
90
|
-
const { runDaemon } = await import("./chunk-
|
|
89
|
+
const { loadDeviceConfiguration } = await import("./chunk-9rgw9hk3.js");
|
|
90
|
+
const { runDaemon } = await import("./chunk-468xtafr.js");
|
|
91
91
|
const configuration = await Effect.runPromise(loadDeviceConfiguration);
|
|
92
92
|
const controller = new AbortController;
|
|
93
93
|
const stop = () => controller.abort();
|
|
@@ -106,13 +106,13 @@ var main = async () => {
|
|
|
106
106
|
}
|
|
107
107
|
if (command === "mcp") {
|
|
108
108
|
const { Effect } = await import("effect");
|
|
109
|
-
const { loadClientConfiguration } = await import("./chunk-
|
|
110
|
-
const { runMcp } = await import("./chunk-
|
|
109
|
+
const { loadClientConfiguration } = await import("./chunk-9rgw9hk3.js");
|
|
110
|
+
const { runMcp } = await import("./chunk-q8a2yv07.js");
|
|
111
111
|
const configuration = await Effect.runPromise(loadClientConfiguration);
|
|
112
112
|
await runMcp(configuration);
|
|
113
113
|
return;
|
|
114
114
|
}
|
|
115
|
-
const { runCli } = await import("./chunk-
|
|
115
|
+
const { runCli } = await import("./chunk-7yrw7mgj.js");
|
|
116
116
|
await runCli(command, commandArguments);
|
|
117
117
|
};
|
|
118
118
|
await main().catch((cause) => {
|
package/docs/integrations.md
CHANGED
|
@@ -14,7 +14,8 @@ another device to start fresh. Targeted or not, a follow-up without a provider
|
|
|
14
14
|
uses the provider of the thread's latest turn.
|
|
15
15
|
Workspace matching uses the target device's path rules, including Windows drive
|
|
16
16
|
letters and separators. The worker validates workspace access before starting
|
|
17
|
-
the task.
|
|
17
|
+
the task. Pass a single `--workspace` to `send` or `delegate`. During device
|
|
18
|
+
setup, repeat `--workspace` to configure multiple allowed roots.
|
|
18
19
|
|
|
19
20
|
CLI prompt and context files are limited to 128 KiB each. Message files allow
|
|
20
21
|
512 KiB and at most 131072 characters. Cohall enforces these limits while reading,
|
|
@@ -121,10 +122,10 @@ provider session when available. Answered questions are included in the resumed
|
|
|
121
122
|
prompt, including after a restart. An offline target waits in the queue. Each
|
|
122
123
|
task permits ten questions; each question and answer must be nonblank and at most
|
|
123
124
|
4096 UTF-8 bytes. Cancel a paused task with `cohall cancel <task-id>`.
|
|
124
|
-
|
|
125
|
-
have reached a worker stay `cancelling` until
|
|
126
|
-
tasks requeued after a disconnect and paused
|
|
127
|
-
the cancellation after reconnecting.
|
|
125
|
+
Undispatched turns cancel immediately, including when a clarification answer is
|
|
126
|
+
still queued. Coding tasks that may have reached a worker stay `cancelling` until
|
|
127
|
+
it confirms termination, including tasks requeued after a disconnect and paused
|
|
128
|
+
tasks. An offline worker acknowledges the cancellation after reconnecting.
|
|
128
129
|
|
|
129
130
|
The assigned task, including its prompt, context, and clarification history,
|
|
130
131
|
must fit the 1 MiB transfer limit. Oversized assignments fail with an explicit
|
|
@@ -160,12 +161,11 @@ traces use `expiresAt`. Omit the field for work without a deadline.
|
|
|
160
161
|
The deadline covers queueing, execution, and time awaiting clarification.
|
|
161
162
|
Coding tasks delegated from it inherit the deadline unless they set an earlier
|
|
162
163
|
one. Restarting or resuming a task keeps its original deadline. An expired task
|
|
163
|
-
fails with `Task deadline exceeded`.
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
finishes as `cancelled`.
|
|
164
|
+
fails with `Task deadline exceeded`. Undispatched turns fail on the relay. Tasks
|
|
165
|
+
that may have reached a worker stay `cancelling` until it confirms termination.
|
|
166
|
+
An offline worker acknowledges after reconnecting; its local timer stops active
|
|
167
|
+
coding work even while disconnected. A manual cancellation requested before the
|
|
168
|
+
deadline still finishes as `cancelled`.
|
|
169
169
|
|
|
170
170
|
Upgrade the requester, relay, and target worker before using deadlines. Cohall
|
|
171
171
|
rejects older relays and targets that do not advertise deadline support. Saved
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|