tryharness 0.7.82 → 0.7.83

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.
@@ -716,6 +716,8 @@
716
716
  "setup.bankr",
717
717
  "setup.state",
718
718
  "setup.finish",
719
+ "tour.state",
720
+ "tour.done",
719
721
  "setup.notify",
720
722
  "setup.apps",
721
723
  "setup.workplace",
package/lib/cards.mjs CHANGED
@@ -20,6 +20,7 @@ const ANSWERS = {
20
20
  email: "woken by email when work is posted",
21
21
  webhook: "woken when work is posted",
22
22
  "local-webhook": "woken when work is posted",
23
+ listen: "woken when work is posted",
23
24
  schedule: "picks work up on its own schedule",
24
25
  none: "only when the person next talks to it",
25
26
  };
@@ -28,8 +29,10 @@ export const answersFor = (entry) =>
28
29
  ? "not set up yet: work posted for it waits until the person sets it up in Harness"
29
30
  : entry.setup?.state === "not_answering"
30
31
  ? "not answering right now: work posted for it waits until it does"
31
- : (ANSWERS[entry.setup?.how ?? member(entry.id)?.wake] ??
32
- "when it next looks");
32
+ : entry.setup?.how === "listen" && entry.setup.detail
33
+ ? entry.setup.detail
34
+ : (ANSWERS[entry.setup?.how ?? member(entry.id)?.wake] ??
35
+ "when it next looks");
33
36
 
34
37
  const NOTE_LIMIT = 300;
35
38
  const noteKey = (id) => `agent-note:${id}`;
package/lib/daemon.mjs CHANGED
@@ -3001,6 +3001,20 @@ export async function startDaemon() {
3001
3001
  });
3002
3002
  return { ok: true };
3003
3003
  },
