tryharness 0.7.57 → 0.7.59

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 CHANGED
@@ -19,6 +19,7 @@ import {
19
19
  removeAgent,
20
20
  showLineup,
21
21
  setupChosen,
22
+ setupElsewhere,
22
23
  setupT3,
23
24
  setupSwarm,
24
25
  testAgent,
@@ -384,6 +385,12 @@ async function connect() {
384
385
  daemonRequest,
385
386
  ui,
386
387
  });
388
+ await setupElsewhere({
389
+ daemonRequest,
390
+ ui,
391
+ fresh: !previous && !before.agentStates,
392
+ removed,
393
+ });
387
394
  await setupT3({
388
395
  ui,
389
396
  daemonRequest,
package/lib/cards.mjs CHANGED
@@ -259,7 +259,7 @@ export function cardLine(card, now = Date.now(), { evidence = true } = {}) {
259
259
  if (specialties) parts.push(specialties);
260
260
  if (card.machines?.length)
261
261
  parts.push(
262
- `On the person's computers: ${card.machines.map((computer) => `${card.name} (${computer.label}${computer.online ? "" : ", offline"})`).join(", ")}; name one with target_machine.`
262
+ `On the person's computers: ${card.machines.map((computer) => `${card.name} (${computer.label}${computer.online ? "" : ", offline"})`).join(", ")}; name one with # in a thread (@${card.id === "claude-code" ? "claude" : card.id} #${card.machines[0].label}), or target_machine on a task.`
263
263
  );
264
264
  parts.push(sentence(card.answers));
265
265
  const { done, failed, ended, medianMinutes } = card.record;
package/lib/daemon.mjs CHANGED
@@ -1105,6 +1105,19 @@ export async function startDaemon() {
1105
1105
  homeOf: (...args) => homeOf(...args),
1106
1106
  placeElsewhere: (agent, workspace) =>
1107
1107
  ownMachines?.placeElsewhere(agent, workspace) ?? null,
1108
+ // Read when a turn starts: the person's computers are known once ownMachines is made, after this.
1109
+ computers: {
1110
+ self: () => ownMachines?.self() ?? null,
1111
+ placeOn: (agent, workspace, id) =>
1112
+ ownMachines?.placeOn(agent, workspace, id) ?? {
1113
+ error: "your other computers are not reachable",
1114
+ },
1115
+ labelOf: (id) => ownMachines?.labelOf(id) ?? null,
1116
+ withAgent: (agent) =>
1117
+ (ownMachines?.all() ?? [])
1118
+ .filter((computer) => computer.agents.includes(agent))
1119
+ .map((computer) => computer.label),
1120
+ },
1108
1121
  stepHeld: (goalId, agent) => teams.stepHeld(goalId, agent),
1109
1122
  // A run the person's steer stops: here, or on the computer that took it, by a sealed notice Harness keeps for it.
1110
1123
  stopRun: (run) =>
package/lib/live.mjs CHANGED
@@ -30,7 +30,7 @@ export const LIVE_AGENTS = [
30
30
  ];
31
31
  const PLAIN_ID = /^[A-Za-z0-9._:-]{1,128}$/;
32
32
 
33
- /** Every process: its parent, its terminal (/dev/ttys003, or null) and its executable, by pid. */
33
+ /** Every process: its parent, its terminal (/dev/ttys003, Linux's /dev/pts/3, or null) and its executable, by pid. */
34
34
  export function processTable() {
35
35
  const table = new Map();
36
36
  if (process.platform === "win32") return table;
@@ -43,7 +43,7 @@ export function processTable() {
43
43
  if (match)
44
44
  table.set(Number(match[1]), {
45
45
  ppid: Number(match[2]),
46
- tty: /^ttys?\d+$/.test(match[3]) ? `/dev/${match[3]}` : null,
46
+ tty: /^(ttys?|pts\/)\d+$/.test(match[3]) ? `/dev/${match[3]}` : null,
47
47
  comm: match[4],
48
48
  });
49
49
  }
package/lib/onboard.mjs CHANGED
@@ -70,15 +70,21 @@ const copy = (text) => {
70
70
  return result.status === 0;
71
71
  };
72
72
 
73
- /** Post a setup check for the agent and wait for its report: the same path real work takes. */
73
+ // How long setup waits for an agent's answer to its check before moving on. A gateway on this computer (OpenClaw,
74
+ // Hermes) answers within seconds or is not running; Grok Bot is woken by email, whose pickups have taken up to 59 s.
75
+ const ANSWER_WAIT_MS = { "grok-bot": 10 * 60_000 };
76
+ const DEFAULT_ANSWER_WAIT_MS = 60_000;
77
+
78
+ /** Post a setup check for the agent and wait for its report: the same path real work takes. Enter skips the wait. */
74
79
  export async function testAgent({
75
80
  agent,
76
81
  daemonRequest,
77
82
  ui = createUi(),
78
- waitMs = 10 * 60_000,
83
+ waitMs = ANSWER_WAIT_MS[agent] ?? DEFAULT_ANSWER_WAIT_MS,
79
84
  sleep = (ms) => new Promise((r) => setTimeout(r, ms)),
80
85
  }) {
81
86
  const name = LABEL[agent] || agent;
87
+ const retry = `${relayCommand()} agents test ${agent}`;
82
88
  const posted = await daemonRequest({
83
89
  command: "board.post",
84
90
  agent: "user",
@@ -94,37 +100,56 @@ export async function testAgent({
94
100
  );
95
101
  return false;
96
102
  }
97
- const started = Date.now(),
98
- spin = ui.spinner();
99
- spin.start(`Waiting for ${name} to answer a test task`);
100
- while (Date.now() - started < waitMs) {
101
- await sleep(2_000);
102
- const task = (
103
- await daemonRequest({
104
- command: "board.get",
105
- agent: "user",
106
- id: posted.task.id,
107
- }).catch(() => null)
108
- )?.task;
109
- if (task?.status === "done") {
110
- spin.stop(
111
- `${name} answered in ${Math.round((Date.now() - started) / 1000)}s. Ready.`
112
- );
113
- return true;
114
- }
115
- if (task && ["failed", "needs_input"].includes(task.status)) {
116
- spin.stop(
117
- `${name} answered, but the task is ${task.status}${task.result ? `: ${task.result}` : ""}`,
118
- 2
119
- );
120
- return false;
103
+ const started = Date.now();
104
+ let skipped = false;
105
+ const answered = (async () => {
106
+ while (!skipped && Date.now() - started < waitMs) {
107
+ await sleep(2_000);
108
+ const task = (
109
+ await daemonRequest({
110
+ command: "board.get",
111
+ agent: "user",
112
+ id: posted.task.id,
113
+ }).catch(() => null)
114
+ )?.task;
115
+ if (task?.status === "done")
116
+ return {
117
+ ok: true,
118
+ line: `${name} answered in ${Math.round((Date.now() - started) / 1000)}s. Ready.`,
119
+ };
120
+ if (task && ["failed", "needs_input"].includes(task.status))
121
+ return {
122
+ ok: false,
123
+ line: `${name} answered, but the task is ${task.status}${task.result ? `: ${task.result}` : ""}`,
124
+ };
121
125
  }
126
+ const waited =
127
+ waitMs < 60_000
128
+ ? `${Math.round(waitMs / 1000)} seconds`
129
+ : waitMs === 60_000
130
+ ? "a minute"
131
+ : `${Math.round(waitMs / 60_000)} minutes`;
132
+ return {
133
+ ok: false,
134
+ line: `No answer after ${waited}. Check that ${name} is running, then: ${retry}`,
135
+ };
136
+ })();
137
+ if (ui.interactive) {
138
+ const answer = await ui.waitOrType({
139
+ message: `Waiting for ${name} to answer a test task`,
140
+ placeholder: "press Enter to skip",
141
+ until: answered,
142
+ });
143
+ if (answer.done) return answer.done.ok;
144
+ skipped = true;
145
+ ui.info(`Skipped. When ${name} is running: ${retry}`);
146
+ return false;
122
147
  }
123
- spin.stop(
124
- `No answer after ${Math.round(waitMs / 60_000)} minutes. Check that ${name} is running, then: ${relayCommand()} agents test ${agent}`,
125
- 2
126
- );
127
- return false;
148
+ const spin = ui.spinner();
149
+ spin.start(`Waiting for ${name} to answer a test task`);
150
+ const result = await answered;
151
+ spin.stop(result.line, result.ok ? 0 : 2);
152
+ return result.ok;
128
153
  }
129
154
 
130
155
  async function setupLocal({
@@ -446,11 +471,9 @@ export async function setupSwarm({
446
471
  }
447
472
 
448
473
  // A function, not a constant: the installed command only exists once setup has installed the runtime.
449
- const ADD_LATER = () =>
450
- `Add another agent any time: ${pc.cyan(`${relayCommand()} agents add`)}, or Settings, then Your swarm, in the Harness app.`;
451
474
  // A function, not a constant: the installed command only exists once setup has installed the runtime.
452
- const JOINS_LATER = () =>
453
- `Install or sign in another agent any time: it joins your swarm by itself once it answers. ${pc.dim(`Or: ${relayCommand()} agents add`)}`;
475
+ const ADD_LATER = () =>
476
+ `Add an agent any time: in the Harness app, Agents, then Add an agent, or run ${pc.cyan(`${relayCommand()} agents add`)}. A coding agent you install or sign in to later joins by itself once it answers.`;
454
477
 
455
478
  const COMMAND = {
456
479
  "claude-code": "claude",
@@ -614,7 +637,69 @@ export async function setupChosen({
614
637
  );
615
638
  for (const entry of local)
616
639
  await setupLocal({ entry, runtimeRoot, ui, daemonRequest, ask: false });
617
- ui.info(JOINS_LATER());
640
+ }
641
+
642
+ // What each agent that runs elsewhere is, in the offer below.
643
+ const ELSEWHERE_HINT = {
644
+ "grok-bot": "Grok in its own cloud, woken by email or webhook: set up next",
645
+ muse: "set up in Harness once added",
646
+ bankr: "trades and wallets: set Bankr up in Harness so it can act",
647
+ };
648
+
649
+ /**
650
+ * The agents that run elsewhere, at the end of setup, so a person finds them without knowing their names. Quotient has
651
+ * nothing to set up and Bankr's setup is on the account, so on a first setup Quotient joins, and Bankr too once the
652
+ * person set it up in Harness; Grok Bot and Muse each need their own setup, so they are offered. An agent the person
653
+ * took out of their swarm (`removed`) is left out.
654
+ */
655
+ export async function setupElsewhere({
656
+ daemonRequest,
657
+ ui = createUi(),
658
+ fresh,
659
+ removed = [],
660
+ clipboard = copy,
661
+ }) {
662
+ const lineup = await daemonRequest({ command: "swarm.lineup" }).catch(
663
+ () => null
664
+ );
665
+ if (lineup?.ok) {
666
+ const outside = (id) =>
667
+ !removed.includes(id) &&
668
+ lineup.agents.some((entry) => entry.id === id && !entry.inSwarm);
669
+ const account = await daemonRequest({
670
+ command: "wake.server",
671
+ input: { action: "list" },
672
+ }).catch(() => null);
673
+ const joining = fresh
674
+ ? ["quotient", ...(account?.bankrWallet ? ["bankr"] : [])].filter(outside)
675
+ : [];
676
+ const joined = [];
677
+ for (const id of joining) {
678
+ const added = await daemonRequest({ command: "swarm.add", target: id });
679
+ if (added?.ok) joined.push({ id, name: added.name });
680
+ }
681
+ if (joined.length)
682
+ ui.success(
683
+ `${joined.map((agent) => agent.name).join(" and ")} ${joined.length > 1 ? "are" : "is"} in your swarm ${pc.dim(`· ${joined.length > 1 ? "they run" : "it runs"} on Harness, nothing to set up`)}`
684
+ );
685
+ const offered = ["grok-bot", "muse", "bankr"].filter(
686
+ (id) => outside(id) && !joined.some((agent) => agent.id === id)
687
+ );
688
+ if (offered.length && ui.interactive) {
689
+ const picked =
690
+ (await ui.multiselect({
691
+ message: `Agents that run elsewhere. Add any? ${pc.dim("(space to tick, enter to go on)")}`,
692
+ options: offered.map((id) => ({
693
+ value: id,
694
+ label: lineup.agents.find((entry) => entry.id === id).name,
695
+ hint: ELSEWHERE_HINT[id],
696
+ })),
697
+ })) ?? [];
698
+ if (picked.length)
699
+ await addAgents({ daemonRequest, wanted: picked, ui, clipboard });
700
+ }
701
+ }
702
+ ui.info(ADD_LATER());
618
703
  }
619
704
 
620
705
  // A function, not a constant: the installed command only exists once setup has installed the runtime.
@@ -4,6 +4,7 @@ import { randomBytes, randomUUID } from "node:crypto";
4
4
  import { documentText, ensureDir, isDocument, mimeFor } from "./files.mjs";
5
5
  import { FILE_PART_BYTES } from "./boardFiles.mjs";
6
6
  import { fingerprint } from "./sealed.mjs";
7
+ import { nameOf } from "./members.mjs";
7
8
  import {
8
9
  isPairCode,
9
10
  joinProof,
@@ -1839,6 +1840,7 @@ export function createOwnMachines({
1839
1840
  id: machine.id,
1840
1841
  label: machine.label,
1841
1842
  role: machine.role ?? "home",
1843
+ agents,
1842
1844
  alone: actsAlone(),
1843
1845
  standingInFor: standingIn()
1844
1846
  ? (labelOf(standingIn()) ?? standingIn())
@@ -2214,6 +2216,29 @@ export function createOwnMachines({
2214
2216
  return null;
2215
2217
  };
2216
2218
 
2219
+ /**
2220
+ * On home: the other computer named for an agent's thread turn (`@codex #pop-os`) and its checkout of the thread's
2221
+ * repository, or why it cannot take it.
2222
+ */
2223
+ const placeOn = (agent, workspace, id) => {
2224
+ const sibling = siblings.find((each) => each.id === id);
2225
+ const label = labelOf(id) ?? "that computer";
2226
+ if (!sibling || !store.ownMachine(id))
2227
+ return { error: `${label} is not connected` };
2228
+ if (!sibling.agents.includes(agent))
2229
+ return { error: `${nameOf(agent)} is not on ${label}` };
2230
+ const repository = workspace ? repositoryOf(workspace) : null;
2231
+ const folder = repository
2232
+ ? infos.get(id)?.folders.find((each) => each.repository === repository)
2233
+ ?.path
2234
+ : null;
2235
+ if (!folder)
2236
+ return {
2237
+ error: `${label} has no copy of this thread's repository: clone it there first`,
2238
+ };
2239
+ return { machine: id, folder };
2240
+ };
2241
+
2217
2242
  /** The computers the board may name: this one and every other the person has, with their agents and repositories. */
2218
2243
  const all = () => [
2219
2244
  {
@@ -2229,6 +2254,25 @@ export function createOwnMachines({
2229
2254
  })),
2230
2255
  ];
2231
2256
 
2257
+ /**
2258
+ * The computer a message names with # (`#pop-os`), one of the person's own by its exact name in any case; null when
2259
+ * it names none. Anything else after a # (an issue number, a heading) is not a computer.
2260
+ */
2261
+ const computerNamed = (text) => {
2262
+ const computers = all();
2263
+ if (computers.length < 2) return null;
2264
+ for (const match of String(text || "").matchAll(
2265
+ /(?:^|[\s(])#([A-Za-z0-9][\w.-]*)/g
2266
+ )) {
2267
+ const name = match[1].replace(/[.,;:!?]+$/, "").toLowerCase();
2268
+ const found = computers.find(
2269
+ (computer) => computer.label.toLowerCase() === name
2270
+ );
2271
+ if (found) return { id: found.id, label: found.label };
2272
+ }
2273
+ return null;
2274
+ };
2275
+
2232
2276
  /** The name beside an agent's words from that computer ("Codex (linux)"): only once the person has more than one. */
2233
2277
  const shownLabel = (id) => (all().length > 1 ? labelOf(id) : null);
2234
2278
 
@@ -2303,6 +2347,8 @@ export function createOwnMachines({
2303
2347
  all,
2304
2348
  learn,
2305
2349
  placeElsewhere,
2350
+ placeOn,
2351
+ computerNamed,
2306
2352
  computersWith,
2307
2353
  computersFor,
2308
2354
  labelOf,
package/lib/pairing.mjs CHANGED
@@ -176,11 +176,15 @@ export async function joinSwarm({
176
176
  const started = Date.now();
177
177
  let told = false;
178
178
  while (listed?.joinCode && Date.now() - started < waitMs) {
179
+ // The steps go above the spinner once: a spinner line wider than the terminal wraps, and every frame then
180
+ // prints it again.
179
181
  if (!told && Date.now() - started > quietMs) {
180
182
  told = true;
181
- spin.message(
182
- `Waiting for ${homeName()}. There, click the Harness icon in the menu bar, choose Add a Computer, and type ${listed.joinCode}${listed.joinCode === code ? " (the same code)" : ""}. Or run there: npx tryharness machines add ${listed.joinCode}. This computer already works on its own, so you can close this.`
183
+ spin.stop(`Waiting for ${homeName()}`);
184
+ ui.info(
185
+ `On ${homeName()}, click the Harness icon in the menu bar, choose Add a Computer, and type ${listed.joinCode}${listed.joinCode === code ? " (the same code)" : ""}. Or run there: npx tryharness machines add ${listed.joinCode}. This computer already works on its own, so you can close this.`
183
186
  );
187
+ spin.start(`Waiting for ${homeName()}`);
184
188
  }
185
189
  await new Promise((resolve) => setTimeout(resolve, 1_000));
186
190
  listed = (await read()) ?? listed;
@@ -378,8 +378,10 @@ export function createSessionControl({
378
378
  waiting: said(session.agent, session.sessionId).length,
379
379
  }));
380
380
  // A running session no hook placed (it started before Harness was set up, or its agent has none): read from its process.
381
- for (const session of sessions) {
382
- if (placesOf(session.agent)[session.sessionId]) continue;
381
+ // One in no terminal, app or editor is a program's, not the person's: claude-mem's worker runs Claude Code that way,
382
+ // and left 53 running on one computer.
383
+ return sessions.filter((session) => {
384
+ if (placesOf(session.agent)[session.sessionId]) return true;
383
385
  const env = {
384
386
  ...processEnv(session.pid),
385
387
  ...(session.entrypoint
@@ -399,8 +401,8 @@ export function createSessionControl({
399
401
  ? { ...place, startedBy: session.startedBy }
400
402
  : place
401
403
  );
402
- }
403
- return sessions;
404
+ return Boolean(place);
405
+ });
404
406
  };
405
407
 
406
408
  /**
@@ -147,6 +147,11 @@ export function createThreadActions({
147
147
  ) => {
148
148
  const goal = store.goal(goalId);
149
149
  const { picks } = picksIn(store, post.text, names);
150
+ // `@codex #pop-os`: the computer named with # is where the agents named work. A # naming no runner sets it for
151
+ // whoever takes the thread's work.
152
+ const computer = ownMachines()?.computerNamed(post.text) ?? null;
153
+ if (computer && !names.some((agent) => runsHere(agent)))
154
+ store.meta(`thread-computer:${goalId}`, computer.id);
150
155
  const told = [];
151
156
  for (const agent of names) {
152
157
  if (agent === author) continue;
@@ -163,6 +168,7 @@ export function createThreadActions({
163
168
  `it is not in your swarm. Add it with: npx tryharness agents add ${agent}`
164
169
  );
165
170
  else if (
171
+ !computer &&
166
172
  runsHere(agent) &&
167
173
  !installedAgents.includes(agent) &&
168
174
  !ownMachines()?.placeElsewhere(agent, goal?.workspace ?? null)
@@ -186,6 +192,7 @@ export function createThreadActions({
186
192
  review: limited === "review",
187
193
  asker: author,
188
194
  pick: picks.get(agent),
195
+ on: computer?.id ?? null,
189
196
  words: post.text,
190
197
  held:
191
198
  guard === undefined
@@ -31,6 +31,9 @@ export function createThreadRuns({
31
31
  // A coding agent not installed here but on another of the person's computers that has the thread's repository:
32
32
  // { machine, folder } there (ownMachines.mjs), or null.
33
33
  placeElsewhere = () => null,
34
+ // The person's computers (ownMachines.mjs): this one's id, an agent's turn placed on a named other one
35
+ // ({ machine, folder } or { error }), each computer's name, and the ones an agent is on. Null with one computer.
36
+ computers = null,
34
37
  // Projects shared with another person's swarm (projects.mjs): their check before work, and each agent's own branch.
35
38
  projects = () => null,
36
39
  // The step of the thread's route an agent was last given (team.mjs), or null.
@@ -320,15 +323,76 @@ export function createThreadRuns({
320
323
  // Past a shared project's check before work (projects.mjs gate); `wait` holds the run for the person's Start.
321
324
  checked = false,
322
325
  wait = false,
326
+ // The computer the person named for this turn with # (`@codex #pop-os`), by id.
327
+ on = null,
323
328
  } = {}
324
329
  ) => {
325
330
  const task = store.getTask(goalId);
331
+ // The computer named now, else the one last named in this thread for this agent or for everyone: an agent's work
332
+ // in a thread stays where its checkout is until the person names another.
333
+ if (on && computers) {
334
+ store.meta(`thread-computer:${goalId}:${agent}`, on);
335
+ }
336
+ const named =
337
+ on ??
338
+ (computers
339
+ ? store.meta(`thread-computer:${goalId}:${agent}`) ||
340
+ store.meta(`thread-computer:${goalId}`) ||
341
+ null
342
+ : null);
343
+ const here = !named || named === computers?.self();
344
+ const placed =
345
+ task && !here
346
+ ? computers.placeOn(agent, task.goal?.workspace ?? null, named)
347
+ : null;
348
+ if (placed?.error) {
349
+ store.roomPost({
350
+ goalId,
351
+ author: "harness",
352
+ kind: "note",
353
+ text: `${nameOf(agent)} cannot work on ${computers.labelOf(named) ?? "that computer"}: ${placed.error}.`,
354
+ });
355
+ notifyBoard(store.getTask(goalId));
356
+ return;
357
+ }
326
358
  // An agent on another of the person's computers takes its turn there, in that computer's checkout of the thread's
327
359
  // repository (machineRuns.mjs); here it works in the thread's own worktree.
328
360
  const elsewhere =
329
- task && !installedAgents.includes(agent)
361
+ placed ??
362
+ (task && !named && !installedAgents.includes(agent)
330
363
  ? placeElsewhere(agent, task.goal?.workspace ?? null)
331
- : null;
364
+ : null);
365
+ if (
366
+ task &&
367
+ named === computers?.self() &&
368
+ !installedAgents.includes(agent)
369
+ ) {
370
+ store.roomPost({
371
+ goalId,
372
+ author: "harness",
373
+ kind: "note",
374
+ text: `${nameOf(agent)} is not installed on ${computers.labelOf(named)}.`,
375
+ });
376
+ notifyBoard(store.getTask(goalId));
377
+ return;
378
+ }
379
+ // The agent is on more than one computer and the person named none: the thread says once which took it, and how
380
+ // to name the other.
381
+ const choices = computers?.withAgent(agent) ?? [];
382
+ if (task && !named && choices.length > 1) {
383
+ const key = `computer-note:${goalId}:${agent}`;
384
+ if (!store.meta(key)) {
385
+ store.meta(key, "1");
386
+ const took = computers.labelOf(elsewhere?.machine ?? computers.self());
387
+ const others = choices.filter((label) => label !== took);
388
+ store.roomPost({
389
+ goalId,
390
+ author: "harness",
391
+ kind: "note",
392
+ text: `${nameOf(agent)} on ${took} took this. For ${others.length > 1 ? "another" : "the one on " + others[0]}, write @${agent === "claude-code" ? "claude" : agent} #${others[0]}.`,
393
+ });
394
+ }
395
+ }
332
396
  if (
333
397
  !task ||
334
398
  task.status !== "open" ||
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "tryharness",
3
- "version": "0.7.57",
3
+ "version": "0.7.59",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "tryharness",
9
- "version": "0.7.57",
9
+ "version": "0.7.59",
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.57",
36
- "tryharness-desktop-darwin-x64": "0.7.57",
37
- "tryharness-desktop-linux-x64": "0.7.57"
35
+ "tryharness-desktop-darwin-arm64": "0.7.59",
36
+ "tryharness-desktop-darwin-x64": "0.7.59",
37
+ "tryharness-desktop-linux-x64": "0.7.59"
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.57",
1055
- "resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-arm64/-/tryharness-desktop-darwin-arm64-0.7.57.tgz",
1056
- "integrity": "sha512-VJkBCOaj/1wNM1iQGsbiTL6CuzyeyIcaavLrFsFtQOLt2BQniytyu6X15C7EDmPpPmISOfUfeHplr6SqdBhPLg==",
1054
+ "version": "0.7.59",
1055
+ "resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-arm64/-/tryharness-desktop-darwin-arm64-0.7.59.tgz",
1056
+ "integrity": "sha512-fzOhbEceaiow6KPLy7KeB2GS9awUf0nwltm/DW2RtySdkIYJSRVgIt6o79A4sTlX4IxX/p1drwqf6eQ+htjK0A==",
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.57",
1068
- "resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-x64/-/tryharness-desktop-darwin-x64-0.7.57.tgz",
1069
- "integrity": "sha512-5tQh/MPsUFbFq0MhcC+ohxZoU0V6VixzQH4vIMTkgifg53fvOKWPxPCqaZIMvB4cRuVYposR5NPml6y3m9bItA==",
1067
+ "version": "0.7.59",
1068
+ "resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-x64/-/tryharness-desktop-darwin-x64-0.7.59.tgz",
1069
+ "integrity": "sha512-qDSnuiebLrcNsNRDYIC79OSCoKuylo7NEipjimMlM380OS3AMPf8sa3YbUddV4sFztWsm89at27ZvF/hsgQGRg==",
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.57",
1081
- "resolved": "https://registry.npmjs.org/tryharness-desktop-linux-x64/-/tryharness-desktop-linux-x64-0.7.57.tgz",
1082
- "integrity": "sha512-GFyls2Ayrcn+cS3B+eRgc6Ji8m9AyxxtvwWcRM/XOAShmk6/knKmdxHkYBAOemfRoZP0bVbSQDrd1MmI91IY6A==",
1080
+ "version": "0.7.59",
1081
+ "resolved": "https://registry.npmjs.org/tryharness-desktop-linux-x64/-/tryharness-desktop-linux-x64-0.7.59.tgz",
1082
+ "integrity": "sha512-T3UPSzLleShsjncqEMhYj0QMzlCwMOr/4m6US1IIFX7p9At+xVEl0Uzk5+r9RV6ya3SqpAo1zKjc9042SGLxsQ==",
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.57",
3
+ "version": "0.7.59",
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.57",
52
- "tryharness-desktop-darwin-x64": "0.7.57",
53
- "tryharness-desktop-linux-x64": "0.7.57"
51
+ "tryharness-desktop-darwin-arm64": "0.7.59",
52
+ "tryharness-desktop-darwin-x64": "0.7.59",
53
+ "tryharness-desktop-linux-x64": "0.7.59"
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.57",
4
+ "version": "0.7.59",
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": "5f6eb057b3831b72b1fe4f89bfc7a4d6132dca6192dd36edd65a23a5f28300ff",
10
+ "cli.mjs": "f45d47058ea12d8850e6a42edad26031c34fe9be665bab4e3f033c68ca614281",
11
11
  "lib/activity.mjs": "e90b877d34bd4a8af84621f0475a99789d871dfc9cfea1dfffaf37b76e5a1459",
12
12
  "lib/actorRoster.mjs": "8cea41c9f6225618f3e6b52c4ae9dedd3584882e757ca70273b389c306548d29",
13
13
  "lib/adapters.mjs": "f349e8651610bcd4e6517365edbb72d6722726aa85868320907867dffdb151ca",
@@ -39,7 +39,7 @@
39
39
  "lib/book.mjs": "ab44dfcc1a6a01a2300f83c7fd380a76588204ea4b8328a21fc7d1a93c7842a7",
40
40
  "lib/bridge.mjs": "e8c4ee1a36096efa35abd9374ebbe39aeea38fe7a8c3565e94a8252d64d0d7e0",
41
41
  "lib/browserWake.mjs": "7655043da78d75710bd4f225d254b971823572395f4f7b725f8a40a7ecdcf2d9",
42
- "lib/cards.mjs": "e734ea856e44ece8edb703384d9fa3118a912f6c9232ba7747d818b2cd849c6a",
42
+ "lib/cards.mjs": "c54bab71b35c23ebff8ecc0b840d501230687af1fe4eb486308b7d299997dc2b",
43
43
  "lib/claudemem.mjs": "f548d4fa237ba1e47200bee59ebb12eb82b4616be0e885d6baf308f6f6a75e51",
44
44
  "lib/cloudAgents.mjs": "899f71bbad5175671f6e4eb56e852cb0278371fd1db105d4833088845b9cb482",
45
45
  "lib/cloudAi.mjs": "48a873a359b9bcb1dee7f38c43061b5c872c68fd8edb4b46872d83de51d25543",
@@ -62,7 +62,7 @@
62
62
  "lib/controlSocket.mjs": "24b366d24c0cc9ca6b9c9b3490d47440edac1b1be91e2bc04e8b693b635a952e",
63
63
  "lib/coordinator.mjs": "e5d7e800c5ee05c1f1c42a6e60a45c546aa9f0edc7a29472c6e4996913def29c",
64
64
  "lib/coreModels.mjs": "481633a56283bbed58688300c5139962ae3d8602559015df5801decd8aa8d233",
65
- "lib/daemon.mjs": "ac4a90d0a02666f6551b4b982431a327ef6445030a3ec463c3932540cfcd41fc",
65
+ "lib/daemon.mjs": "918a96bdafa8c872c84b1b1e5c9c1c2900095fdbebf29cf1fe64d02ac0a887c1",
66
66
  "lib/desk.mjs": "e769e1f68117d9d6163538ba73318b2fdae48c179274e6da4f93db8f4febcdf8",
67
67
  "lib/desktop.mjs": "74cb9e0516209f563c5764478e333ff545126422c4f10756a88c3fdba6175f23",
68
68
  "lib/digest.mjs": "bcfb988a02dfc118f20d67a9e549be5640eae374a714a3d484fec86454caf04a",
@@ -93,7 +93,7 @@
93
93
  "lib/lineup.mjs": "fe0c7f9eade527853a9540334d71d5dcaa34c13a6998d91fe6250d9ca35d90a3",
94
94
  "lib/linkRelay.mjs": "cf6eb5fc154e8c86c43db3dbf6767b0d6079871389a62d4e9dc75476a792c692",
95
95
  "lib/listen.mjs": "0a32c02dc95b6d559675d05ce8eb0d64c7afc238fda94aa7c228753de72e027d",
96
- "lib/live.mjs": "742c65b285424dba95943787d53874ca7ca0cf172680331e844710ee3eb1688c",
96
+ "lib/live.mjs": "2db9cc098f6c33ad12ccc7705ed4803971d54608f793666989e7195312824510",
97
97
  "lib/localAgentAsk.mjs": "7cf18d8bca6323d18bd7ea2c8a16082e170cb70b9692028c11982abd0bb60714",
98
98
  "lib/localStack.mjs": "07ec82a42cd4ca24ea19a1d84529a5334deaff5b33babc446beb0109d27adcee",
99
99
  "lib/localmodels.mjs": "e06fbbd6f532af14d414af6126ed800346bef544c887dd0e28b6e4301628d7e6",
@@ -116,11 +116,11 @@
116
116
  "lib/notify.mjs": "59d3b0c75561339e5c15cbca182c6a15e401140eabbbded0c40f30d5e3e2ccd8",
117
117
  "lib/nudge.mjs": "7778446ddd7df6a93d049719d3fb3d45fe1cfac32d3407f489a4d4685a2cf767",
118
118
  "lib/ocr.mjs": "0f9b94f1a9daf20841cbad83924827e1b7c34c656565d88ac33bdb2d38779885",
119
- "lib/onboard.mjs": "c71b7e2f1bc8ea5321d2e26e70afe7265b90ad0bf066ebf9cc93a915c0598838",
119
+ "lib/onboard.mjs": "5359c9d5e3c22b2ac0acfadfb310a896d22cd881cdcccfacc8ed19c941935e57",
120
120
  "lib/oneLine.mjs": "0864a8fcc1138dd5f62bc1147fbcc70a9d181d7ec3301b51e00aca25ee93d249",
121
121
  "lib/oneclawLocal.mjs": "da17884178b1a88e5cc4125b5112ae5def66806fdf934e0ad73bafb641a7dc97",
122
- "lib/ownMachines.mjs": "187c5f887dc7b1cd86c0ce4a7e93850bdd2849805ac9ad758c192b391c7d1274",
123
- "lib/pairing.mjs": "78f98d2a03d7d35b092deee7afce1c73689fecedd6396babc20c2d6269d1eb2e",
122
+ "lib/ownMachines.mjs": "086fdba84a3890f0d5a959e2e94e3a93df6b4dbc4c5b9146bc8b4ab3fe8cf9a9",
123
+ "lib/pairing.mjs": "4f0328f1876ff9a7275759a061cee69e44108db490966489ef0eb7ff6c0804c9",
124
124
  "lib/parsers.mjs": "b329b683cf36939984dfc7463b8584f74bb5eb00f34ad89bf7e80abd7145bbf2",
125
125
  "lib/paths.mjs": "087afff9453fad097e766ee3a46af5d76c8cd1112ffce291db7e35cde08a0088",
126
126
  "lib/peerProcess.mjs": "041b8760b21ce0762294f084bf5244d54bff793ed686fcc6b22c40dc4f0d0f51",
@@ -165,7 +165,7 @@
165
165
  "lib/seen.mjs": "2d1f7c75897d7046bdc72ff201f2613ffa909d05f333b502c7b5d707907679d6",
166
166
  "lib/serverWords.mjs": "fab6e31b59e8b57de80d3dd060b874a5801eb745cbf58f2aaed5ed1d4147a37e",
167
167
  "lib/service.mjs": "5ed3df2e4b19dd4c5b91c87a736d97bf8d183a4ba6b2deff65d989bc2f15dc1f",
168
- "lib/sessionControl.mjs": "1ec3162ca73eda3c4f0baf634c908afe4617d686dbb8464ee2788193dd364468",
168
+ "lib/sessionControl.mjs": "c99cdee33fd09af33809f814fa54ff06f5998f7083b00fe6139c995ff67b11c0",
169
169
  "lib/sessionIndex.mjs": "86ed968142ae0920760cf112f9be47232b803b1d06d9e1a4f4e4923879c0221f",
170
170
  "lib/snippets.mjs": "f1f68da74bcaf7b1fd5f769804b2868c7ead1e930532483e42f9663d88b77519",
171
171
  "lib/specialties.json": "8d129882d8b968662e29fb1e35b0539852fe76d933c6f14045030a0ef4928eb4",
@@ -187,11 +187,11 @@
187
187
  "lib/taskRuns.mjs": "4f3a05c3479348fd760af73fa565c3ced9a99fe5b353375c10cef6b50722a359",
188
188
  "lib/team.json": "5ab27433bdafc5be8aa98e4ad1e75c43446541005dd62de632b827bafc730cc1",
189
189
  "lib/team.mjs": "83c4bfbdfc4f0c99b57729ddaed14e6833884370b103289ee416195089cec7da",
190
- "lib/threadActions.mjs": "176d0b8b531428637b93a1f34a6a7a18b72cff8cf7f913cf3f7e7657ad0d4fe6",
190
+ "lib/threadActions.mjs": "98099825ad7a781b07e092ed76ba402153265a056cd6436c770159b3974cda99",
191
191
  "lib/threadAuthority.mjs": "fb687060c658254ed1f6b6494e8bdf4bb2908e4e29dc07e964385bf3142bf863",
192
192
  "lib/threadBriefs.mjs": "f4012411846171ddd3fbdd8b7d4a1c8567b0b933fcfa0bc8fc0e0c4470ff470c",
193
193
  "lib/threadLine.mjs": "3418d262e0711f6513236805105b2b550b984b2474daa40ecbd44864f5dbfce8",
194
- "lib/threadRuns.mjs": "ed9098fce98f3ab1b469742f172730216f69131ba0ad3b8964da12beaf67b01d",
194
+ "lib/threadRuns.mjs": "8b94fba0f52acae440f160d42ac97e329ae4497c6b3b614e3beab59a98a858e6",
195
195
  "lib/threadView.mjs": "758a5262a0f8cb5122c5864ef6daaf900c774fd5b49573795abb9985dba39e65",
196
196
  "lib/tokenizer.mjs": "6d442c2081584fb7533cef5a804c61af9261a4ec174169f7a33be58b0476df81",
197
197
  "lib/trails.mjs": "22e7de51f49437b3b26f81b180de8bd96fb7b394be7c27a7b6a65bb8426bc015",
@@ -211,10 +211,10 @@
211
211
  "lib/workFocus.mjs": "08d3002d6114859bf7623fbcb62a5ed1dd12cecba6c8e37ed55a550a15a207a4",
212
212
  "lib/workLinks.mjs": "8269180900fdf5fbd547a4c2337bcde4d5f733621c5b72bc2c23f01e72ad3d7d",
213
213
  "lib/worktrees.mjs": "a040441863ee76e39e292e262b903b392e12d4158aa886e4c237b6fa98c0d7d2",
214
- "npm-shrinkwrap.json": "99d52b1b2b61a923acd8ed8f69ef36a547a2b3bbf23df4c9645fcd64eef969ac",
215
- "package.json": "057c94cbdc0b1ab1292a9028ced5a2e7086a270aca4f6b234a58edb15f1064b8"
214
+ "npm-shrinkwrap.json": "99859d8d2f88b0b6309f76b41e068ca32c470531373a3e823445ad79343b9656",
215
+ "package.json": "19dcfb4256d517623125894c94303a6f8dad07574795ca1ee1e23f4dc662c384"
216
216
  }
217
217
  },
218
218
  "key": "5bf9e60f5cabb530",
219
- "signature": "yhAH8hU7JINrn4cP1OdBur5YapouALablmfXYDMRvNx9ZltCvCyLJW5uMSO9+ctoDyA9NylMz0kDNkvVa0sTAw=="
219
+ "signature": "qevXUFEJwKXxnlVAjtOnSa31OXPLBjuKkQCo6rL9cAW0Gu3Xuv+/psQ8EN34jDsGUGlOvbxGxGxRYwEWAv6KCw=="
220
220
  }