tryharness 0.7.78 → 0.7.81

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.
@@ -56,6 +56,13 @@ export function createThreadRuns({
56
56
  checkBeforeStart = async () => true,
57
57
  }) {
58
58
  const { RUNNERS } = authority;
59
+ const folderAway = (goalId) => {
60
+ try {
61
+ return JSON.parse(store.meta(`thread-folder-on:${goalId}`) || "null");
62
+ } catch {
63
+ return null;
64
+ }
65
+ };
59
66
  const computerOf = (goalId) => {
60
67
  const held = store.meta(`thread-work-computer:${goalId}`);
61
68
  if (held) return held;
@@ -218,6 +225,40 @@ export function createThreadRuns({
218
225
  store.meta("pending-wake:" + key, "");
219
226
  },
220
227
  };
228
+ // The computer a run is on, by id: the one that took it, else the one it waits for, else this one.
229
+ const computerOfRun = (run) =>
230
+ run.claimed_machine ?? run.target_machine ?? computers?.self() ?? null;
231
+ // An agent's turns in a thread: one for each computer the person named (a lane), and one for words that named none.
232
+ const laneKey = (goalId, agent, lane = null) =>
233
+ lane ? `${goalId}:${agent}@${lane}` : `${goalId}:${agent}`;
234
+ const OPEN_WAKE = new Set(["open", "claimed", "running"]);
235
+ const openWakesOf = (goalId, agent) =>
236
+ store
237
+ .threadRuns(goalId)
238
+ .filter(
239
+ (run) =>
240
+ run.kind === "wake" &&
241
+ run.target_agent === agent &&
242
+ OPEN_WAKE.has(run.status)
243
+ );
244
+ // The agent's open turn in a lane: on that computer, else any.
245
+ const openWakeIn = (goalId, agent, lane = null) =>
246
+ lane
247
+ ? (openWakesOf(goalId, agent).find((run) => computerOfRun(run) === lane)
248
+ ?.id ?? null)
249
+ : store.openWake(goalId, agent);
250
+ // Every lane words for the agent may wait in: none, and each computer a turn of its here was placed on.
251
+ const laneKeys = (goalId, agent) => [
252
+ laneKey(goalId, agent),
253
+ ...new Set(
254
+ store
255
+ .threadRuns(goalId)
256
+ .filter((run) => run.target_agent === agent)
257
+ .map((run) => store.meta(`lane:${run.id}`))
258
+ .filter(Boolean)
259
+ .map((lane) => laneKey(goalId, agent, lane))
260
+ ),
261
+ ];
221
262
  // Turns waiting for the computer the person named to come back: { goalId, agent, reason, options, at }, kept on the
222
263
  // board so a restart keeps them.
223
264
  const COMPUTER_WAITS = "computer-waits";
@@ -298,7 +339,7 @@ export function createThreadRuns({
298
339
  // `only`: one agent's waiting turns, as when its piece of a shared project is released.
299
340
  const discard = (goalId, only = null) => {
300
341
  for (const agent of only ? [only] : RUNNERS)
301
- pendingWakes.delete(goalId + ":" + agent);
342
+ for (const key of laneKeys(goalId, agent)) pendingWakes.delete(key);
302
343
  };
303
344
  // go: the person's go for this turn (personsGo), their own post naming this agent or one of their agents here asking;
304
345
  // any other wake is work another agent asked for and runs restricted or waits.
@@ -311,11 +352,17 @@ export function createThreadRuns({
311
352
  // where it is and the wake kept for the words goes on from there, in the same session. Without their go it reads
312
353
  // them when its turn ends. The thread says which happened; the note is also what the steer's caller is told.
313
354
  const steers = new Map();
314
- const steerRunning = (goalId, agent, words, pending) => {
355
+ // `key`: the lane the words wait in (laneKey). Words naming a computer steer only the turn on it.
356
+ const steerRunning = (goalId, agent, words, pending, key) => {
315
357
  // The agent's turn that does the work, before a read-only review of its own beside it.
316
358
  const running = store
317
359
  .threadRuns(goalId)
318
- .filter((run) => run.target_agent === agent && run.status === "running")
360
+ .filter(
361
+ (run) =>
362
+ run.target_agent === agent &&
363
+ run.status === "running" &&
364
+ (!pending.on || computerOfRun(run) === pending.on)
365
+ )
319
366
  .sort(
320
367
  (a, b) =>
321
368
  Number(store.meta(`review:${a.id}`) === "1") -
@@ -330,16 +377,16 @@ export function createThreadRuns({
330
377
  };
331
378
  const told =
332
379
  store.meta(`t3-run:${running.id}`) === "1"
333
- ? steerT3(goalId, agent, words, pending, running).then(note)
380
+ ? steerT3(goalId, agent, words, pending, running, key).then(note)
334
381
  : Promise.resolve(note(stopToSteer(running, pending, who)));
335
382
  // Kept only until the call that sent the words reads it, which it does as it sends them (board.swarm.steer).
336
- const key = `${goalId}:${agent}`;
337
- steers.set(key, told);
383
+ const toldKey = `${goalId}:${agent}`;
384
+ steers.set(toldKey, told);
338
385
  void told.then(() => {
339
- if (steers.get(key) === told) steers.delete(key);
386
+ if (steers.get(toldKey) === told) steers.delete(toldKey);
340
387
  });
341
388
  };
342
- const steerT3 = async (goalId, agent, words, pending, running) => {
389
+ const steerT3 = async (goalId, agent, words, pending, running, key) => {
343
390
  const who = nameOf(agent);
344
391
  const thread = store.getTask(goalId);
345
392
  const delivery = await steerT3Run(
@@ -348,8 +395,7 @@ export function createThreadRuns({
348
395
  );
349
396
  if (!delivery)
350
397
  return `${who} reads your message when its current turn ends.`;
351
- if (pendingWakes.get(`${goalId}:${agent}`)?.id === pending.id)
352
- pendingWakes.delete(`${goalId}:${agent}`);
398
+ if (pendingWakes.get(key)?.id === pending.id) pendingWakes.delete(key);
353
399
  return delivery === "restarted"
354
400
  ? `${who} restarted its turn to take your message.`
355
401
  : `${who} has your message and reads it at its next step.`;
@@ -395,10 +441,10 @@ export function createThreadRuns({
395
441
  // The person's go reaches a turn another agent's ask left waiting for their Start, so it starts now rather than
396
442
  // after a turn that would never come (Grok Bot's mention once held Claude Code in the person's own folder, and
397
443
  // their @claude-code queued behind it). The pending call stays, so the turn's brief carries the person's words.
398
- const startHeldWake = (goalId, agent) => {
399
- const wake = store.getTask(store.openWake(goalId, agent));
444
+ const startHeldWake = (goalId, agent, lane = null) => {
445
+ const wake = store.getTask(openWakeIn(goalId, agent, lane));
400
446
  if (wake?.status !== "open" || wake.run_authorized_at) return;
401
- const pending = pendingWakes.get(`${goalId}:${agent}`);
447
+ const pending = pendingWakes.get(laneKey(goalId, agent, lane));
402
448
  const answer = Boolean(pending?.answer);
403
449
  const directlyAsked = pending?.asker === "user" && pending.go;
404
450
  if (!directlyAsked && !threadMayRun(store.getTask(goalId), { answer }))
@@ -598,27 +644,51 @@ export function createThreadRuns({
598
644
  : null);
599
645
  if (!installedAgents.includes(agent) && !elsewhere) return;
600
646
  const goal = task.goal;
601
- // A thread with no folder works in its own scratch folder on whichever computer takes the turn (scratch.mjs).
602
- const scratch = !goal.workspace;
603
- // A turn waiting for its Start on another computer than the one chosen now is taken back and placed again, so the
604
- // choice is not folded into a turn that would run elsewhere (a hosted agent's thread queued Claude Code on Home
605
- // before its ask named pop-os). One already started or let start keeps going; the call waits for it, still pinned.
606
- const waiting =
607
- on && chosen ? store.getTask(store.openWake(goalId, agent)) : null;
608
- if (
609
- waiting &&
610
- (waiting.target_machine ?? self) !== named &&
611
- waiting.status === "open" &&
612
- !waiting.claimed_by &&
613
- !waiting.run_authorized_at
614
- ) {
615
- store.removeTask(waiting.id);
616
- notifyBoard(store.getTask(waiting.id));
647
+ // A thread whose folder is on another computer (swarm.mjs setFolderAway) works there in it.
648
+ const away = folderAway(goalId);
649
+ const awayFolder =
650
+ away && elsewhere?.machine === away.machine ? away.path : null;
651
+ // A thread with no folder works in its own scratch folder on whichever computer takes the turn (scratch.mjs), as
652
+ // does a turn on a computer with no copy of the thread's folder.
653
+ const scratch =
654
+ !awayFolder &&
655
+ (!goal.workspace || Boolean(elsewhere && !elsewhere.folder));
656
+ if (scratch && (goal.workspace || away)) {
657
+ const where = elsewhere?.machine ?? computers?.self() ?? "here";
658
+ const label = computers?.labelOf(where) ?? "this computer";
659
+ noteOnce(
660
+ `scratch-fallback:${goalId}:${agent}:${where}`,
661
+ goal.workspace
662
+ ? `${nameOf(agent)} works on ${label} in a scratch folder: ${label} has no copy of ${goal.workspace}.`
663
+ : `${nameOf(agent)} works on ${label} in a scratch folder: the thread's folder is on ${computers?.labelOf(away.machine) ?? "another computer"}.`
664
+ );
617
665
  }
618
- if (store.openWake(goalId, agent)) {
666
+ // The computer the person named for this call is its lane: the agent's turn there, beside its turns on other
667
+ // computers, never folded into one of them (a "#pop-os" message once stopped Claude Code's video edit on the Mac,
668
+ // then waited for it to end, November 2).
669
+ const lane = on && chosen ? named : null;
670
+ // A turn waiting for its Start on another computer than the one chosen now, for a call that named none, is taken back
671
+ // and placed again, so the choice is not folded into a turn that would run elsewhere (a hosted agent's thread queued
672
+ // Claude Code on Home before its ask named pop-os). One already started or let start keeps going in its own lane, as
673
+ // does one the person placed on its computer.
674
+ if (lane)
675
+ for (const waiting of openWakesOf(goalId, agent))
676
+ if (
677
+ computerOfRun(waiting) !== lane &&
678
+ !store.meta(`lane:${waiting.id}`) &&
679
+ waiting.status === "open" &&
680
+ !waiting.claimed_by &&
681
+ !waiting.run_authorized_at
682
+ ) {
683
+ store.removeTask(waiting.id);
684
+ notifyBoard(store.getTask(waiting.id));
685
+ }
686
+ const openHere = openWakeIn(goalId, agent, lane);
687
+ if (openHere) {
688
+ const key = laneKey(goalId, agent, lane);
619
689
  if (fromAnotherPerson(asker))
620
- store.meta(`other-person-run:${store.openWake(goalId, agent)}`, "1");
621
- const prior = pendingWakes.get(`${goalId}:${agent}`);
690
+ store.meta(`other-person-run:${openHere}`, "1");
691
+ const prior = pendingWakes.get(key);
622
692
  // Words the guard read as orders keep the next turn waiting for the person, whatever go an earlier call carried;
623
693
  // the person's own call is their go.
624
694
  const flagged = asker === "user" ? null : (held ?? prior?.held ?? null);
@@ -638,11 +708,11 @@ export function createThreadRuns({
638
708
  on: on ?? prior?.on ?? null,
639
709
  at: new Date().toISOString(),
640
710
  };
641
- pendingWakes.set(`${goalId}:${agent}`, pending);
642
- if (pending.go) startHeldWake(goalId, agent);
711
+ pendingWakes.set(key, pending);
712
+ if (pending.go) startHeldWake(goalId, agent, lane);
643
713
  // An ask again for a turn already waiting: the same turn, admitted once at most, and never past words the guard
644
714
  // read as orders before.
645
- const waiting = store.getTask(store.openWake(goalId, agent));
715
+ const waiting = store.getTask(openHere);
646
716
  if (
647
717
  proposed &&
648
718
  !flagged &&
@@ -653,7 +723,7 @@ export function createThreadRuns({
653
723
  )
654
724
  notifyBoard(store.getTask(waiting.id));
655
725
  if (asker === "user" && words)
656
- steerRunning(goalId, agent, words, pending);
726
+ steerRunning(goalId, agent, words, pending, key);
657
727
  return;
658
728
  }
659
729
  // The limit guards against agents waking each other in a loop, so it counts from the thread's last check-in: a thread
@@ -710,7 +780,7 @@ export function createThreadRuns({
710
780
  text: `${nameOf(agent)} is working on this computer, not in T3 Code: ${gap}.`,
711
781
  });
712
782
  }
713
- let folder = elsewhere?.folder ?? goal.workspace;
783
+ let folder = awayFolder ?? elsewhere?.folder ?? goal.workspace;
714
784
  // Another computer makes its own scratch folder for the turn (machineRuns.mjs), so none is named for it here.
715
785
  if (scratch)
716
786
  folder = elsewhere ? null : prepareScratch(goalId, threadFiles(task));
@@ -762,6 +832,7 @@ export function createThreadRuns({
762
832
  if (!scratch && (elsewhere?.machine || self))
763
833
  store.meta(`thread-work-computer:${goalId}`, elsewhere?.machine ?? self);
764
834
  if (t3) store.meta(`t3-run:${wake.id}`, "1");
835
+ if (lane) store.meta(`lane:${wake.id}`, lane);
765
836
  if (fromAnotherPerson(asker))
766
837
  store.meta(`other-person-run:${wake.id}`, "1");
767
838
  store.meta(
@@ -825,7 +896,10 @@ export function createThreadRuns({
825
896
  woken = JSON.parse(store.meta(`wake-reason:${wake.id}`) || "null");
826
897
  } catch {}
827
898
  if (!thread || !woken) return wake.brief;
828
- const later = pendingWakes.get(`${thread.id}:${wake.target_agent}`);
899
+ const later =
900
+ pendingWakes.get(
901
+ laneKey(thread.id, wake.target_agent, store.meta(`lane:${wake.id}`))
902
+ ) ?? pendingWakes.get(laneKey(thread.id, wake.target_agent));
829
903
  const reason =
830
904
  later && later.at > wake.created_at
831
905
  ? `${woken.reason}\n\nSince then: ${later.reason}`
@@ -958,9 +1032,12 @@ export function createThreadRuns({
958
1032
  kind === "failed" &&
959
1033
  (store.getTask(goalId)?.status !== "open" ||
960
1034
  Boolean(store.meta(`steered:${task.id}`)));
1035
+ // The computer the turn ran on (runWorker.mjs claims it there): the same agent may have a turn on another computer
1036
+ // in this thread at once, and that turn's posts are not this one's.
1037
+ const ranOn = store.getTask(task.id)?.claimed_machine ?? null;
961
1038
  if (
962
1039
  !stopped &&
963
- !store.postsBy(goalId, task.target_agent, startedAt) &&
1040
+ !store.postsBy(goalId, task.target_agent, startedAt, ranOn) &&
964
1041
  text
965
1042
  )
966
1043
  store.roomPost({
@@ -968,21 +1045,30 @@ export function createThreadRuns({
968
1045
  author: task.target_agent,
969
1046
  kind: kind === "done" ? "post" : "failed",
970
1047
  text: kind === "done" ? text : `run failed: ${text}`,
971
- // The computer the turn ran on (runWorker.mjs claims it there).
972
- machine: store.getTask(task.id)?.claimed_machine ?? null,
1048
+ machine: ranOn,
973
1049
  });
974
- // Its report: the agent's newest post since the turn began, the one above or its own.
1050
+ // Its report: the agent's newest post from this turn's computer since the turn began, the one above or its own.
975
1051
  if (kind === "done" && !stopped) {
976
1052
  const report = store
977
- .roomPosts(goalId, 0, 500)
978
- .findLast(
1053
+ .recentRoomPosts(goalId, { limit: 500 })
1054
+ .posts.findLast(
979
1055
  (post) =>
980
- post.author === task.target_agent && post.created_at >= startedAt
1056
+ post.author === task.target_agent &&
1057
+ post.created_at >= startedAt &&
1058
+ (!ranOn || !post.machine || post.machine === ranOn)
981
1059
  );
982
1060
  const thread = store.getTask(goalId);
983
1061
  if (report && thread) reported(thread, report);
984
1062
  }
985
- const key = `${goalId}:${task.target_agent}`;
1063
+ // Words that wait in this turn's lane, else words that named no computer.
1064
+ const laned = laneKey(
1065
+ goalId,
1066
+ task.target_agent,
1067
+ store.meta(`lane:${task.id}`)
1068
+ );
1069
+ const key = pendingWakes.get(laned)
1070
+ ? laned
1071
+ : laneKey(goalId, task.target_agent);
986
1072
  const pending = pendingWakes.get(key);
987
1073
  // A call that came before this run's brief read the thread is in it: waking it again repeats its work (Codex was
988
1074
  // once woken a second time for an animatic it had just made). Only a later call wakes it again, as one posted while
@@ -1010,39 +1096,41 @@ export function createThreadRuns({
1010
1096
  const recover = () => {
1011
1097
  for (const goal of store.goals()) {
1012
1098
  if (goal.status !== "open") continue;
1013
- for (const agent of RUNNERS) {
1014
- const key = goal.id + ":" + agent;
1015
- const pending = pendingWakes.get(key);
1016
- if (!pending) continue;
1017
- // A waiting turn never started, so nothing of it is unknown: the person's go still starts it.
1018
- if (store.openWake(goal.id, agent)) {
1019
- if (pending.go) startHeldWake(goal.id, agent);
1020
- continue;
1099
+ for (const agent of RUNNERS)
1100
+ for (const key of laneKeys(goal.id, agent)) {
1101
+ const pending = pendingWakes.get(key);
1102
+ if (!pending) continue;
1103
+ const lane = key.includes("@") ? pending.on : null;
1104
+ // A waiting turn never started, so nothing of it is unknown: the person's go still starts it.
1105
+ if (openWakeIn(goal.id, agent, lane)) {
1106
+ if (pending.go) startHeldWake(goal.id, agent, lane);
1107
+ continue;
1108
+ }
1109
+ // The previous turn's effects are unknown. Preserve the new call, but let the person inspect before starting it.
1110
+ const wakeId = wakeAgent(goal.id, agent, pending.reason, {
1111
+ asker: pending.asker,
1112
+ pick: pending.pick,
1113
+ recovering: true,
1114
+ routeMachine: pending.routeMachine ?? null,
1115
+ on: pending.on ?? null,
1116
+ });
1117
+ if (!wakeId) continue;
1118
+ pendingWakes.delete(key);
1119
+ store.roomPost({
1120
+ goalId: goal.id,
1121
+ author: DISPATCHER,
1122
+ kind: "note",
1123
+ text:
1124
+ nameOf(agent) +
1125
+ "'s later call survived the restart and waits for your Start. Its interrupted turn's outcome is unknown; check the workspace before continuing.",
1126
+ });
1127
+ notifyBoard(store.getTask(goal.id));
1021
1128
  }
1022
- // The previous turn's effects are unknown. Preserve the new call, but let the person inspect before starting it.
1023
- const wakeId = wakeAgent(goal.id, agent, pending.reason, {
1024
- asker: pending.asker,
1025
- pick: pending.pick,
1026
- recovering: true,
1027
- routeMachine: pending.routeMachine ?? null,
1028
- on: pending.on ?? null,
1029
- });
1030
- if (!wakeId) continue;
1031
- pendingWakes.delete(key);
1032
- store.roomPost({
1033
- goalId: goal.id,
1034
- author: DISPATCHER,
1035
- kind: "note",
1036
- text:
1037
- nameOf(agent) +
1038
- "'s later call survived the restart and waits for your Start. Its interrupted turn's outcome is unknown; check the workspace before continuing.",
1039
- });
1040
- notifyBoard(store.getTask(goal.id));
1041
- }
1042
1129
  }
1043
1130
  };
1044
1131
  return {
1045
1132
  computerOf,
1133
+ computerOfRun,
1046
1134
  wake: wakeAgent,
1047
1135
  waitsForComputer,
1048
1136
  computersChanged,
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "tryharness",
3
- "version": "0.7.78",
3
+ "version": "0.7.81",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "tryharness",
9
- "version": "0.7.78",
9
+ "version": "0.7.81",
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.78",
36
- "tryharness-desktop-darwin-x64": "0.7.78",
37
- "tryharness-desktop-linux-x64": "0.7.78"
35
+ "tryharness-desktop-darwin-arm64": "0.7.81",
36
+ "tryharness-desktop-darwin-x64": "0.7.81",
37
+ "tryharness-desktop-linux-x64": "0.7.81"
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.78",
1055
- "resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-arm64/-/tryharness-desktop-darwin-arm64-0.7.78.tgz",
1056
- "integrity": "sha512-eEJbf/zvTwz8nVOsLG9izcxwO0w+7/WjUua9FMdtR0iMWqpOBVZkXEeYiRWygj1TjgHMUeoCLeRRl5KRY6jZmQ==",
1054
+ "version": "0.7.81",
1055
+ "resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-arm64/-/tryharness-desktop-darwin-arm64-0.7.81.tgz",
1056
+ "integrity": "sha512-A4GeHHRt7HWryv7jJIQ6tpb4FqqCu6pbGo6WahFZgaAdLpi0CM3w/osISBufzD1v36SjRn7H4TfLqEHwDM+aRQ==",
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.78",
1068
- "resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-x64/-/tryharness-desktop-darwin-x64-0.7.78.tgz",
1069
- "integrity": "sha512-eIfKAREEwWIeF/W14ChiUdoqOTcwXhRwBJSSP3ebO5+StUC5CBBEPM6BmO32nbKzs0HaHefpYsQe1GkFAqlQfw==",
1067
+ "version": "0.7.81",
1068
+ "resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-x64/-/tryharness-desktop-darwin-x64-0.7.81.tgz",
1069
+ "integrity": "sha512-5s2wnZ89kC5BgqEEaqluanaeGUzmEnLVzgWVJmwL74tRJPTVG7pA3MWXLnN54WYFm4h1nLRcmgqjESSvy1bgMA==",
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.78",
1081
- "resolved": "https://registry.npmjs.org/tryharness-desktop-linux-x64/-/tryharness-desktop-linux-x64-0.7.78.tgz",
1082
- "integrity": "sha512-lxtgjyEiOmbUmaC08fjNtDAjH0TiBcm0TX7i0XDJpJJvRIWm5zoSPzsc5ZfSZzgL+2yK6dpsQBOayRiUxlCKng==",
1080
+ "version": "0.7.81",
1081
+ "resolved": "https://registry.npmjs.org/tryharness-desktop-linux-x64/-/tryharness-desktop-linux-x64-0.7.81.tgz",
1082
+ "integrity": "sha512-WofK+LjrQAnAOuACLXjfHB12PMIVusssMDqwVyMsHCJb9RvHIv0orGr7Uq7vBtFHwa1yjutCF/j6IESxAh8hnA==",
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.78",
3
+ "version": "0.7.81",
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.78",
52
- "tryharness-desktop-darwin-x64": "0.7.78",
53
- "tryharness-desktop-linux-x64": "0.7.78"
51
+ "tryharness-desktop-darwin-arm64": "0.7.81",
52
+ "tryharness-desktop-darwin-x64": "0.7.81",
53
+ "tryharness-desktop-linux-x64": "0.7.81"
54
54
  }
55
55
  }
package/release.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest": {
3
3
  "name": "tryharness",
4
- "version": "0.7.78",
4
+ "version": "0.7.81",
5
5
  "files": {
6
6
  "README.md": "e5d78851201923cc9c9f5293523b7f2a458a4c6d1d30f29b9df8e721ddf50552",
7
7
  "assets/dsh-plugin.mjs": "143d31361d3c34b0a9effdeaa9248f1df6166f9bb45826a9a96ec9aa21899411",
@@ -31,7 +31,7 @@
31
31
  "lib/boardFileCommands.mjs": "cb0df840bc273cbeaf5f71e8956dcdc4610594f5da32dde80afd2ea693fbeb0b",
32
32
  "lib/boardFiles.mjs": "48329190ea3dcf17e6a26b75bb381e656a80015d737f88883f7571125fd54235",
33
33
  "lib/boardMirror.mjs": "5ca0c947c82dde2139c9cf8705830e8db53ab2ff1ca580b30c0ab2c4273d0bfc",
34
- "lib/boardProtocol.json": "dd9515e855dc9609ecb36f101db7063174378931ede92760b917d7855ae8a38a",
34
+ "lib/boardProtocol.json": "5689e2fef83371de980a8c51164fc4c49302b60ac5a2a133d6457d7db658ec9e",
35
35
  "lib/boardProtocol.mjs": "9148f3e2905b5de761d5c5651686d131da66285579650fd1ad7b46b6ecc17a47",
36
36
  "lib/boardThreads.mjs": "e78dc7fd22540ad0e201f312ea8e575d21463079e7ad42aae76d89c465698fdc",
37
37
  "lib/boardTools.mjs": "54a6b354b1316c1380b788e394511cc568a2bfc22b553e0f8a58a786450a1a63",
@@ -66,9 +66,9 @@
66
66
  "lib/contractGate.mjs": "f6c2f7ebe5834bf1716c5d4298a4e0636f81a981fef9b8ce4f38ff2d4cf4e0fb",
67
67
  "lib/control-client.mjs": "16130df5d4a04cfea5a327a4c57a1177b268b7073b4f060dd3d2732ff8ac91d5",
68
68
  "lib/controlSocket.mjs": "24b366d24c0cc9ca6b9c9b3490d47440edac1b1be91e2bc04e8b693b635a952e",
69
- "lib/coordinator.mjs": "d22415fbd3a8ea2339a4fda0e981a262eec49b2943053ab8ffc642e6d3955f5d",
69
+ "lib/coordinator.mjs": "d375466c7c66bc82f3ef0de1f36ba7b4da832c197c54b31317fa4e2e49da8e93",
70
70
  "lib/coreModels.mjs": "481633a56283bbed58688300c5139962ae3d8602559015df5801decd8aa8d233",
71
- "lib/daemon.mjs": "77ed8e5a0aead87262441e7071910cb6dab72938af7b817a44b760f79c6b0fa1",
71
+ "lib/daemon.mjs": "0d7c6600ea764662e2bd9986299df11c3e72cc50ab3c273fe782235af9943913",
72
72
  "lib/desk.mjs": "e769e1f68117d9d6163538ba73318b2fdae48c179274e6da4f93db8f4febcdf8",
73
73
  "lib/desktop.mjs": "74cb9e0516209f563c5764478e333ff545126422c4f10756a88c3fdba6175f23",
74
74
  "lib/digest.mjs": "bcfb988a02dfc118f20d67a9e549be5640eae374a714a3d484fec86454caf04a",
@@ -85,7 +85,7 @@
85
85
  "lib/folders.mjs": "23595b2a448c01da97032ef0fc0293264dfb1f0b86e13439d2ca165413e767e5",
86
86
  "lib/frames.mjs": "ed602d71909f339514b1bf7d06d4344da3aa5093b7d4214e1d359022e809d4e6",
87
87
  "lib/gitHost.mjs": "aa41a6578e8aaa0a51248b237dd6bfb5f68625f78ca6734035b84fa6d65b7950",
88
- "lib/goalCommands.mjs": "8995f6f37f592beaab1b7f760885dbfc9739cd79246db1d066c96590853f1166",
88
+ "lib/goalCommands.mjs": "d414eea26fea3cc083548202987dfdec38c6610e936869f37fe287186f127bee",
89
89
  "lib/goals.mjs": "714a56251f991cb4ef96064fb0618c65f4901f4c6092b571b47bbc38b3b36207",
90
90
  "lib/guestRequests.mjs": "894dc5a33482817b08d493576a823b064463d552463335f0e60d92405756112c",
91
91
  "lib/handoffs.mjs": "6e28820885387cb71b83f9e5d2ef57461eeb9974f339f361d0082824cdcfe152",
@@ -97,7 +97,7 @@
97
97
  "lib/inference.mjs": "6d34e4ba8c31565eaf7ee52934549b40cd1ae3e3a7eb9cbcc136f67eb1870a90",
98
98
  "lib/jobAnswers.mjs": "33dd2ec2f00a00c39014f5eec33f2b05e640e1249e40e8c24917b119cef5f6f8",
99
99
  "lib/jsonPatch.mjs": "2ac1982b08e8fedb296631cfdf6d1fca4a84777ee804fe5dea4870ff9e731ab3",
100
- "lib/kanban.mjs": "9282d02d5bb2dface4752240905907c5bbaafacf036edf51bfb86da7663bf72f",
100
+ "lib/kanban.mjs": "367f5d9874c9fed95b680ccd50794afd4dc6f1b43406c1bb7e89552c906c01aa",
101
101
  "lib/kept.mjs": "444ab7959fc1263c2dcf1001779c7357bfd34bd893b3e82c4cf051f6ba39b729",
102
102
  "lib/landed.mjs": "81ad9615d95330970c1738f11e3cdc3ab2b277f2b2f0402e3a6b2b7d4ac2bb04",
103
103
  "lib/lane.mjs": "613befd439d81e8c291d9acad2a21fe29bcadfb3c8aa80e71dcda33c7fac0950",
@@ -115,11 +115,11 @@
115
115
  "lib/localmodels.mjs": "c3b40d6e7b0cfb729c64907bfc1a47c3de63096fdd55c6b9dd5519ed6c11d90e",
116
116
  "lib/loopBackstop.mjs": "0ef2346d9d789db87359b8250102498f03949675fab066570a9c88e98bffe943",
117
117
  "lib/machineIdentity.mjs": "99c314bf5c873338b9fd719e9e058123383bafb9946f848a15269d4bd159058e",
118
- "lib/machineRoutes.mjs": "a73d15101cb7cd13c96948fef46cc509a2107a7db6084a4e981a16b92854aca1",
119
- "lib/machineRuns.mjs": "64abea62fa47d65b26c5f36d3adb602f68b521b9ec7dee5f1b9d5d4bcfbaf41e",
118
+ "lib/machineRoutes.mjs": "b27f244fb5e82b81a82978d20c6ad734b814fdb0eea7f648674cfd4a001fc8be",
119
+ "lib/machineRuns.mjs": "db0d43a3cfa4cadd33a9115f8b975d497b1ee21d90eb4a8faa2a4b77ec6c4535",
120
120
  "lib/machineSeal.mjs": "af97b05e5d1ee57007c6a6a71165433667fec3e008d6c5a156e5bfe5a41496bc",
121
- "lib/manager.mjs": "7934ea6b42c62e15db36c3408701db2b4f451b5b06ca0c67300eb1217f96306b",
122
- "lib/mcp-stdio.mjs": "a6bdfc6d3d52bd98bc7849b41b7ae42bb0cc29a30c563f5990ebd47f671bbe89",
121
+ "lib/manager.mjs": "3a872a154e20c4cdf1a354002e344dabe677201290d1c353e778f4d1e03868b7",
122
+ "lib/mcp-stdio.mjs": "196909fa91c8f8cb371997684b68edb215d3bed5a808c49fa66d249d9d4c1d5d",
123
123
  "lib/mcpRelay.mjs": "dd7613ee43ae5123a5eb4787f9ee370a48c243d816a77d950b8a91ce3c231896",
124
124
  "lib/media.mjs": "69d6cb94474851f3ef0cf4bc1fe91543b59d1103661744f1a0c91d7997bfc7aa",
125
125
  "lib/members.json": "f3e12f83184a7d4752443c14815c11993f2249247b082447cac04fdc29975b8d",
@@ -130,7 +130,7 @@
130
130
  "lib/museSession.mjs": "b015d134251e126d43414b173cd1109d90ef89d23e35365be8162a3f63880224",
131
131
  "lib/nativeHost.mjs": "e56212123f37ff27b0271758e3ddb839d58a78b75139cdd22a57cf986b2864b8",
132
132
  "lib/neovim.mjs": "fbce8b592c601db03d0e74e4b1cdd2a6f9efe7758a068d8854f60420ab146b1f",
133
- "lib/network.mjs": "449ddcb4ef2820131659f359cdeba5a498139049d593a0611353a950312335a1",
133
+ "lib/network.mjs": "3b76e694a54d3c7b574aa9de53fcbcaf6bd0ea8b60124d969c90883784a9f185",
134
134
  "lib/notify.mjs": "59d3b0c75561339e5c15cbca182c6a15e401140eabbbded0c40f30d5e3e2ccd8",
135
135
  "lib/nudge.mjs": "ae82bf7fe38eb6a2128ea51732601d78b705a50f5686dd8dab38ce9e7dd866cd",
136
136
  "lib/ocr.mjs": "d08ea4182612387b68555fcea7433bc458bb98fa67cdc2457d53b71a2265a6f4",
@@ -140,24 +140,26 @@
140
140
  "lib/onnxWorker.mjs": "b94f5ec718c8fac80446d1fe21252abbccfec7f3f79186f7a54861c71f6e2410",
141
141
  "lib/openHere.mjs": "3e5ed27d1a382baee224a86f949d396fc38a7da2ca9c27c490fb79aaf8422e43",
142
142
  "lib/openRequests.mjs": "a4e23df8ca755dd139fc5c8f47cce7b9649568441177dfabad38e86d4f0cbeff",
143
- "lib/ownMachines.mjs": "0fe23952ac2bd7daa6a3b7361e91d57cebeea5c63e8a647b70f9578a73545566",
143
+ "lib/ownMachines.mjs": "0665e488a28b03bfd6a35031767aafd1364e6fe4711fc999d4d006673c374fe4",
144
144
  "lib/pairing.mjs": "4f0328f1876ff9a7275759a061cee69e44108db490966489ef0eb7ff6c0804c9",
145
145
  "lib/parsers.mjs": "b329b683cf36939984dfc7463b8584f74bb5eb00f34ad89bf7e80abd7145bbf2",
146
146
  "lib/paths.mjs": "087afff9453fad097e766ee3a46af5d76c8cd1112ffce291db7e35cde08a0088",
147
147
  "lib/peerProcess.mjs": "041b8760b21ce0762294f084bf5244d54bff793ed686fcc6b22c40dc4f0d0f51",
148
+ "lib/peopleBoard.mjs": "456ab82f74964a5c42dd08a307bf74eab865ae12403ae47579548144ee86cadd",
148
149
  "lib/personModel.mjs": "257ce37a85d0d2b6693ab1c7c720d338e9d03f2a7fe38702d475dfd0c3061565",
149
150
  "lib/personNotices.mjs": "2f7a8bc4701ce57440ef29ee7fdbddd98488ef35b2e82a0c3812f56556a440c1",
150
151
  "lib/personal.mjs": "0261690805651e6590eb6cbcccc713f034bf2acdd5248b8238880b2ff783c722",
151
- "lib/phones.mjs": "54ac26f7f704947625c8d0c151a1b2f3f599f1e021833919572566ba9c67abbc",
152
+ "lib/phones.mjs": "3c7f256600611970e6039cddce1de1bb0d82c75e85fa28cbcb7d5703b62e7798",
152
153
  "lib/placeCommands.mjs": "ca9572fbe6ac36761b00e8d734d7e18a82a887388294eb89970edd65dd1577ef",
153
154
  "lib/places.mjs": "47dc25e286647081c6c0187b5b44277b795cb2d4c2dea0d97d43f7aaaa849eb7",
154
155
  "lib/plans.mjs": "72f88a00024a532c9ecc561fc9cff23454bc40fd3f68e7534b78bc71b911db72",
155
156
  "lib/portCalls.mjs": "b107d6b96eb712b57f2370196100b09e7703b4932806c69df05d57611b961d56",
156
157
  "lib/profile.mjs": "c68da90a70d41b6281f0f451cd5cb37a5a7b0a985497b3e9e5be8a567ce4046d",
158
+ "lib/projectBoard.mjs": "732fbc0c73e63bdcd0d6b59197779f50a019aae4f60cad8f37efd48265b5f2fa",
157
159
  "lib/projectGit.mjs": "5e2b88d1c0200176d529df2f17e842cae003160e67ef089ef90e0555d837ddba",
158
- "lib/projectPieces.mjs": "87cc1e30835899a032eef56c093a5934e78450e9d0c1b254f9ab7cb88cf35234",
160
+ "lib/projectPieces.mjs": "d7ce144c4d0846e326d2bfcd73ec623b17fbd7b8bd35bf18a7877e31a99887e4",
159
161
  "lib/projectSettings.mjs": "ffc92a274f0ec1003f2d7016a1ca10d5581f70d1270e29444dc074c9569d9326",
160
- "lib/projects.mjs": "17f15c6eb45c075264aacf56107e4d3c62ab9d2961889b91c77f650a8a4c08de",
162
+ "lib/projects.mjs": "ff491fa3089b1ed966d872c9296a19b171662ef5070d425013ecb2d49cc35964",
161
163
  "lib/provenance.mjs": "862e5db8b65f4143105f5ca85bf63df27c633ffab122308dce16e4f2332cfd60",
162
164
  "lib/proxyLinks.mjs": "6b6c48fda19196b782580409242392a58386510166693b17fbb0e4c2cafa3c1f",
163
165
  "lib/reactions.mjs": "1c6c62d7f4c415ed9e84b7b536efbce8f684591923903ae39e431c044bed4578",
@@ -173,8 +175,8 @@
173
175
  "lib/repoLinks.mjs": "a9f8786293d84602e6238cf58961d5a9dbea0d7130e6487e57ef2fa2dacdb2df",
174
176
  "lib/roomChannels.mjs": "e2e9fd0cd0e1bc831ab86ea4958b6a41d8140590414d98e66c64f54f748e097a",
175
177
  "lib/roomPage.mjs": "bca354cc72ae948fdf78e90beec737caff1503f14e7352625febc085d406ab39",
176
- "lib/runAuthority.mjs": "7039e00f13cc5c126f9cc584eabbe43e231bb5b96e5115827cc2804d7ab670b4",
177
- "lib/runBrief.mjs": "1837d7fc1bf6988ad57b2b64e097beac6ee88086f565ae74d47ee77b562ec338",
178
+ "lib/runAuthority.mjs": "d68080866ae9318360d68458639a59922966f9db613b843a72d574442ad9b9c9",
179
+ "lib/runBrief.mjs": "4d46b7549e0b1265f3739e87c817e9ce3109d98e15933a71f795d15621f5af77",
178
180
  "lib/runRequests.mjs": "3f35d95f7204ef60b3be2d9852d84aed063e83420b26b83701930cc826e1b170",
179
181
  "lib/runWorker.mjs": "c8f3a6b5da424173a13af55df3f371eb8b6c3ed67fd1d03d1de1a84faaf01f75",
180
182
  "lib/runner.mjs": "790f7cc19f55653e4f6d31ab91ad40d5ac02ab9721709abf737031e92556b2fb",
@@ -202,24 +204,24 @@
202
204
  "lib/speech.mjs": "6d6681632a75c98ec67683ef71d36c66998a64db99b6d2e177328afe08b8372a",
203
205
  "lib/steerHook.mjs": "5f3cfca62c7746af7a4c3aa83c8d0430ac7280d11b11af5344a0cbbfd93ded17",
204
206
  "lib/steerQueue.mjs": "26dfc006009f286d2980fd4534d22497ee3ce67a1802e8cac0512f2899d73618",
205
- "lib/store.mjs": "b0b212493922d2025f712db414d73161ffd4b8a21f0fa4b661346a2b15c5a9e8",
207
+ "lib/store.mjs": "77597c4c31bd36ab55faf4b15ecb6dc3be884e7aed77b80d0d51ded4225c58a6",
206
208
  "lib/stuck.mjs": "2b69af1712be31484ac0d88e05ca88d8be72d5653f2c9510d3c793362c43dfc2",
207
209
  "lib/subagentSteering.mjs": "8fe3d1640a0b2b866435a075783e50b40622ca247a80a08799d9b6f63cff876f",
208
210
  "lib/subagents.mjs": "3617126fe0fde9a40fc3a6857b8bb839dcfcefcc33d168cc967d9a36fa5498f0",
209
- "lib/swarm.mjs": "c862691da9c61c9e82731b2df294f510ffe7bffda6b4e5a3b5f36ca52d6a6638",
211
+ "lib/swarm.mjs": "d304b51d882eb41d298e388704dc1a5e92ed630e3afd210c6b0077288471b63c",
210
212
  "lib/swarmDevices.mjs": "9b6af0854c3fe3c673fc552b6dcc93a8f2f881cba215975151b083c7c6aeb353",
211
213
  "lib/swarmMemory.mjs": "6851cde405436faf5510cac8ff7e975c27ec7746e6e49969e7a179b8eca7af03",
212
214
  "lib/t3.mjs": "b73643b86978d7bcbcf023c919ce1e7f05c1b133fa9784b991d72f53b0940630",
213
- "lib/taskCommands.mjs": "8f4f59fe0aec9f357d6751529500c42c741daae8e3d52e0df7bc600de2068fa1",
214
- "lib/taskRooms.mjs": "61bde0b6d36a14fdcf5266f54180147d54292fd4d926b1b55c86fe18184b1874",
215
+ "lib/taskCommands.mjs": "1aba52e2e856c9ee10baf498a1718a7e037f867c45ca951e26b4e73be6d91c9d",
216
+ "lib/taskRooms.mjs": "0f03ea3767734bf936d7ec80131846ef3d8187fd8c410e50f2041b3d0addfb17",
215
217
  "lib/taskRuns.mjs": "4f3a05c3479348fd760af73fa565c3ced9a99fe5b353375c10cef6b50722a359",
216
218
  "lib/team.json": "1d4f7f1c9a89217ffc0c5c9f87d7233d43ffaad5d5edd2b0c146e1ff741d65b7",
217
219
  "lib/team.mjs": "69e13b1a1b3e082fd1b8fde007ae8be8f217b59264db7b4be357be2fb22e0853",
218
- "lib/threadActions.mjs": "8a1cb0ddb59ede555934340f2fc52408c5b08e0a89ed747cecbb8b32d5dcc052",
219
- "lib/threadAuthority.mjs": "b1eb973d9a8f9a112341d7aabb6f8d739be490cf9e92b4e14e51e4e03f51d3d5",
220
+ "lib/threadActions.mjs": "e8d0f0789e3ae2630473c2c001036b23516e1ecb0e83675ade8ec2dfbc731cfb",
221
+ "lib/threadAuthority.mjs": "2313cd246bffbe04f65913ec4d9a18d7754b4ba56322480e19377f79ead7139f",
220
222
  "lib/threadBriefs.mjs": "a2013af05bb0fcca78e61e7a0d778c6171ffeb4e09b51b21c49374f1d6acc451",
221
223
  "lib/threadLine.mjs": "3418d262e0711f6513236805105b2b550b984b2474daa40ecbd44864f5dbfce8",
222
- "lib/threadRuns.mjs": "709e7ced7c96f3a5159497a1c735d9f22ca4ea0df2d4d9fbfb2a31118f5e09b6",
224
+ "lib/threadRuns.mjs": "7d908972cf3a24cb1483f48fef0145eed39a4767ce71c7c7287dc765cf529099",
223
225
  "lib/threadView.mjs": "c6909e9c42124f2c2e590c1856ed2b67c59d6c4e6e984fd7e12a4b21b976db97",
224
226
  "lib/tokenizer.mjs": "6d442c2081584fb7533cef5a804c61af9261a4ec174169f7a33be58b0476df81",
225
227
  "lib/trails.mjs": "22e7de51f49437b3b26f81b180de8bd96fb7b394be7c27a7b6a65bb8426bc015",
@@ -239,10 +241,10 @@
239
241
  "lib/workFocus.mjs": "08d3002d6114859bf7623fbcb62a5ed1dd12cecba6c8e37ed55a550a15a207a4",
240
242
  "lib/workLinks.mjs": "8269180900fdf5fbd547a4c2337bcde4d5f733621c5b72bc2c23f01e72ad3d7d",
241
243
  "lib/worktrees.mjs": "a040441863ee76e39e292e262b903b392e12d4158aa886e4c237b6fa98c0d7d2",
242
- "npm-shrinkwrap.json": "05510b1512d6b1212ba8ac632970d893799b76bd2a973e9882344a172a8036e1",
243
- "package.json": "318f3396455dcea84e467060351e12fab2cabd3e4ada3ddaea897179f32c4aea"
244
+ "npm-shrinkwrap.json": "9a0c0d5229928d34f1a2f68680fd5399f46af0e7f6d141aa854e303c01f3b42c",
245
+ "package.json": "7dc57610fa62b4f517e2e4416fdc42f8c68e6fd6afd9814b0dd1f0ee3ca2a3db"
244
246
  }
245
247
  },
246
248
  "key": "5bf9e60f5cabb530",
247
- "signature": "fmbvzqf12LccvS790yVwM/TCmUi3hBu6uTsBieuXtBGlmVf7/PinLc+GlT5HYKeF4MYJY0rpzfzzB55CD0IJDQ=="
249
+ "signature": "xx02KvGYlWFs2P1e0OJF4gkrRWGIfqnsURyVLpZt3BQ5hW61CwIcJElL33zpPw5IskcUtBqAEbICPXf30SVlBA=="
248
250
  }