3004
+ // The buddy's tour: once, on the computer that holds the swarm, after setup. `setup` says it may still come due.
3005
+ "tour.state": () => {
3006
+ const config = readJson(paths.config, {});
3007
+ const setup = config.setupDone === false;
3008
+ const home = machine.role !== "worker";
3009
+ return { ok: true, setup, due: home && !setup && !config.tourDone };
3010
+ },
3011
+ "tour.done": () => {
3012
+ writeJsonAtomic(paths.config, {
3013
+ ...readJson(paths.config, {}),
3014
+ tourDone: true,
3015
+ });
3016
+ return { ok: true };
3017
+ },
3004
3018
  doctor: () => ({
3005
3019
  ok: true,
3006
3020
  status: state,
package/lib/members.json CHANGED
@@ -64,7 +64,7 @@
64
64
  "fixedRole": { "specialty": "prediction-markets", "role": "analyst" },
65
65
  "about": "prediction markets research: one search over the markets it tracks, with their odds and rules",
66
66
  "where": "on Harness's server", "limits": "Takes no positions from a task. Cannot see files on this computer." },
67
- { "id": "muse", "name": "Muse", "aliases": [], "road": "hosted", "home": "cloud", "runs": "self", "target": true, "wake": "schedule",
67
+ { "id": "muse", "name": "Muse", "aliases": [], "road": "hosted", "home": "cloud", "runs": "self", "target": true, "wake": "listen",
68
68
  "about": "writing and creative drafts",
69
69
  "where": "in Meta's cloud", "limits": "Cannot see files on this computer unless one is attached with share_with_cloud, and cannot run anything here." },
70
70
  { "id": "openclaw", "name": "OpenClaw", "aliases": ["open claw"], "road": "local", "home": "machine", "runs": "self", "target": true, "wake": "local-webhook",
package/lib/onboard.mjs CHANGED
@@ -224,8 +224,8 @@ async function waitFor(check, waitMs = 10 * 60_000, everyMs = 3_000) {
224
224
 
225
225
  /**
226
226
  * Muse, set up the way Grok Bot is: the message Harness writes goes on the clipboard, Muse opens Harness's approval
227
- * page, and the person names the connection Muse. Harness cannot wake Muse, so there is no wake to choose and no test:
228
- * Muse checks on the schedule the person gives it, and is answering once it has read the board.
227
+ * page, and the person names the connection Muse. The message also starts Muse listening for work and adds an hourly
228
+ * check, so there is no wake to choose and no test: it is answering once it has read the board.
229
229
  */
230
230
  async function setupMuse({ ui, daemonRequest, clipboard }) {
231
231
  const list = () =>
@@ -242,12 +242,12 @@ async function setupMuse({ ui, daemonRequest, clipboard }) {
242
242
  (listing?.setup || []).find((entry) => entry.agent === "muse");
243
243
  const current = museSetup(listed);
244
244
  if (current?.state === "answering") {
245
- ui.success("Muse is connected and checks Harness on its own schedule");
245
+ ui.success("Muse is connected and wakes when work is posted");
246
246
  return;
247
247
  }
248
248
  if (current && !current.missing?.includes("connection")) {
249
249
  ui.success(
250
- `Muse is connected to Harness ${pc.dim("· it picks up work at its next check")}`
250
+ `Muse is connected to Harness ${pc.dim("· it wakes when work is posted")}`
251
251
  );
252
252
  return;
253
253
  }
@@ -280,7 +280,7 @@ async function setupMuse({ ui, daemonRequest, clipboard }) {
280
280
  });
281
281
  spin.stop(
282
282
  connected
283
- ? "Muse is connected. It picks up work at each check"
283
+ ? "Muse is connected. It wakes when work is posted"
284
284
  : `Muse has not connected yet. When it has: ${relayCommand()} agents setup muse`,
285
285
  connected ? 0 : 2
286
286
  );
@@ -529,7 +529,7 @@ export async function setupSwarm({
529
529
  }
530
530
  if (only === "muse") {
531
531
  ui.step(
532
- `Muse ${pc.dim("· runs in Meta's cloud, checks Harness on its own schedule")}`
532
+ `Muse ${pc.dim("· runs in Meta's cloud, wakes when work is posted")}`
533
533
  );
534
534
  await setupMuse({ ui, daemonRequest, clipboard });
535
535
  }
@@ -32,9 +32,9 @@
32
32
  "node": ">=18"
33
33
  },
34
34
  "optionalDependencies": {
35
- "tryharness-desktop-darwin-arm64": "0.7.82",
36
- "tryharness-desktop-darwin-x64": "0.7.82",
37
- "tryharness-desktop-linux-x64": "0.7.82"
35
+ "tryharness-desktop-darwin-arm64": "0.7.83",
36
+ "tryharness-desktop-darwin-x64": "0.7.83",
37
+ "tryharness-desktop-linux-x64": "0.7.83"
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.82",
1055
- "resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-arm64/-/tryharness-desktop-darwin-arm64-0.7.82.tgz",
1056
- "integrity": "sha512-n/3/1l+dAcbyJmEDV/Z7DWGLb/WfM9gmCTyiy31Ot0Csnxk5bVaXeOuxpR6gwO6fixvZZbHuogFc1vTw6sh+/Q==",
1054
+ "version": "0.7.83",
1055
+ "resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-arm64/-/tryharness-desktop-darwin-arm64-0.7.83.tgz",
1056
+ "integrity": "sha512-ko0CGgTX6UAnhMHp2rwjwK0tFdbXli4gfFkURP27ZlQqbNR0ax9b4JKqfPSbL9SqhISlkjMqGGdBcrqOUGJ71g==",
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.82",
1068
- "resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-x64/-/tryharness-desktop-darwin-x64-0.7.82.tgz",
1069
- "integrity": "sha512-yfYrtpO3jwC47GaaeRflVvHccEblK2twy4wZZllok5Aljou8+F5wnxRzBef1Gt9wVyEIsX9sNNcb8I5XgZTJfg==",
1067
+ "version": "0.7.83",
1068
+ "resolved": "https://registry.npmjs.org/tryharness-desktop-darwin-x64/-/tryharness-desktop-darwin-x64-0.7.83.tgz",
1069
+ "integrity": "sha512-xhqKKVZ2O5bmVYI6Y79PFPqV6nInTVmFWWlTMRfN7kcXj3TPJoIhba0fOR+k8El2HEXwc4rIoOUXgYmNmc+bLw==",
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.82",
1081
- "resolved": "https://registry.npmjs.org/tryharness-desktop-linux-x64/-/tryharness-desktop-linux-x64-0.7.82.tgz",
1082
- "integrity": "sha512-ZCgQhbNaBa6mhheQnpU1fGEkwM46X8IG1dYNDwdWYQJRDU4Uc69HqVSykDtflePGxVn/Nn5B/gfx2TWlLLzxzQ==",
1080
+ "version": "0.7.83",
1081
+ "resolved": "https://registry.npmjs.org/tryharness-desktop-linux-x64/-/tryharness-desktop-linux-x64-0.7.83.tgz",
1082
+ "integrity": "sha512-SRQlUBJ59L5270mfWDfqgZbtqxO8Ke9iMBGQEcX1sLkuS0ySlTYRAoSZiQRt8VAkFT4wrgf8Q3e3C2/g0/603g==",
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.82",
3
+ "version": "0.7.83",
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.82",
52
- "tryharness-desktop-darwin-x64": "0.7.82",
53
- "tryharness-desktop-linux-x64": "0.7.82"
51
+ "tryharness-desktop-darwin-arm64": "0.7.83",
52
+ "tryharness-desktop-darwin-x64": "0.7.83",
53
+ "tryharness-desktop-linux-x64": "0.7.83"
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.82",
4
+ "version": "0.7.83",
5
5
  "files": {
6
6
  "README.md": "db9453306dc2ea519b97675bb2a115461f3101660ec24b004010f851827c9b1e",
7
7
  "assets/dsh-plugin.mjs": "143d31361d3c34b0a9effdeaa9248f1df6166f9bb45826a9a96ec9aa21899411",
@@ -32,7 +32,7 @@
32
32
  "lib/boardFileCommands.mjs": "cb0df840bc273cbeaf5f71e8956dcdc4610594f5da32dde80afd2ea693fbeb0b",
33
33
  "lib/boardFiles.mjs": "48329190ea3dcf17e6a26b75bb381e656a80015d737f88883f7571125fd54235",
34
34
  "lib/boardMirror.mjs": "5ca0c947c82dde2139c9cf8705830e8db53ab2ff1ca580b30c0ab2c4273d0bfc",
35
- "lib/boardProtocol.json": "4cfcb29d99a3ca511ebe8ed47fc7d4530b1624d95feda8dc37c7418894b4e9aa",
35
+ "lib/boardProtocol.json": "c660ca5c92525379988ecb2d6a1c4f2b048d44ab90eb5a219895070da9372d3d",
36
36
  "lib/boardProtocol.mjs": "9148f3e2905b5de761d5c5651686d131da66285579650fd1ad7b46b6ecc17a47",
37
37
  "lib/boardThreads.mjs": "e78dc7fd22540ad0e201f312ea8e575d21463079e7ad42aae76d89c465698fdc",
38
38
  "lib/boardTools.mjs": "54a6b354b1316c1380b788e394511cc568a2bfc22b553e0f8a58a786450a1a63",
@@ -44,7 +44,7 @@
44
44
  "lib/browserWake.mjs": "7655043da78d75710bd4f225d254b971823572395f4f7b725f8a40a7ecdcf2d9",
45
45
  "lib/callSessions.mjs": "f5ae736aedb77396ae063d558ddb2a2c5304735c9b3fa71fbdbf00ff960e09d2",
46
46
  "lib/capabilityCheck.mjs": "91dee3ed18106ca5b855db846b987605e5ca891d91bb6a114933d0453b2640ae",
47
- "lib/cards.mjs": "523978ff15f5f66fb1baf45cb639c6e9a69bf403646dc158b0f4b677991d10af",
47
+ "lib/cards.mjs": "b3c8b61212e9bc95c694658ffb4c111ea25480322967829713099bd72a2f9a2f",
48
48
  "lib/claudemem.mjs": "f548d4fa237ba1e47200bee59ebb12eb82b4616be0e885d6baf308f6f6a75e51",
49
49
  "lib/cloudAgents.mjs": "899f71bbad5175671f6e4eb56e852cb0278371fd1db105d4833088845b9cb482",
50
50
  "lib/cloudAi.mjs": "48a873a359b9bcb1dee7f38c43061b5c872c68fd8edb4b46872d83de51d25543",
@@ -70,7 +70,7 @@
70
70
  "lib/controlSocket.mjs": "24b366d24c0cc9ca6b9c9b3490d47440edac1b1be91e2bc04e8b693b635a952e",
71
71
  "lib/coordinator.mjs": "d375466c7c66bc82f3ef0de1f36ba7b4da832c197c54b31317fa4e2e49da8e93",
72
72
  "lib/coreModels.mjs": "481633a56283bbed58688300c5139962ae3d8602559015df5801decd8aa8d233",
73
- "lib/daemon.mjs": "17abfce6984dfa21c51542f9e1472587d40313d32c9ddcd6d82c60642450c5ec",
73
+ "lib/daemon.mjs": "da83d313c4becd7f459243f5491fa174d2e4283c9e96c386d392ffe004a8dd98",
74
74
  "lib/desk.mjs": "e769e1f68117d9d6163538ba73318b2fdae48c179274e6da4f93db8f4febcdf8",
75
75
  "lib/desktop.mjs": "e60ca53ea41c3e845b4d507724d4ecd65fcd430e9e66976c2eb35acc0640aa2f",
76
76
  "lib/digest.mjs": "bcfb988a02dfc118f20d67a9e549be5640eae374a714a3d484fec86454caf04a",
@@ -124,7 +124,7 @@
124
124
  "lib/mcp-stdio.mjs": "89b9e2e5aa500de3b0cebe64555954e95893f06367ff6ca2cb931f44d75316e9",
125
125
  "lib/mcpRelay.mjs": "dd7613ee43ae5123a5eb4787f9ee370a48c243d816a77d950b8a91ce3c231896",
126
126
  "lib/media.mjs": "69d6cb94474851f3ef0cf4bc1fe91543b59d1103661744f1a0c91d7997bfc7aa",
127
- "lib/members.json": "f3e12f83184a7d4752443c14815c11993f2249247b082447cac04fdc29975b8d",
127
+ "lib/members.json": "0d90bcca26c3c1b0c3837e05bbe828e36ae77b41bc1dad1be91eea6f7673135b",
128
128
  "lib/members.mjs": "e54e8b81dcacac06c6fa0216ed5b2566d638a016c48ace22faf6b87ea477c5bb",
129
129
  "lib/modelMemory.mjs": "4db29160cfb5fa429f87312dd8ef42f739c54bd78e7c66a9d6b6eae3803fcec4",
130
130
  "lib/models.mjs": "d152ccfca67624a0f487116cf1e6d262ec456e00e6b97d550b2b1fd1fe05749c",
@@ -136,7 +136,7 @@
136
136
  "lib/notify.mjs": "046cb45548d355c116bafee4de91904ebe04688a237265e2cb4bd72cf42a3637",
137
137
  "lib/nudge.mjs": "ae82bf7fe38eb6a2128ea51732601d78b705a50f5686dd8dab38ce9e7dd866cd",
138
138
  "lib/ocr.mjs": "d08ea4182612387b68555fcea7433bc458bb98fa67cdc2457d53b71a2265a6f4",
139
- "lib/onboard.mjs": "6cba77af7404e99c933d70f032fe5f739e6b128c01ba4eeeda983c414fe50b30",
139
+ "lib/onboard.mjs": "2d96a5251a9dbcc6d1244d849cf38ede16a7518307f3b726771e893c9c812bdb",
140
140
  "lib/oneLine.mjs": "0864a8fcc1138dd5f62bc1147fbcc70a9d181d7ec3301b51e00aca25ee93d249",
141
141
  "lib/oneclawLocal.mjs": "da17884178b1a88e5cc4125b5112ae5def66806fdf934e0ad73bafb641a7dc97",
142
142
  "lib/onnxWorker.mjs": "b94f5ec718c8fac80446d1fe21252abbccfec7f3f79186f7a54861c71f6e2410",
@@ -248,10 +248,10 @@
248
248
  "lib/workFocus.mjs": "08d3002d6114859bf7623fbcb62a5ed1dd12cecba6c8e37ed55a550a15a207a4",
249
249
  "lib/workLinks.mjs": "8269180900fdf5fbd547a4c2337bcde4d5f733621c5b72bc2c23f01e72ad3d7d",
250
250
  "lib/worktrees.mjs": "a040441863ee76e39e292e262b903b392e12d4158aa886e4c237b6fa98c0d7d2",
251
- "npm-shrinkwrap.json": "3ec42956566be48cf9a12243a9d2d10319510e59c770892d668809e3f2594c4a",
252
- "package.json": "fa19d77c1b76ea8e3f94d4b74f2449db432927496678d9384de30bb41ddf09ff"
251
+ "npm-shrinkwrap.json": "68f4c09390943be3a99b7cbe2b5c88c5e50e8f4a5df759af202028b5dc4f1b8e",
252
+ "package.json": "8795caabfc734985a686f27b533ffa3d0460d05722ee60648386977d5fde30ca"
253
253
  }
254
254
  },
255
255
  "key": "5bf9e60f5cabb530",
256
- "signature": "i0ZpqUWhRXEG79gdQW7K7d/Wc6aXCiFOfTtB7VpOv18LXIIjZEgUIskma/02mAyxcMxmNItR8o7ko/xOLjMwAg=="
256
+ "signature": "vmqoTpA+SqrqdzQIQOm7Tmlv2uziaUk1fknEzUqJsmpl9zxGV/BV0Pli1bY1rNguPkN72UVY7kAnzfLfJ8taCg=="
257
257
  }