tryharness 0.7.66 → 0.7.67
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/cli.mjs +12 -36
- package/lib/connection.mjs +39 -0
- package/lib/directLink.mjs +30 -16
- package/lib/ownMachines.mjs +41 -0
- package/lib/store.mjs +2 -2
- package/lib/swarm.mjs +3 -1
- package/lib/threadView.mjs +3 -1
- package/npm-shrinkwrap.json +14 -14
- package/package.json +4 -4
- package/release.json +11 -10
package/cli.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { spawn, spawnSync } from "node:child_process";
|
|
3
|
+
import { validateConnection as checkConnection } from "./lib/connection.mjs";
|
|
3
4
|
import fs from "node:fs";
|
|
4
5
|
import os from "node:os";
|
|
5
6
|
import path from "node:path";
|
|
@@ -125,36 +126,6 @@ function origin() {
|
|
|
125
126
|
).replace(/\/$/, "");
|
|
126
127
|
}
|
|
127
128
|
|
|
128
|
-
async function validateConnection(config) {
|
|
129
|
-
if (!config.origin || !config.token) return false;
|
|
130
|
-
try {
|
|
131
|
-
const response = await fetch(
|
|
132
|
-
String(config.origin).replace(/\/$/, "") + "/api/mcp",
|
|
133
|
-
{
|
|
134
|
-
method: "POST",
|
|
135
|
-
headers: {
|
|
136
|
-
"content-type": "application/json",
|
|
137
|
-
authorization: "Bearer " + config.token,
|
|
138
|
-
},
|
|
139
|
-
body: JSON.stringify({
|
|
140
|
-
jsonrpc: "2.0",
|
|
141
|
-
id: 1,
|
|
142
|
-
method: "initialize",
|
|
143
|
-
params: {
|
|
144
|
-
protocolVersion: "2025-06-18",
|
|
145
|
-
capabilities: {},
|
|
146
|
-
clientInfo: { name: "tryharness", version: VERSION },
|
|
147
|
-
},
|
|
148
|
-
}),
|
|
149
|
-
signal: AbortSignal.timeout(10_000),
|
|
150
|
-
}
|
|
151
|
-
);
|
|
152
|
-
return response.ok && !(await response.json().catch(() => null))?.error;
|
|
153
|
-
} catch {
|
|
154
|
-
return false;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
129
|
// Whether a browser can open here: not over SSH, and on Linux only with a display.
|
|
159
130
|
const canOpenBrowser = () =>
|
|
160
131
|
!process.env.SSH_CONNECTION &&
|
|
@@ -272,14 +243,19 @@ async function connect() {
|
|
|
272
243
|
|
|
273
244
|
const pairOrigin = origin();
|
|
274
245
|
let config = readJson(paths.config, {});
|
|
275
|
-
const
|
|
276
|
-
!has("--reconnect") &&
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
246
|
+
const connection =
|
|
247
|
+
!has("--reconnect") && config.origin === pairOrigin
|
|
248
|
+
? await checkConnection(config, { version: VERSION })
|
|
249
|
+
: "rejected";
|
|
250
|
+
const reusable = connection !== "rejected";
|
|
251
|
+
if (connection === "ok")
|
|
280
252
|
ui.success(
|
|
281
253
|
`Connected to Harness ${pc.dim(`· ${new URL(pairOrigin).host}`)}`
|
|
282
254
|
);
|
|
255
|
+
else if (connection === "unreachable")
|
|
256
|
+
ui.warn(
|
|
257
|
+
`Harness did not answer just now, so this computer keeps its connection ${pc.dim(`· ${new URL(pairOrigin).host}`)}. If it really stopped working: ${relayCommand()} --reconnect`
|
|
258
|
+
);
|
|
283
259
|
let setupCode = null;
|
|
284
260
|
let linkOffered = false;
|
|
285
261
|
if (!reusable) {
|
|
@@ -696,7 +672,7 @@ async function doctor() {
|
|
|
696
672
|
console.log(`tryharness ${VERSION}`);
|
|
697
673
|
const config = readJson(paths.config, {});
|
|
698
674
|
console.log(
|
|
699
|
-
`pairing: ${
|
|
675
|
+
`pairing: ${{ ok: "valid", rejected: "missing or invalid", unreachable: "kept (Harness did not answer)" }[await checkConnection(config, { version: VERSION })]}`
|
|
700
676
|
);
|
|
701
677
|
const service = serviceInfo();
|
|
702
678
|
console.log(
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Whether this computer's saved connection still works: "ok", "rejected" when Harness refuses its token (setup pairs
|
|
2
|
+
// again), or "unreachable" when Harness did not answer at all (a network blip, a timeout, a server error). An
|
|
3
|
+
// unreachable Harness keeps the connection: setup once opened the Connect page because a fetch failed for a moment
|
|
4
|
+
// (owner, October 28: "why did i get another connect prompt").
|
|
5
|
+
export async function validateConnection(
|
|
6
|
+
config,
|
|
7
|
+
{ version, fetchImpl = fetch } = {}
|
|
8
|
+
) {
|
|
9
|
+
if (!config.origin || !config.token) return "rejected";
|
|
10
|
+
let response;
|
|
11
|
+
try {
|
|
12
|
+
response = await fetchImpl(
|
|
13
|
+
String(config.origin).replace(/\/$/, "") + "/api/mcp",
|
|
14
|
+
{
|
|
15
|
+
method: "POST",
|
|
16
|
+
headers: {
|
|
17
|
+
"content-type": "application/json",
|
|
18
|
+
authorization: "Bearer " + config.token,
|
|
19
|
+
},
|
|
20
|
+
body: JSON.stringify({
|
|
21
|
+
jsonrpc: "2.0",
|
|
22
|
+
id: 1,
|
|
23
|
+
method: "initialize",
|
|
24
|
+
params: {
|
|
25
|
+
protocolVersion: "2025-06-18",
|
|
26
|
+
capabilities: {},
|
|
27
|
+
clientInfo: { name: "tryharness", version },
|
|
28
|
+
},
|
|
29
|
+
}),
|
|
30
|
+
signal: AbortSignal.timeout(10_000),
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
} catch {
|
|
34
|
+
return "unreachable";
|
|
35
|
+
}
|
|
36
|
+
if (response.status === 401 || response.status === 403) return "rejected";
|
|
37
|
+
if (!response.ok) return "unreachable";
|
|
38
|
+
return (await response.json().catch(() => null))?.error ? "rejected" : "ok";
|
|
39
|
+
}
|
package/lib/directLink.mjs
CHANGED
|
@@ -14,8 +14,9 @@ import { ASK_TIMEOUT_MS } from "./bridge.mjs";
|
|
|
14
14
|
// for windows, pages of the board, every one still sealed with the pair's key. The link is a second road, not a
|
|
15
15
|
// second set of rules.
|
|
16
16
|
// - A worker dials home. A request with no link, or with no answer within the time it has through Harness, gets null
|
|
17
|
-
// and goes through Harness;
|
|
18
|
-
// can freeze for good on some networks:
|
|
17
|
+
// and goes through Harness; the link itself stays. It closes when HyperDHT's keep-alive finds the other side gone,
|
|
18
|
+
// and is dialed again when it is next needed (a connection can freeze for good on some networks:
|
|
19
|
+
// holepunchto/libudx#333). A new link counts once one round trip over it answers.
|
|
19
20
|
|
|
20
21
|
// The public HyperDHT network's own starting points unless the computer is told others (a local test network).
|
|
21
22
|
const bootstrapOf = (value) =>
|
|
@@ -74,8 +75,6 @@ export function createDirectLink({
|
|
|
74
75
|
}
|
|
75
76
|
};
|
|
76
77
|
|
|
77
|
-
const peerIdOf = (peer) =>
|
|
78
|
-
[...peers.entries()].find(([, each]) => each === peer)?.[0] ?? null;
|
|
79
78
|
const peerOfKey = (hex) =>
|
|
80
79
|
[...peers.entries()].find(([, peer]) => peer.key === hex)?.[0] ?? null;
|
|
81
80
|
|
|
@@ -132,7 +131,6 @@ export function createDirectLink({
|
|
|
132
131
|
const before = peer.socket;
|
|
133
132
|
peer.socket = socket;
|
|
134
133
|
peer.verified = verified;
|
|
135
|
-
peer.heardAt = Date.now();
|
|
136
134
|
if (before && before !== socket) {
|
|
137
135
|
release(peer, before);
|
|
138
136
|
before.destroy();
|
|
@@ -142,7 +140,6 @@ export function createDirectLink({
|
|
|
142
140
|
let buffered = "";
|
|
143
141
|
socket.on("data", (chunk) => {
|
|
144
142
|
const current = peers.get(id);
|
|
145
|
-
if (current?.socket === socket) current.heardAt = Date.now();
|
|
146
143
|
buffered += chunk.toString("utf8");
|
|
147
144
|
if (buffered.length > MAX_FRAME_BYTES) return socket.destroy();
|
|
148
145
|
let at;
|
|
@@ -204,7 +201,6 @@ export function createDirectLink({
|
|
|
204
201
|
socket: null,
|
|
205
202
|
pending: new Map(),
|
|
206
203
|
dialing: null,
|
|
207
|
-
heardAt: 0,
|
|
208
204
|
});
|
|
209
205
|
return;
|
|
210
206
|
}
|
|
@@ -297,19 +293,15 @@ export function createDirectLink({
|
|
|
297
293
|
}
|
|
298
294
|
return send(peer, peer.socket, body);
|
|
299
295
|
};
|
|
296
|
+
// One request over the link and its answer; null when none came in time. A slow answer is not a dead link: that one
|
|
297
|
+
// call goes through Harness instead and the link stays (owner, October 28: links to pop-os and MBP-2 were torn down
|
|
298
|
+
// and dialed again about 20 times in 10 minutes, each time one push to a busy computer went 15 s unanswered). The
|
|
299
|
+
// link closes when HyperDHT's own keep-alive finds the other side gone (`close` and `error` in attach).
|
|
300
300
|
const send = (peer, socket, body, waitMs = timeoutMs) => {
|
|
301
|
-
const id = peerIdOf(peer);
|
|
302
301
|
const i = ++sequence;
|
|
303
|
-
const sentAt = Date.now();
|
|
304
302
|
return new Promise((resolve) => {
|
|
305
303
|
const timer = setTimeout(() => {
|
|
306
304
|
peer.pending.delete(i);
|
|
307
|
-
// Nothing at all heard from the other computer for as long as Harness would have taken: the link is dropped and
|
|
308
|
-
// dialed again when next needed. Heard from meanwhile, only this request was slow and the link stays.
|
|
309
|
-
if (peer.socket === socket && peer.heardAt < sentAt) {
|
|
310
|
-
log(`the direct link with ${id} went quiet; going through Harness`);
|
|
311
|
-
socket.destroy();
|
|
312
|
-
}
|
|
313
305
|
resolve(null);
|
|
314
306
|
}, waitMs);
|
|
315
307
|
peer.pending.set(i, { resolve, timer, socket });
|
|
@@ -325,11 +317,33 @@ export function createDirectLink({
|
|
|
325
317
|
at: peer.socket?.rawStream?.remoteHost ?? null,
|
|
326
318
|
}));
|
|
327
319
|
|
|
320
|
+
/**
|
|
321
|
+
* The listener started afresh, the person's computers' keys kept: on home it once stayed unreachable for 30 minutes
|
|
322
|
+
* after a restart (every dial from pop-os HOLEPUNCH_ABORTED) until the daemon restarted again, when both workers
|
|
323
|
+
* linked within seconds (owner, October 28: home restarts its listener). Every link drops and is made again.
|
|
324
|
+
*/
|
|
325
|
+
const restart = async () => {
|
|
326
|
+
for (const peer of peers.values())
|
|
327
|
+
if (peer.socket) {
|
|
328
|
+
const socket = peer.socket;
|
|
329
|
+
release(peer, socket);
|
|
330
|
+
peer.socket = null;
|
|
331
|
+
socket.destroy();
|
|
332
|
+
}
|
|
333
|
+
await server?.close().catch(() => {});
|
|
334
|
+
await node?.destroy().catch(() => {});
|
|
335
|
+
server = null;
|
|
336
|
+
node = null;
|
|
337
|
+
starting = null;
|
|
338
|
+
log("direct links: started the listener again");
|
|
339
|
+
return start();
|
|
340
|
+
};
|
|
341
|
+
|
|
328
342
|
const stop = async () => {
|
|
329
343
|
for (const peer of peers.values()) peer.socket?.destroy();
|
|
330
344
|
await server?.close().catch(() => {});
|
|
331
345
|
await node?.destroy().catch(() => {});
|
|
332
346
|
};
|
|
333
347
|
|
|
334
|
-
return { key, allow, disallow, dial, request, status, stop };
|
|
348
|
+
return { key, allow, disallow, dial, request, status, restart, stop };
|
|
335
349
|
}
|
package/lib/ownMachines.mjs
CHANGED
|
@@ -2659,6 +2659,47 @@ export function createOwnMachines({
|
|
|
2659
2659
|
saveMachine(machine);
|
|
2660
2660
|
}
|
|
2661
2661
|
|
|
2662
|
+
// On home: a computer online through Harness that has not linked directly for UNLINKED_MS, though home admits its
|
|
2663
|
+
// key, gets home's listener started again, at most once every RELINK_EVERY_MS (owner, October 28: the listener once
|
|
2664
|
+
// stayed unreachable for 30 minutes after a restart, and a restart of it was all it needed).
|
|
2665
|
+
const UNLINKED_MS = 2 * 60_000;
|
|
2666
|
+
const RELINK_EVERY_MS = 10 * 60_000;
|
|
2667
|
+
const unlinkedSince = new Map();
|
|
2668
|
+
let relinkedAt = 0;
|
|
2669
|
+
const watchLinks = setInterval(() => {
|
|
2670
|
+
if (!directLink || !isHome()) return;
|
|
2671
|
+
const links = new Map(directLink.status().map((link) => [link.id, link]));
|
|
2672
|
+
const now = Date.now();
|
|
2673
|
+
let stuck = false;
|
|
2674
|
+
for (const sibling of siblings) {
|
|
2675
|
+
const link = links.get(sibling.id);
|
|
2676
|
+
const waiting =
|
|
2677
|
+
sibling.role === "worker" &&
|
|
2678
|
+
sibling.connected &&
|
|
2679
|
+
store.ownMachine(sibling.id) &&
|
|
2680
|
+
link &&
|
|
2681
|
+
!link.linked;
|
|
2682
|
+
if (!waiting) {
|
|
2683
|
+
unlinkedSince.delete(sibling.id);
|
|
2684
|
+
continue;
|
|
2685
|
+
}
|
|
2686
|
+
if (!unlinkedSince.has(sibling.id)) unlinkedSince.set(sibling.id, now);
|
|
2687
|
+
if (now - unlinkedSince.get(sibling.id) >= UNLINKED_MS) stuck = true;
|
|
2688
|
+
}
|
|
2689
|
+
if (!stuck || now - relinkedAt < RELINK_EVERY_MS) return;
|
|
2690
|
+
relinkedAt = now;
|
|
2691
|
+
unlinkedSince.clear();
|
|
2692
|
+
log(
|
|
2693
|
+
"direct links: a computer online through Harness has not linked for 2 min"
|
|
2694
|
+
);
|
|
2695
|
+
void directLink
|
|
2696
|
+
.restart?.()
|
|
2697
|
+
.catch((error) =>
|
|
2698
|
+
log(`direct links: the listener did not start again (${error.message})`)
|
|
2699
|
+
);
|
|
2700
|
+
}, 30_000);
|
|
2701
|
+
watchLinks.unref?.();
|
|
2702
|
+
|
|
2662
2703
|
return {
|
|
2663
2704
|
hello,
|
|
2664
2705
|
adopt,
|
package/lib/store.mjs
CHANGED
|
@@ -1057,7 +1057,7 @@ export function openStore(file) {
|
|
|
1057
1057
|
const written = execute(
|
|
1058
1058
|
"run",
|
|
1059
1059
|
`update board_tasks set run_authorized_by = @agent, run_authorized_at = @now, updated_at = @now, version = version + 1
|
|
1060
|
-
where id = @id and status = 'open' and run_workspace is not null and run_authorized_at is null`,
|
|
1060
|
+
where id = @id and status = 'open' and (run_workspace is not null or (kind = 'wake' and target_machine is not null)) and run_authorized_at is null`,
|
|
1061
1061
|
{ id, agent, now }
|
|
1062
1062
|
);
|
|
1063
1063
|
if (written.changes === 1) return { ok: true, task: this.getTask(id) };
|
|
@@ -2453,7 +2453,7 @@ export function openStore(file) {
|
|
|
2453
2453
|
threadRuns(goalId) {
|
|
2454
2454
|
return execute(
|
|
2455
2455
|
"all",
|
|
2456
|
-
`select id, kind, objective, origin_agent, target_agent, claimed_by, claimed_at, claimed_machine, status, holder, result, failure, session_id, run_workspace, run_authorized_at, usage, run_model, specialty, step, checked, returned, created_at, updated_at, reported_at
|
|
2456
|
+
`select id, kind, objective, origin_agent, target_agent, target_machine, claimed_by, claimed_at, claimed_machine, status, holder, result, failure, session_id, run_workspace, run_authorized_at, usage, run_model, specialty, step, checked, returned, created_at, updated_at, reported_at
|
|
2457
2457
|
from board_tasks where parent_id = ? and kind in ('wake', 'task') order by created_at asc`,
|
|
2458
2458
|
goalId
|
|
2459
2459
|
).map((row) => ({
|
package/lib/swarm.mjs
CHANGED
|
@@ -230,9 +230,11 @@ export function createSwarm({
|
|
|
230
230
|
const usd = Number(value);
|
|
231
231
|
return Number.isFinite(usd) && usd >= 0 ? usd : undefined;
|
|
232
232
|
};
|
|
233
|
+
// A turn on another computer of a thread with no folder runs in that computer's scratch folder (scratch.mjs).
|
|
233
234
|
const awaitingStart = (run) =>
|
|
234
235
|
run.status === "open" &&
|
|
235
|
-
Boolean(run.run_workspace)
|
|
236
|
+
(Boolean(run.run_workspace) ||
|
|
237
|
+
(run.kind === "wake" && Boolean(run.target_machine))) &&
|
|
236
238
|
!run.run_authorized_at;
|
|
237
239
|
const isDir = (folder) =>
|
|
238
240
|
typeof folder === "string" &&
|
package/lib/threadView.mjs
CHANGED
|
@@ -110,9 +110,11 @@ export function createThreadView({
|
|
|
110
110
|
return null;
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
|
+
// A turn on another computer of a thread with no folder runs in that computer's scratch folder (scratch.mjs).
|
|
113
114
|
const awaitingStart = (run) =>
|
|
114
115
|
run.status === "open" &&
|
|
115
|
-
Boolean(run.run_workspace)
|
|
116
|
+
(Boolean(run.run_workspace) ||
|
|
117
|
+
(run.kind === "wake" && Boolean(run.target_machine))) &&
|
|
116
118
|
!run.run_authorized_at;
|
|
117
119
|
// What a run was asked, without the thread's title in front of it.
|
|
118
120
|
const askOf = (run) => {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tryharness",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.67",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "tryharness",
|
|
9
|
-
"version": "0.7.
|
|
9
|
+
"version": "0.7.67",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@agentclientprotocol/sdk": "2.0.0",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"node": ">=18"
|
|
33
33
|
},
|
|
34
34
|
"optionalDependencies": {
|
|
35
|
-
"tryharness-desktop-darwin-arm64": "0.7.
|
|
36
|
-
"tryharness-desktop-darwin-x64": "0.7.
|
|
37
|
-
"tryharness-desktop-linux-x64": "0.7.
|
|
35
|
+
"tryharness-desktop-darwin-arm64": "0.7.67",
|
|
36
|
+
"tryharness-desktop-darwin-x64": "0.7.67",
|
|
37
|
+
"tryharness-desktop-linux-x64": "0.7.67"
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"node_modules/@agentclientprotocol/sdk": {
|
|
@@ -1051,9 +1051,9 @@
|
|
|
1051
1051
|
}
|
|
1052
1052
|
},
|
|
1053
1053
|
"node_modules/tryharness-desktop-darwin-arm64": {
|
|
1054
|
-
"version": "0.7.
|
|
1055
|
-
"resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-arm64/-/tryharness-desktop-darwin-arm64-0.7.
|
|
1056
|
-
"integrity": "sha512-
|
|
1054
|
+
"version": "0.7.67",
|
|
1055
|
+
"resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-arm64/-/tryharness-desktop-darwin-arm64-0.7.67.tgz",
|
|
1056
|
+
"integrity": "sha512-5B03+dHrQ24pWQYs866XxntUEvtruo7wOuoPhyATrixkUn3wF2HG07nFEvG4ik5q2YZ+yWbVxvPBuW6E2wzn0Q==",
|
|
1057
1057
|
"cpu": [
|
|
1058
1058
|
"arm64"
|
|
1059
1059
|
],
|
|
@@ -1064,9 +1064,9 @@
|
|
|
1064
1064
|
]
|
|
1065
1065
|
},
|
|
1066
1066
|
"node_modules/tryharness-desktop-darwin-x64": {
|
|
1067
|
-
"version": "0.7.
|
|
1068
|
-
"resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-x64/-/tryharness-desktop-darwin-x64-0.7.
|
|
1069
|
-
"integrity": "sha512-
|
|
1067
|
+
"version": "0.7.67",
|
|
1068
|
+
"resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-x64/-/tryharness-desktop-darwin-x64-0.7.67.tgz",
|
|
1069
|
+
"integrity": "sha512-axLfr1O3CAISaNqpqnHsszVW3YK+NN+C3NL5plyOTaFYsIHSs9a//c6Zdkklwc3BWKDdmRAG9w+s4ox6XZjaoQ==",
|
|
1070
1070
|
"cpu": [
|
|
1071
1071
|
"x64"
|
|
1072
1072
|
],
|
|
@@ -1077,9 +1077,9 @@
|
|
|
1077
1077
|
]
|
|
1078
1078
|
},
|
|
1079
1079
|
"node_modules/tryharness-desktop-linux-x64": {
|
|
1080
|
-
"version": "0.7.
|
|
1081
|
-
"resolved": "https://registry.npmjs.org/tryharness-desktop-linux-x64/-/tryharness-desktop-linux-x64-0.7.
|
|
1082
|
-
"integrity": "sha512-
|
|
1080
|
+
"version": "0.7.67",
|
|
1081
|
+
"resolved": "https://registry.npmjs.org/tryharness-desktop-linux-x64/-/tryharness-desktop-linux-x64-0.7.67.tgz",
|
|
1082
|
+
"integrity": "sha512-hgDRIdEpXFeaALkgnlRGCMfaQj4scHA3JlTt9FrCKRu7b2Nqh6ttVZhvCyDYIuXwNT/zQhIdWrRsSpfJuSmF6w==",
|
|
1083
1083
|
"cpu": [
|
|
1084
1084
|
"x64"
|
|
1085
1085
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tryharness",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.67",
|
|
4
4
|
"description": "Harness Relay: the daemon that turns the agents on this machine into your personal swarm. Memory, history, and work handed between any of them.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"tryharness": "cli.mjs"
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"zod": "4.6.7"
|
|
49
49
|
},
|
|
50
50
|
"optionalDependencies": {
|
|
51
|
-
"tryharness-desktop-darwin-arm64": "0.7.
|
|
52
|
-
"tryharness-desktop-darwin-x64": "0.7.
|
|
53
|
-
"tryharness-desktop-linux-x64": "0.7.
|
|
51
|
+
"tryharness-desktop-darwin-arm64": "0.7.67",
|
|
52
|
+
"tryharness-desktop-darwin-x64": "0.7.67",
|
|
53
|
+
"tryharness-desktop-linux-x64": "0.7.67"
|
|
54
54
|
}
|
|
55
55
|
}
|
package/release.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": {
|
|
3
3
|
"name": "tryharness",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.67",
|
|
5
5
|
"files": {
|
|
6
6
|
"README.md": "b1c3d6f614dd896b6ffda089c512811ea21c41f2970181162cdba230ac7fb77e",
|
|
7
7
|
"assets/dsh-plugin.mjs": "143d31361d3c34b0a9effdeaa9248f1df6166f9bb45826a9a96ec9aa21899411",
|
|
8
8
|
"assets/opencode-plugin.js": "3f0d2f533f648dbfddbe0ea77dcb2c5bc8d4969ac8c2f1fc8c3af196fe91cb3e",
|
|
9
9
|
"assets/pi-extension.ts": "2803040a0adeeb32ad1aece491eacb70f492dc39a7181ad504eea8b3cffd26a2",
|
|
10
|
-
"cli.mjs": "
|
|
10
|
+
"cli.mjs": "b6aec871a7f673aabd84ee87b8e0440a11b3381c31b7ec4a2d3f2ef3526954db",
|
|
11
11
|
"lib/activity.mjs": "e90b877d34bd4a8af84621f0475a99789d871dfc9cfea1dfffaf37b76e5a1459",
|
|
12
12
|
"lib/actorRoster.mjs": "8cea41c9f6225618f3e6b52c4ae9dedd3584882e757ca70273b389c306548d29",
|
|
13
13
|
"lib/adapters.mjs": "f349e8651610bcd4e6517365edbb72d6722726aa85868320907867dffdb151ca",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"lib/cloudSsh.mjs": "84fd3ab62a70fe6afe9b2684324ef35367dc4808bf2e2ed2471a9abcdcc1f6cc",
|
|
52
52
|
"lib/commands.mjs": "2aac191b903a6fd8f2b08041abca838bd47ccdda7b97e419d418564ccf32ed17",
|
|
53
53
|
"lib/compaction.mjs": "c24da2b646c5d6b66da9d767374db45cd75b8284dac99f2651167b73ecd6717d",
|
|
54
|
+
"lib/connection.mjs": "1de38065bce0a03e664f0492cdcc888d4f3a7bee2d89e4e1f4d12b5aa12f9c74",
|
|
54
55
|
"lib/connectionTools.d.ts": "42dc452073ca4a2250ef84a45d137758b33a2115b5eea260de8e3f6e38b18517",
|
|
55
56
|
"lib/connectionTools.js": "1a83f5ae40e80c6d634932dd196d93c2aff6f3c9d8598da82618c62d710b538b",
|
|
56
57
|
"lib/connectorAuth.mjs": "54fe42f4b87ec7c33e638b9d298600bcd843f7a0897f4285342d07c147189462",
|
|
@@ -68,7 +69,7 @@
|
|
|
68
69
|
"lib/desk.mjs": "e769e1f68117d9d6163538ba73318b2fdae48c179274e6da4f93db8f4febcdf8",
|
|
69
70
|
"lib/desktop.mjs": "74cb9e0516209f563c5764478e333ff545126422c4f10756a88c3fdba6175f23",
|
|
70
71
|
"lib/digest.mjs": "bcfb988a02dfc118f20d67a9e549be5640eae374a714a3d484fec86454caf04a",
|
|
71
|
-
"lib/directLink.mjs": "
|
|
72
|
+
"lib/directLink.mjs": "163eed56af338aa4d20ebebc514e9e42a950b00c7611c479750c50e3e73989fd",
|
|
72
73
|
"lib/environment.mjs": "edbb17ec89177ebe6945bdc431acbab9df4eaf1a79f21794ebd85cf64104b3c4",
|
|
73
74
|
"lib/environments.mjs": "cad566554166a0350b3196db2f53ee62409733fc29b1828f61fd9982da62423f",
|
|
74
75
|
"lib/files.mjs": "39145b9c2722f2024d37631d6dfeb44951221f3ff02b5b8dabe6182814b7adfa",
|
|
@@ -125,7 +126,7 @@
|
|
|
125
126
|
"lib/oneLine.mjs": "0864a8fcc1138dd5f62bc1147fbcc70a9d181d7ec3301b51e00aca25ee93d249",
|
|
126
127
|
"lib/oneclawLocal.mjs": "da17884178b1a88e5cc4125b5112ae5def66806fdf934e0ad73bafb641a7dc97",
|
|
127
128
|
"lib/onnxWorker.mjs": "b94f5ec718c8fac80446d1fe21252abbccfec7f3f79186f7a54861c71f6e2410",
|
|
128
|
-
"lib/ownMachines.mjs": "
|
|
129
|
+
"lib/ownMachines.mjs": "02356a11a70cc3b00cc5ceba9ec4d83a808f4cb41a34842a2d5d91d47d1f3009",
|
|
129
130
|
"lib/pairing.mjs": "4f0328f1876ff9a7275759a061cee69e44108db490966489ef0eb7ff6c0804c9",
|
|
130
131
|
"lib/parsers.mjs": "b329b683cf36939984dfc7463b8584f74bb5eb00f34ad89bf7e80abd7145bbf2",
|
|
131
132
|
"lib/paths.mjs": "087afff9453fad097e766ee3a46af5d76c8cd1112ffce291db7e35cde08a0088",
|
|
@@ -183,10 +184,10 @@
|
|
|
183
184
|
"lib/specialtyNotice.mjs": "47398fe23db8b3f175a87ec8a5f063e06d15dd38b053def82cd253bdab849ebf",
|
|
184
185
|
"lib/specialtySnapshot.mjs": "fb270c64b80a5de7ef019888aab8803af45221669b2956aba1a19a987d4c9c2e",
|
|
185
186
|
"lib/speech.mjs": "6d6681632a75c98ec67683ef71d36c66998a64db99b6d2e177328afe08b8372a",
|
|
186
|
-
"lib/store.mjs": "
|
|
187
|
+
"lib/store.mjs": "1f0ca8500a3b266212c546a1204d6886612876a9d9147a3a549ca4d101830655",
|
|
187
188
|
"lib/stuck.mjs": "2b69af1712be31484ac0d88e05ca88d8be72d5653f2c9510d3c793362c43dfc2",
|
|
188
189
|
"lib/subagents.mjs": "bf3d18a213881b49e1bd5e093353d0cccff8121f9859a9bd34ad30ec108f4125",
|
|
189
|
-
"lib/swarm.mjs": "
|
|
190
|
+
"lib/swarm.mjs": "5726f04946f79f26bcdfe9531af25e11e4ccc9141ca583f280cf5982894aac04",
|
|
190
191
|
"lib/swarmDevices.mjs": "9b6af0854c3fe3c673fc552b6dcc93a8f2f881cba215975151b083c7c6aeb353",
|
|
191
192
|
"lib/swarmMemory.mjs": "2e166c87ef5eb186d10ba8937ab3a454fb7900e1951cb3ba5adc15d2091e86de",
|
|
192
193
|
"lib/t3.mjs": "b73643b86978d7bcbcf023c919ce1e7f05c1b133fa9784b991d72f53b0940630",
|
|
@@ -200,7 +201,7 @@
|
|
|
200
201
|
"lib/threadBriefs.mjs": "f4012411846171ddd3fbdd8b7d4a1c8567b0b933fcfa0bc8fc0e0c4470ff470c",
|
|
201
202
|
"lib/threadLine.mjs": "3418d262e0711f6513236805105b2b550b984b2474daa40ecbd44864f5dbfce8",
|
|
202
203
|
"lib/threadRuns.mjs": "e8f91dd0e8961556171fbe8e6587a281edb0184c860eb363a4284341ef2ea4fa",
|
|
203
|
-
"lib/threadView.mjs": "
|
|
204
|
+
"lib/threadView.mjs": "0756a7d0c35065894ea8c6c5ad83cdfa708bfc6f8644a1ae2f483f166eaebb0d",
|
|
204
205
|
"lib/tokenizer.mjs": "6d442c2081584fb7533cef5a804c61af9261a4ec174169f7a33be58b0476df81",
|
|
205
206
|
"lib/trails.mjs": "22e7de51f49437b3b26f81b180de8bd96fb7b394be7c27a7b6a65bb8426bc015",
|
|
206
207
|
"lib/ui.mjs": "cd6f51824a85ffa1eb745b4a34249e5cf3f0e696fb99626a7981467f3352dfa6",
|
|
@@ -219,10 +220,10 @@
|
|
|
219
220
|
"lib/workFocus.mjs": "08d3002d6114859bf7623fbcb62a5ed1dd12cecba6c8e37ed55a550a15a207a4",
|
|
220
221
|
"lib/workLinks.mjs": "8269180900fdf5fbd547a4c2337bcde4d5f733621c5b72bc2c23f01e72ad3d7d",
|
|
221
222
|
"lib/worktrees.mjs": "a040441863ee76e39e292e262b903b392e12d4158aa886e4c237b6fa98c0d7d2",
|
|
222
|
-
"npm-shrinkwrap.json": "
|
|
223
|
-
"package.json": "
|
|
223
|
+
"npm-shrinkwrap.json": "a2f8da574d75f65bb76203b2ffb051816642b7938e5a9f6136f182c4a3dfb400",
|
|
224
|
+
"package.json": "247245b1b827c925eb89fe5b477e8e4fd8907f45ee874abbb80ac6c5eae5c728"
|
|
224
225
|
}
|
|
225
226
|
},
|
|
226
227
|
"key": "5bf9e60f5cabb530",
|
|
227
|
-
"signature": "
|
|
228
|
+
"signature": "PI0HisLa7oZ9ErTKQiLFYdG+SCeEgVrauzlURYLs/JfDhB+4hQH3h85V0syVKjl0kJKWmQEZupxofXqJFEfQDw=="
|
|
228
229
|
}
|