tryharness 0.7.76 → 0.7.78
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/lib/capabilityCheck.mjs +9 -1
- package/lib/coordinator.mjs +156 -12
- package/lib/daemon.mjs +15 -1
- package/lib/dispatcher.mjs +24 -4
- package/lib/goalCommands.mjs +24 -4
- package/lib/goals.mjs +9 -3
- package/lib/manager.mjs +34 -0
- package/lib/ownMachines.mjs +7 -2
- package/lib/swarm.mjs +4 -1
- package/lib/threadActions.mjs +9 -5
- package/lib/threadRuns.mjs +117 -12
- package/lib/threadView.mjs +1 -1
- package/npm-shrinkwrap.json +14 -14
- package/package.json +4 -4
- package/release.json +16 -16
package/lib/capabilityCheck.mjs
CHANGED
|
@@ -108,6 +108,14 @@ export function createCapabilityCheck({
|
|
|
108
108
|
return reply ? shaped(reply) : unknown("the computer did not answer");
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
+
/** Whether that computer is away now: another of the person's computers, not connected, so it cannot be asked. */
|
|
112
|
+
const away = (id) =>
|
|
113
|
+
Boolean(id) &&
|
|
114
|
+
id !== machine().id &&
|
|
115
|
+
!(ownMachines()?.all() ?? []).some(
|
|
116
|
+
(computer) => computer.id === id && computer.connected
|
|
117
|
+
);
|
|
118
|
+
|
|
111
119
|
/** A computer's name as the person knows it. */
|
|
112
120
|
const labelOf = (id) =>
|
|
113
121
|
!id || id === machine().id
|
|
@@ -118,5 +126,5 @@ export function createCapabilityCheck({
|
|
|
118
126
|
/** This computer's id, for an answer kept beside it. */
|
|
119
127
|
const here = () => machine().id;
|
|
120
128
|
|
|
121
|
-
return { answer, check, choosing, on, labelOf, here };
|
|
129
|
+
return { answer, check, choosing, on, away, labelOf, here };
|
|
122
130
|
}
|
package/lib/coordinator.mjs
CHANGED
|
@@ -184,6 +184,11 @@ export function createCoordinator({
|
|
|
184
184
|
// The person's asks the manager has seen done in a thread.
|
|
185
185
|
doneAsks = () => [],
|
|
186
186
|
computerOf = (goalId) => store.meta(`thread-work-computer:${goalId}`) || null,
|
|
187
|
+
// The computers a post names for the agents it wakes (threadActions.mjs computerAddress): `#pop-os` or
|
|
188
|
+
// `@codex on pop-os`.
|
|
189
|
+
computerAddress = () => ({ ok: true, shared: null, forAgent: () => null }),
|
|
190
|
+
// Whether an agent's turn in the thread waits for the computer the person named to come back (threadRuns.mjs).
|
|
191
|
+
waitsForComputer = () => false,
|
|
187
192
|
// A post from the other side of a shared project (projects.mjs): their own swarm sorts it, so it starts no round here.
|
|
188
193
|
fromPartner = () => false,
|
|
189
194
|
// This computer's reading of the words a round Harness's server decided (serverWords.mjs).
|
|
@@ -245,6 +250,34 @@ export function createCoordinator({
|
|
|
245
250
|
);
|
|
246
251
|
return answered ? null : newest;
|
|
247
252
|
};
|
|
253
|
+
// The computer the person named for `agent` in `message`, by id, or null. It wins over the thread's checkout and
|
|
254
|
+
// over Jev's pick (A1 run, November 2: "#pop-os" and "#Sigalas-MBP-2" both ran where the thread had last worked, and
|
|
255
|
+
// Claude Code handed each on by hand).
|
|
256
|
+
const namedComputer = (message, agent) => {
|
|
257
|
+
if (message?.author !== "user") return null;
|
|
258
|
+
const address = computerAddress(message.text, "user");
|
|
259
|
+
return address.ok ? (address.forAgent(agent)?.id ?? null) : null;
|
|
260
|
+
};
|
|
261
|
+
// Whether Jev may offer an agent for the person's message: a coding agent only when it is on the computer the message
|
|
262
|
+
// names, online or not (work for one that is offline waits for it, threadRuns.mjs). When no coding agent is on it,
|
|
263
|
+
// every agent stays offered and the run says why it cannot go there.
|
|
264
|
+
const namedComputerFilter = (thread, asked) => {
|
|
265
|
+
const message = personMessage(thread, asked);
|
|
266
|
+
const isOn = (agent) => {
|
|
267
|
+
const named = namedComputer(message, agent);
|
|
268
|
+
return (
|
|
269
|
+
!named ||
|
|
270
|
+
(machinesOf(agent, thread.goal.workspace) ?? []).some(
|
|
271
|
+
(computer) => computer.id === named
|
|
272
|
+
)
|
|
273
|
+
);
|
|
274
|
+
};
|
|
275
|
+
const anyOn = roster().some(
|
|
276
|
+
(card) =>
|
|
277
|
+
CODING.has(card.id) && namedComputer(message, card.id) && isOn(card.id)
|
|
278
|
+
);
|
|
279
|
+
return (agent) => !anyOn || !CODING.has(agent) || isOn(agent);
|
|
280
|
+
};
|
|
248
281
|
// An agent is handed each of the person's messages once, whichever round hands it on: a new thread's opening round
|
|
249
282
|
// and its message-to-the-swarm round both handed Claude Code the A1 message (live, November 1).
|
|
250
283
|
// A run of the agent that ended after the message was handed to it frees the message for another try (a retry
|
|
@@ -387,16 +420,18 @@ export function createCoordinator({
|
|
|
387
420
|
: ((machinesOf(agent, thread.goal.workspace) ?? []).find(
|
|
388
421
|
(computer) => computer.online
|
|
389
422
|
)?.id ?? null);
|
|
390
|
-
// The computer the agent's work lands on, as the run is placed (threadRuns.mjs wake): the
|
|
391
|
-
// thread's checkout, else the one this agent or the thread worked on
|
|
392
|
-
// the one Jev picked when it is online, else the agent's default. The
|
|
393
|
-
|
|
423
|
+
// The computer the agent's work lands on, as the run is placed (threadRuns.mjs wake): the one the person named in
|
|
424
|
+
// the message, else the computer holding the thread's checkout, else the one this agent or the thread worked on
|
|
425
|
+
// before, else the route's computer for it, else the one Jev picked when it is online, else the agent's default. The
|
|
426
|
+
// check looks at the same computer.
|
|
427
|
+
const placedOn = (thread, agent, computer, named = null) => {
|
|
394
428
|
const online = (id) =>
|
|
395
429
|
Boolean(id) &&
|
|
396
430
|
(machinesOf(agent, thread.goal.workspace) ?? []).some(
|
|
397
431
|
(each) => each.id === id && each.online
|
|
398
432
|
);
|
|
399
433
|
return (
|
|
434
|
+
named ||
|
|
400
435
|
computerOf(thread.id) ||
|
|
401
436
|
store.meta(`thread-computer:${thread.id}:${agent}`) ||
|
|
402
437
|
store.meta(`thread-computer:${thread.id}`) ||
|
|
@@ -412,9 +447,27 @@ export function createCoordinator({
|
|
|
412
447
|
* computer said no and the thread says what it found; the message goes back to Jev when another computer is online,
|
|
413
448
|
* and otherwise the thread waits on the person. A computer picked again after saying no pauses the thread.
|
|
414
449
|
*/
|
|
415
|
-
const checkedOn = async (thread, agent, computer, work, asked) => {
|
|
450
|
+
const checkedOn = async (thread, agent, computer, work, asked, at) => {
|
|
416
451
|
if (!checksTaken() || !MACHINE_RUNNERS.includes(agent)) return true;
|
|
417
|
-
const target =
|
|
452
|
+
const target =
|
|
453
|
+
at !== undefined
|
|
454
|
+
? at
|
|
455
|
+
: placedOn(
|
|
456
|
+
thread,
|
|
457
|
+
agent,
|
|
458
|
+
computer,
|
|
459
|
+
namedComputer(personMessage(thread, asked), agent)
|
|
460
|
+
);
|
|
461
|
+
// Away now: the turn waits for that computer (threadRuns.mjs), and the check is kept to run when it is back, before
|
|
462
|
+
// the turn starts (checkWaiting). Asked while away it answered "unknown", kept, and the turn then started on its
|
|
463
|
+
// return with nothing checked (A1 run, November 2).
|
|
464
|
+
if (capabilities.away?.(target)) {
|
|
465
|
+
store.meta(
|
|
466
|
+
laterKey(thread.id, agent),
|
|
467
|
+
JSON.stringify({ computer: target, work: String(work), asked })
|
|
468
|
+
);
|
|
469
|
+
return true;
|
|
470
|
+
}
|
|
418
471
|
const id = target ?? capabilities.here();
|
|
419
472
|
const label = capabilities.labelOf(target);
|
|
420
473
|
const kept = keptAnswers(thread) ?? {
|
|
@@ -465,6 +518,38 @@ export function createCoordinator({
|
|
|
465
518
|
poke(thread.id);
|
|
466
519
|
return false;
|
|
467
520
|
};
|
|
521
|
+
const laterKey = (goalId, agent) => `capability-later:${goalId}:${agent}`;
|
|
522
|
+
/**
|
|
523
|
+
* An agent's turn waited for its computer, which is back: the check kept for it runs there now. True: the turn starts.
|
|
524
|
+
* False: the computer said no, the thread says so, and the person's message goes back to Jev (or the thread pauses
|
|
525
|
+
* with no other computer to choose), as for a check made at once.
|
|
526
|
+
*/
|
|
527
|
+
const checkWaiting = async (goalId, agent) => {
|
|
528
|
+
let later = null;
|
|
529
|
+
try {
|
|
530
|
+
later = JSON.parse(store.meta(laterKey(goalId, agent)) || "null");
|
|
531
|
+
} catch {
|
|
532
|
+
later = null;
|
|
533
|
+
}
|
|
534
|
+
const thread = store.getTask(goalId);
|
|
535
|
+
if (!later || !thread?.goal) return true;
|
|
536
|
+
store.meta(laterKey(goalId, agent), "");
|
|
537
|
+
const can = await checkedOn(
|
|
538
|
+
thread,
|
|
539
|
+
agent,
|
|
540
|
+
null,
|
|
541
|
+
later.work,
|
|
542
|
+
later.asked ?? null,
|
|
543
|
+
later.computer
|
|
544
|
+
);
|
|
545
|
+
if (!can)
|
|
546
|
+
unmarkDelivered(
|
|
547
|
+
thread,
|
|
548
|
+
agent,
|
|
549
|
+
personMessage(thread, later.asked ?? null)
|
|
550
|
+
);
|
|
551
|
+
return can;
|
|
552
|
+
};
|
|
468
553
|
// The person's pins: specialty -> the agent that holds it when a step asks for it.
|
|
469
554
|
const pinsNow = () =>
|
|
470
555
|
Object.fromEntries(
|
|
@@ -516,6 +601,20 @@ export function createCoordinator({
|
|
|
516
601
|
}
|
|
517
602
|
};
|
|
518
603
|
const settleAsked = (goalId) => store.meta(`swarm-asked:${goalId}`, "");
|
|
604
|
+
// Whether the person resumed the thread and neither they nor an agent has posted since: what the dispatcher posts
|
|
605
|
+
// (notes, the goal's wording) is not news.
|
|
606
|
+
const nothingSinceResume = (thread) => {
|
|
607
|
+
const resumedAt = Number(store.meta(`resumed-note:${thread.id}`) || 0);
|
|
608
|
+
if (!resumedAt) return false;
|
|
609
|
+
return !store
|
|
610
|
+
.roomPosts(thread.id, resumedAt, 500)
|
|
611
|
+
.some(
|
|
612
|
+
(post) =>
|
|
613
|
+
post.kind !== "note" &&
|
|
614
|
+
post.author !== thread.goal.facilitator &&
|
|
615
|
+
post.author !== DISPATCHER
|
|
616
|
+
);
|
|
617
|
+
};
|
|
519
618
|
|
|
520
619
|
// What this machine knows that the round needs, whole: the transcript, who can run, and progress since last time.
|
|
521
620
|
const facts = async (thread, state, asked = null) => {
|
|
@@ -586,10 +685,12 @@ export function createCoordinator({
|
|
|
586
685
|
const specialtiesTaken =
|
|
587
686
|
mode() === "local" || serverHas("team_specialties");
|
|
588
687
|
const can = await canDo(thread, posts, asked);
|
|
688
|
+
const onNamedComputer = namedComputerFilter(thread, asked);
|
|
589
689
|
// Who could hold a role on the thread's team: the candidates and the agents the person named.
|
|
590
690
|
const eligible = roster()
|
|
591
691
|
.filter(
|
|
592
692
|
(candidate) =>
|
|
693
|
+
onNamedComputer(candidate.id) &&
|
|
593
694
|
!failedHereLately(thread.id, candidate.id) &&
|
|
594
695
|
(!CODING.has(candidate.id) ||
|
|
595
696
|
placeable(candidate.id, thread.goal.workspace)) &&
|
|
@@ -1053,7 +1154,16 @@ export function createCoordinator({
|
|
|
1053
1154
|
]
|
|
1054
1155
|
: [],
|
|
1055
1156
|
});
|
|
1056
|
-
|
|
1157
|
+
// The computer holding the checkout is away and this agent works there: no one there is online to hold the
|
|
1158
|
+
// step now, but the turn waits for that computer (threadRuns.mjs) instead of pausing the thread (A1 run,
|
|
1159
|
+
// November 2: work for a computer that was asleep paused the thread).
|
|
1160
|
+
const away =
|
|
1161
|
+
placed &&
|
|
1162
|
+
!placed.ok &&
|
|
1163
|
+
(machinesOf(agent, thread.goal.workspace) ?? []).some(
|
|
1164
|
+
(computer) => computer.id === placed.computer && !computer.online
|
|
1165
|
+
);
|
|
1166
|
+
if (placed && !placed.ok && !away) {
|
|
1057
1167
|
const label =
|
|
1058
1168
|
roster()
|
|
1059
1169
|
.flatMap((card) => machinesOf(card.id, thread.goal.workspace) ?? [])
|
|
@@ -1067,7 +1177,7 @@ export function createCoordinator({
|
|
|
1067
1177
|
return;
|
|
1068
1178
|
}
|
|
1069
1179
|
const replacement =
|
|
1070
|
-
placed?.agents
|
|
1180
|
+
placed?.agents?.length === 1 ? placed.agents[0] : agent;
|
|
1071
1181
|
if (replacement !== agent) {
|
|
1072
1182
|
postAsCoordinator({
|
|
1073
1183
|
goalId: thread.id,
|
|
@@ -1089,9 +1199,11 @@ export function createCoordinator({
|
|
|
1089
1199
|
)
|
|
1090
1200
|
? options.computer
|
|
1091
1201
|
: null;
|
|
1202
|
+
const { message, ...rest } = options;
|
|
1092
1203
|
options = {
|
|
1093
|
-
...
|
|
1204
|
+
...rest,
|
|
1094
1205
|
routeMachine: team?.machineFor(thread.id, agent) ?? picked,
|
|
1206
|
+
on: namedComputer(message, agent),
|
|
1095
1207
|
};
|
|
1096
1208
|
const step = keepsTeams() ? team.pinnedStep(thread.id, agent) : null;
|
|
1097
1209
|
if (!step || !store.busyElsewhere(agent, thread.id)) {
|
|
@@ -1211,6 +1323,28 @@ export function createCoordinator({
|
|
|
1211
1323
|
notifyBoard(store.getTask(thread.id));
|
|
1212
1324
|
return;
|
|
1213
1325
|
}
|
|
1326
|
+
// Work waiting for the computer the person named starts there once it is back: no reason to pause either.
|
|
1327
|
+
if (decision.action === "pause" && waitsForComputer(thread.id)) {
|
|
1328
|
+
notifyBoard(store.getTask(thread.id));
|
|
1329
|
+
return;
|
|
1330
|
+
}
|
|
1331
|
+
// The person resumed and nothing came in since: pausing again for the same reason only sends the thread back to
|
|
1332
|
+
// them, and pressing Resume again did the same, six times in two minutes (A1 run, November 2). The thread stays
|
|
1333
|
+
// open and says once why; the person's next message is what moves it.
|
|
1334
|
+
if (decision.action === "pause" && nothingSinceResume(thread)) {
|
|
1335
|
+
const resumedAt = store.meta(`resumed-note:${thread.id}`);
|
|
1336
|
+
if (store.meta(`resume-unchanged:${thread.id}`) !== resumedAt) {
|
|
1337
|
+
store.meta(`resume-unchanged:${thread.id}`, resumedAt);
|
|
1338
|
+
postAsCoordinator({
|
|
1339
|
+
goalId: thread.id,
|
|
1340
|
+
author: coordinator,
|
|
1341
|
+
kind: "note",
|
|
1342
|
+
text: "Nothing new has come in since you resumed this, so Jev has no new way to go on. Write here what should change and the swarm takes it from there.",
|
|
1343
|
+
});
|
|
1344
|
+
}
|
|
1345
|
+
notifyBoard(store.getTask(thread.id));
|
|
1346
|
+
return;
|
|
1347
|
+
}
|
|
1214
1348
|
if (decision.action === "pause") {
|
|
1215
1349
|
pauseGoal(
|
|
1216
1350
|
thread.id,
|
|
@@ -1335,7 +1469,12 @@ export function createCoordinator({
|
|
|
1335
1469
|
withheld || message
|
|
1336
1470
|
? words
|
|
1337
1471
|
: `${nameOf(coordinator)} asked you: ${part.text.slice(0, 300)}`,
|
|
1338
|
-
{
|
|
1472
|
+
{
|
|
1473
|
+
review: part.review,
|
|
1474
|
+
words,
|
|
1475
|
+
computer: part.computer ?? null,
|
|
1476
|
+
message,
|
|
1477
|
+
},
|
|
1339
1478
|
coordinator
|
|
1340
1479
|
);
|
|
1341
1480
|
}
|
|
@@ -1457,7 +1596,7 @@ export function createCoordinator({
|
|
|
1457
1596
|
: message
|
|
1458
1597
|
? text
|
|
1459
1598
|
: `${nameOf(coordinator)} asked you: ${text.slice(0, 300)}`,
|
|
1460
|
-
{ review, words: text, computer: decision.computer ?? null },
|
|
1599
|
+
{ review, words: text, computer: decision.computer ?? null, message },
|
|
1461
1600
|
coordinator
|
|
1462
1601
|
);
|
|
1463
1602
|
if (withheld) saidWithheld(thread, withheld, [agent]);
|
|
@@ -1649,7 +1788,11 @@ export function createCoordinator({
|
|
|
1649
1788
|
thread,
|
|
1650
1789
|
agent,
|
|
1651
1790
|
`${intent.coordinator} asked you: ${String(words).slice(0, 300)}`,
|
|
1652
|
-
{
|
|
1791
|
+
{
|
|
1792
|
+
words,
|
|
1793
|
+
computer: intent.decision.computer ?? null,
|
|
1794
|
+
message: personMessage(thread, intent.asked),
|
|
1795
|
+
},
|
|
1653
1796
|
intent.coordinator
|
|
1654
1797
|
);
|
|
1655
1798
|
}
|
|
@@ -2029,6 +2172,7 @@ export function createCoordinator({
|
|
|
2029
2172
|
poke,
|
|
2030
2173
|
heard,
|
|
2031
2174
|
resumed,
|
|
2175
|
+
checkWaiting,
|
|
2032
2176
|
assembles,
|
|
2033
2177
|
recover,
|
|
2034
2178
|
hostedAtWork,
|
package/lib/daemon.mjs
CHANGED
|
@@ -1165,6 +1165,13 @@ export async function startDaemon() {
|
|
|
1165
1165
|
placeElsewhere: (agent, workspace) =>
|
|
1166
1166
|
ownMachines?.placeElsewhere(agent, workspace) ?? null,
|
|
1167
1167
|
threadFiles: (thread) => boardFiles.threadFiles(thread).files,
|
|
1168
|
+
// Jev passes over the agent in this thread for a while (coordinator.mjs failedHereLately) and picks again.
|
|
1169
|
+
unplaced: (goalId, agent) => {
|
|
1170
|
+
store.meta(`job-failed:${goalId}:${agent}`, new Date().toISOString());
|
|
1171
|
+
coordinator.resumed(goalId);
|
|
1172
|
+
},
|
|
1173
|
+
checkBeforeStart: (goalId, agent) =>
|
|
1174
|
+
coordinator.checkWaiting(goalId, agent),
|
|
1168
1175
|
// Read when a turn starts: the person's computers are known once ownMachines is made, after this.
|
|
1169
1176
|
computers: {
|
|
1170
1177
|
self: () => ownMachines?.self() ?? null,
|
|
@@ -1284,12 +1291,14 @@ export async function startDaemon() {
|
|
|
1284
1291
|
goalId,
|
|
1285
1292
|
agent,
|
|
1286
1293
|
reason,
|
|
1287
|
-
{ review, words, routeMachine } = {}
|
|
1294
|
+
{ review, words, routeMachine, on = null } = {}
|
|
1288
1295
|
) =>
|
|
1289
1296
|
RUNNERS.has(agent)
|
|
1290
1297
|
? threadRuns.wake(goalId, agent, reason, {
|
|
1291
1298
|
review,
|
|
1292
1299
|
routeMachine,
|
|
1300
|
+
// The computer the person named in the message this answers.
|
|
1301
|
+
on,
|
|
1293
1302
|
// The person's words whole go into the agent's brief, not only the line that says why it was woken.
|
|
1294
1303
|
words,
|
|
1295
1304
|
asker: DISPATCHER,
|
|
@@ -1859,6 +1868,8 @@ export async function startDaemon() {
|
|
|
1859
1868
|
),
|
|
1860
1869
|
machinesOf: (agent, workspace) =>
|
|
1861
1870
|
ownMachines?.computersFor(agent, workspace),
|
|
1871
|
+
computerAddress: actions.computerAddress,
|
|
1872
|
+
waitsForComputer: (goalId) => threadRuns.waitsForComputer(goalId),
|
|
1862
1873
|
capabilities: capabilityCheck,
|
|
1863
1874
|
computerOf: threadRuns.computerOf,
|
|
1864
1875
|
placeable: (agent, workspace) =>
|
|
@@ -2669,10 +2680,13 @@ export async function startDaemon() {
|
|
|
2669
2680
|
changed: () => {
|
|
2670
2681
|
saveStatus();
|
|
2671
2682
|
dispatcher.warm();
|
|
2683
|
+
// A turn waiting for one of these computers starts there once it is back (threadRuns.mjs).
|
|
2684
|
+
threadRuns.computersChanged();
|
|
2672
2685
|
},
|
|
2673
2686
|
folders: (options) => machineFolders(options),
|
|
2674
2687
|
repositoryOf: (folder) => repositoryName(folder),
|
|
2675
2688
|
inventoryChanged: () => {
|
|
2689
|
+
threadRuns.computersChanged();
|
|
2676
2690
|
for (const goal of store.goals())
|
|
2677
2691
|
if (store.meta(`inventory-wait:${goal.id}`)) coordinator.poke(goal.id);
|
|
2678
2692
|
},
|
package/lib/dispatcher.mjs
CHANGED
|
@@ -38,7 +38,7 @@ const FAITHFUL =
|
|
|
38
38
|
|
|
39
39
|
export const JOBS = {
|
|
40
40
|
question: `You are the dispatcher for a person's agents. Write one message to the person saying what the thread needs from them, based on \`transcript\` and \`request\`; \`category\` says what it is about (spend: money above what the thread may spend; outward: something outward-facing or hard to undo; secret: something only they have; scope: what the goal is for). If several decisions are open, put them together in this one message, each with lettered options and the option the swarm will take if they have no preference. Say in a few words what was already checked. If \`category\` is secret, never ask for the secret itself in the thread: ask them to give it privately. ${FAITHFUL} Plain words, no greeting. Also give each decision as a choice the person can answer with one tap: \`question\` in a few words, two to four short \`options\`, and \`recommended\`, the index of the option the swarm will take with no preference (or null). Return JSON {"text": string, "choices": [{"question": string, "options": [string], "recommended": number | null}]}.`,
|
|
41
|
-
goal: 'You are the dispatcher for a person\'s agents. From the person\'s own posts in `transcript` and `request`,
|
|
41
|
+
goal: 'You are the dispatcher for a person\'s agents. From the person\'s own posts in `transcript` and `request`, write the goal of the thread as it stands now. The newest of the person\'s posts wins: when it asks about another computer, file, place or thing than the earlier ones, the goal is now about that, in its name. A word after # (#pop-os) is the name of one of the person\'s computers. `statement`: the whole aim in one to three plain sentences in the person\'s terms, including what matters most to them (speed, quality, cost, the kind of result) where they said so. `criteria`: one to five checks that would show the goal is reached, each one sentence that a person or code can verify about the result the person wants (e.g. "The installed Python version is named in the thread"), never about the request itself or what the transcript contains. A check names what the request is about (the computer, file or place), so a result about something else cannot meet it. `title`: what the work is, in two to six plain words the person would use, with no ending punctuation (e.g. "Find the installed Python version"). Return JSON {"title": string, "statement": string, "criteria": [string]}.',
|
|
42
42
|
open_item:
|
|
43
43
|
'You are the dispatcher for a person\'s agents. In one or two plain sentences, record the part of the request that could not be done: what it was, what was tried and why it did not work, based on `transcript` and `failed_jobs`. Return JSON {"text": string}.',
|
|
44
44
|
pause:
|
|
@@ -50,6 +50,7 @@ export const JOBS = {
|
|
|
50
50
|
// stand after an agent's report.
|
|
51
51
|
judge_message: `You keep a person's swarm of agents to what the person asked. The JSON below has the person's newest message (\`post\`), the posts before it (\`transcript\`), and the person's open asks (\`asks\`). Say what the message is. Answer with one JSON object only: {"kind": "work" (it asks the agents to do something or produce a result not already in \`asks\`) | "question" (it asks the agents something and wants an answer) | "idea" (the person is exploring an idea or talking through the agents' reasoning, not asking for it to be done) | "answer" (it answers a question or approves a choice put to the person) | "chat" (anything else), "steers": the index in \`asks\` of the ask it changes, corrects or narrows, or null, "withdraws": true if it drops that ask, else false}.`,
|
|
52
52
|
judge_report: `You keep a person's swarm of agents to what the person asked. The JSON below has an agent's report (\`post\`), the posts before it (\`transcript\`), and one item to judge it against (\`item\`): an ask of the person's (kind work or question, with the person's own words, newest word wins) or a check of the thread's goal (kind check). Answer with one JSON object only: {"state": "done" | "in_progress" | "ignored" | "contradicted" (ignored: reported finished without doing it or only part; contradicted: did something different, or claims something the thread does not show), "shown": true if something other than an agent saying so shows it done (a file, commit, command run with output, link, the result itself), else false, "taste": true if only the person's own judgment can settle it, else false}. For kind question, "done" means it was answered; for kind check, that the report shows the check reached.`,
|
|
53
|
+
judge_handoff: `An agent wrote \`post\` in a thread. Does the post itself contain the result of the work (the answer, findings, output, or what was changed), or only a request for another agent to do it? Answer with one JSON object only: {"has_result": true if the post contains the result, false if it only asks another agent to do the work}.`,
|
|
53
54
|
};
|
|
54
55
|
|
|
55
56
|
/** The JSON object in a model's answer: the whole answer, or the object inside prose or a code fence. */
|
|
@@ -72,8 +73,17 @@ export const objectIn = (text) => {
|
|
|
72
73
|
return null;
|
|
73
74
|
};
|
|
74
75
|
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
// Words over `max` end at their last whole sentence that fits, else their last whole word: a pause reason cut at 300
|
|
77
|
+
// characters once ended "cannot procee" (A1 run, November 2).
|
|
78
|
+
const clean = (value, max) => {
|
|
79
|
+
if (typeof value !== "string") return "";
|
|
80
|
+
const text = value.trim();
|
|
81
|
+
if (text.length <= max) return text;
|
|
82
|
+
const head = text.slice(0, max - 1);
|
|
83
|
+
const sentence = head.match(/^[\s\S]*[.!?](?=\s)/)?.[0];
|
|
84
|
+
if (sentence && sentence.length >= max / 2) return sentence;
|
|
85
|
+
return `${head.replace(/\s+\S*$/, "")}…`;
|
|
86
|
+
};
|
|
77
87
|
|
|
78
88
|
/** A setting as the person gave it, or the reason it cannot be one. */
|
|
79
89
|
export function dispatcherSetting(value) {
|
|
@@ -362,7 +372,17 @@ export function createDispatcher({
|
|
|
362
372
|
const goal = await attempt(
|
|
363
373
|
"the goal",
|
|
364
374
|
async () => {
|
|
365
|
-
|
|
375
|
+
// Only the person's own words: shown the current goal, the base LFM3-Omni copied it word for word after the
|
|
376
|
+
// person named another computer (A1 run, November 2: "#pop-os" and "#Sigalas-MBP-2" kept "this Mac"), and an
|
|
377
|
+
// agent's post about one computer was read as the person's aim (dispatcher-slot 2c).
|
|
378
|
+
const said = {
|
|
379
|
+
thread: base.thread,
|
|
380
|
+
request: base.request,
|
|
381
|
+
transcript: base.transcript.filter(
|
|
382
|
+
(post) => post.author === "user"
|
|
383
|
+
),
|
|
384
|
+
};
|
|
385
|
+
const output = await job(JOBS.goal, said, (each) => {
|
|
366
386
|
const criteria = Array.isArray(each.criteria) ? each.criteria : [];
|
|
367
387
|
return (
|
|
368
388
|
Boolean(clean(each.statement, 4_000)) &&
|
package/lib/goalCommands.mjs
CHANGED
|
@@ -301,10 +301,27 @@ export function createGoalCommands({
|
|
|
301
301
|
const answered = named.filter((name) =>
|
|
302
302
|
store.meta(waitingKey(name, agent))
|
|
303
303
|
);
|
|
304
|
+
// An asker that passed its own work on with its ask (the manager found its report holds no result) has nothing
|
|
305
|
+
// to go on with: the answer is the result, read in the thread, and starts no turn (A1 run, November 2: Codex's
|
|
306
|
+
// answer woke Claude Code, which did the same look again). One that asked mid-work hears it as before.
|
|
307
|
+
const passedOn = (asker) => {
|
|
308
|
+
const askedAt = Number(
|
|
309
|
+
/^#(\d+)$/.exec(store.meta(waitingKey(asker, agent)))?.[1]
|
|
310
|
+
);
|
|
311
|
+
const handedAt = Number(
|
|
312
|
+
store.meta(`handed-off:${goal.id}:${asker}`) || 0
|
|
313
|
+
);
|
|
314
|
+
return askedAt > 0 && handedAt >= askedAt;
|
|
315
|
+
};
|
|
304
316
|
const wakes =
|
|
305
317
|
agent === "user" || agent === "harness"
|
|
306
318
|
? mentions
|
|
307
|
-
: [
|
|
319
|
+
: [
|
|
320
|
+
...new Set([
|
|
321
|
+
...asked,
|
|
322
|
+
...answered.filter((name) => !passedOn(name)),
|
|
323
|
+
]),
|
|
324
|
+
];
|
|
308
325
|
// A computer chosen for the agents it wakes that cannot be read refuses the post, which then wakes no one on
|
|
309
326
|
// Home in its place (computerAddress.mjs).
|
|
310
327
|
const target = request.targetMachine ?? null;
|
|
@@ -313,10 +330,9 @@ export function createGoalCommands({
|
|
|
313
330
|
if (!address.ok) return { ok: false, error: address.error };
|
|
314
331
|
}
|
|
315
332
|
for (const name of answered) store.meta(waitingKey(name, agent), "");
|
|
316
|
-
if (agent !== "user" && agent !== "harness")
|
|
317
|
-
for (const name of asked) store.meta(waitingKey(agent, name), "1");
|
|
318
333
|
const unwoken = mentions.filter(
|
|
319
|
-
(name) =>
|
|
334
|
+
(name) =>
|
|
335
|
+
!wakes.includes(name) && !answered.includes(name) && name !== agent
|
|
320
336
|
);
|
|
321
337
|
const joining = mentions.filter(
|
|
322
338
|
(name) => !goal.goal.team.includes(name)
|
|
@@ -331,6 +347,10 @@ export function createGoalCommands({
|
|
|
331
347
|
mentions,
|
|
332
348
|
});
|
|
333
349
|
replaceHeld(goal.id, agent, post);
|
|
350
|
+
// Each ask waits for its answer, kept with the post that asked.
|
|
351
|
+
if (agent !== "user" && agent !== "harness")
|
|
352
|
+
for (const name of asked)
|
|
353
|
+
store.meta(waitingKey(agent, name), `#${post.seq}`);
|
|
334
354
|
if (agent === "user") heardPerson(goal, post);
|
|
335
355
|
// The person's words an agent brings from its own session (post_to_room person_said): asks for the manager,
|
|
336
356
|
// never the person's authority.
|
package/lib/goals.mjs
CHANGED
|
@@ -57,8 +57,11 @@ export function createGoals({ store, notifyBoard = () => {} }) {
|
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
* A new version, from the lead's round or the person. A criterion kept word for word keeps what it reached
|
|
61
|
-
*
|
|
60
|
+
* A new version, from the lead's round or the person. A criterion kept word for word keeps what it reached while the
|
|
61
|
+
* statement stays the same; under a new statement it is open again, since what showed it was about the old aim (A1
|
|
62
|
+
* run, November 2: the Mac's answer met "The installed Python version name is present in the thread response" for a
|
|
63
|
+
* goal moved to pop-os). One left out is dropped, so the record still shows it. Posted in the thread with the post it
|
|
64
|
+
* follows.
|
|
62
65
|
*/
|
|
63
66
|
const set = (
|
|
64
67
|
threadId,
|
|
@@ -85,10 +88,13 @@ export function createGoals({ store, notifyBoard = () => {} }) {
|
|
|
85
88
|
(before?.criteria ?? []).map((criterion) => [criterion.text, criterion])
|
|
86
89
|
);
|
|
87
90
|
let next = before?.nextId ?? 1;
|
|
91
|
+
const sameAim = before?.statement === text;
|
|
88
92
|
const current = wanted.map((wording) => {
|
|
89
93
|
const same = kept.get(wording);
|
|
90
94
|
if (same)
|
|
91
|
-
return same.status === "dropped"
|
|
95
|
+
return same.status === "dropped" || !sameAim
|
|
96
|
+
? { ...same, status: "open", evidence: [] }
|
|
97
|
+
: same;
|
|
92
98
|
return { id: `c${next++}`, text: wording, status: "open", evidence: [] };
|
|
93
99
|
});
|
|
94
100
|
const dropped = (before?.criteria ?? [])
|
package/lib/manager.mjs
CHANGED
|
@@ -71,6 +71,19 @@ export function createManager({
|
|
|
71
71
|
.slice(-BEFORE)
|
|
72
72
|
.map(({ seq, author, kind, text }) => ({ seq, author, kind, text }));
|
|
73
73
|
|
|
74
|
+
// The agents a post named, other than its author (stored as JSON text, read back as a list).
|
|
75
|
+
const handedTo = (entry) => {
|
|
76
|
+
let named = entry.mentions ?? [];
|
|
77
|
+
if (typeof named === "string")
|
|
78
|
+
try {
|
|
79
|
+
named = JSON.parse(named || "[]");
|
|
80
|
+
} catch {
|
|
81
|
+
named = [];
|
|
82
|
+
}
|
|
83
|
+
return Array.isArray(named)
|
|
84
|
+
? named.filter((agent) => agent !== entry.author)
|
|
85
|
+
: [];
|
|
86
|
+
};
|
|
74
87
|
// The goal's checks still open, which a report may show reached.
|
|
75
88
|
const openCriteria = (thread) =>
|
|
76
89
|
(goals?.record(thread.id)?.criteria ?? []).filter(
|
|
@@ -87,6 +100,9 @@ export function createManager({
|
|
|
87
100
|
author: entry.author,
|
|
88
101
|
kind: entry.kind,
|
|
89
102
|
text: entry.text,
|
|
103
|
+
// The agents this post called on to act, from the thread's own record: a report that passes the work to one of
|
|
104
|
+
// them is not the work done (A1 run, November 2: Claude Code's "I'm handing it the look" was judged done).
|
|
105
|
+
...(kind === "report" ? { handed_to: handedTo(entry) } : {}),
|
|
90
106
|
},
|
|
91
107
|
asks: [
|
|
92
108
|
...asks.map(({ id, kind: what, words }) => ({ id, kind: what, words })),
|
|
@@ -102,6 +118,17 @@ export function createManager({
|
|
|
102
118
|
});
|
|
103
119
|
|
|
104
120
|
const judge = async (input) => {
|
|
121
|
+
// A report that calls on another agent and holds no result of its own settles nothing: that agent's own report
|
|
122
|
+
// will. Asked on its own and as "does it hold the result": the base LFM3-Omni judged Claude Code's handoff done
|
|
123
|
+
// (A1 run, November 2), ignored the rule as a clause of the report's question, and read Codex's answer as passed on
|
|
124
|
+
// when asked "did it pass the work on" (dispatcher-slot 2b).
|
|
125
|
+
if (input.kind === "report" && input.post.handed_to?.length) {
|
|
126
|
+
const handed = await dispatcher
|
|
127
|
+
.judge("handoff", { post: input.post })
|
|
128
|
+
.catch(() => null);
|
|
129
|
+
if (handed?.has_result === false)
|
|
130
|
+
return { kind: "report", findings: [], reached: [], handedOff: true };
|
|
131
|
+
}
|
|
105
132
|
if (input.kind === "message") {
|
|
106
133
|
const said = await dispatcher.judge("message", input);
|
|
107
134
|
// The dispatcher names the message's kind; a model that answers in sureness (0 to 1, as Jev did) is read too.
|
|
@@ -216,6 +243,13 @@ export function createManager({
|
|
|
216
243
|
const criteria = openCriteria(thread);
|
|
217
244
|
if (!asks.length && !criteria.length) return;
|
|
218
245
|
const judged = await judge(inputFor(thread, "report", entry, asks));
|
|
246
|
+
// The agent passed its work on with this report: the answer it asked for is the result, so that answer does not
|
|
247
|
+
// give it a turn of its own (goalCommands.mjs; A1 run, November 2: Codex's answer to Claude Code's handoff woke
|
|
248
|
+
// Claude Code, which did the same look again, #17).
|
|
249
|
+
store.meta(
|
|
250
|
+
`handed-off:${thread.id}:${entry.author}`,
|
|
251
|
+
judged?.handedOff ? String(entry.seq) : ""
|
|
252
|
+
);
|
|
219
253
|
const findings = judged?.findings ?? [];
|
|
220
254
|
// The goal's checks this report shows reached, recorded with the post that shows them, so the goal and the asks
|
|
221
255
|
// say the same (the A1 thread showed "Done" beside a goal with every check open).
|
package/lib/ownMachines.mjs
CHANGED
|
@@ -2874,12 +2874,17 @@ export function createOwnMachines({
|
|
|
2874
2874
|
const label = labelOf(id) ?? "that computer";
|
|
2875
2875
|
if (!sibling || !store.ownMachine(id))
|
|
2876
2876
|
return { error: `${label} is not connected` };
|
|
2877
|
-
|
|
2877
|
+
// Offline, or back but not yet saying which folders it has: the work can wait for it (threadRuns.mjs).
|
|
2878
|
+
if (!sibling.connected)
|
|
2879
|
+
return { error: `${label} is offline`, waits: true };
|
|
2878
2880
|
if (!sibling.agents.includes(agent))
|
|
2879
2881
|
return { error: `${nameOf(agent)} is not on ${label}` };
|
|
2880
2882
|
if (!workspace) return { machine: id, folder: null };
|
|
2881
2883
|
if (inventoryOf(id).state !== "ready")
|
|
2882
|
-
return {
|
|
2884
|
+
return {
|
|
2885
|
+
error: `${label}'s repository inventory is not ready`,
|
|
2886
|
+
waits: true,
|
|
2887
|
+
};
|
|
2883
2888
|
const repository = repositoryOf(workspace);
|
|
2884
2889
|
const folder = repository
|
|
2885
2890
|
? infos.get(id)?.folders.find((each) => each.repository === repository)
|
package/lib/swarm.mjs
CHANGED
|
@@ -1989,12 +1989,15 @@ export function createSwarm({
|
|
|
1989
1989
|
if (thread.status !== "paused")
|
|
1990
1990
|
return { ok: false, error: `the thread is ${thread.status}` };
|
|
1991
1991
|
store.setGoalState(thread.id, { status: "open" });
|
|
1992
|
-
store.roomPost({
|
|
1992
|
+
const resumedNote = store.roomPost({
|
|
1993
1993
|
goalId: thread.id,
|
|
1994
1994
|
author: "user",
|
|
1995
1995
|
kind: "note",
|
|
1996
1996
|
text: "Resumed by you.",
|
|
1997
1997
|
});
|
|
1998
|
+
// What came in since, the coordinator reads from here: a pause with nothing new since is not applied again.
|
|
1999
|
+
if (resumedNote)
|
|
2000
|
+
store.meta(`resumed-note:${thread.id}`, String(resumedNote.seq));
|
|
1998
2001
|
// A one-time check-in held while the thread was paused runs now.
|
|
1999
2002
|
schedules?.tick();
|
|
2000
2003
|
notifyBoard(store.getTask(thread.id));
|
package/lib/threadActions.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { picksIn } from "./models.mjs";
|
|
2
2
|
import { DISPATCHER, MEMBERS, nameOf } from "./members.mjs";
|
|
3
|
-
import { notifyDesktop } from "./notify.mjs";
|
|
4
3
|
|
|
5
4
|
// A name after @ is an id or a one-word alias ("@grok" is Grok Bot); "@claude" is Claude Code.
|
|
6
5
|
const ONE_WORD_ALIASES = new Map(
|
|
@@ -62,19 +61,24 @@ export function createThreadActions({
|
|
|
62
61
|
ownMachines,
|
|
63
62
|
threadView,
|
|
64
63
|
}) {
|
|
65
|
-
/**
|
|
64
|
+
/**
|
|
65
|
+
* Pauses a thread, saying why in it. The person hears of it once, as the thread's item that waits on them
|
|
66
|
+
* (personNotices.mjs), keyed to this pause's note: a notice of its own here made two of each, and keying the item to
|
|
67
|
+
* the thread's last change told the same pause again at every change (A1 run, November 2).
|
|
68
|
+
*/
|
|
66
69
|
const pause = (goalId, reason) => {
|
|
67
70
|
const task = store.setGoalState(goalId, {
|
|
68
71
|
status: "paused",
|
|
69
72
|
pausedReason: reason,
|
|
70
73
|
});
|
|
71
|
-
|
|
74
|
+
const said = String(reason).replace(/[.!?…\s]+$/, "");
|
|
75
|
+
const note = store.roomPost({
|
|
72
76
|
goalId,
|
|
73
77
|
author: DISPATCHER,
|
|
74
78
|
kind: "note",
|
|
75
|
-
text: `Paused: ${
|
|
79
|
+
text: `Paused: ${said}. Resume it from the thread when you want it to go on.`,
|
|
76
80
|
});
|
|
77
|
-
|
|
81
|
+
if (note) store.meta(`paused-note:${goalId}`, String(note.seq));
|
|
78
82
|
notifyBoard(task);
|
|
79
83
|
return task;
|
|
80
84
|
};
|
package/lib/threadRuns.mjs
CHANGED
|
@@ -49,6 +49,11 @@ export function createThreadRuns({
|
|
|
49
49
|
stopRun = () => false,
|
|
50
50
|
// A folder-less thread's files ({ name, path }), put in its scratch folder when a turn starts here (scratch.mjs).
|
|
51
51
|
threadFiles = () => [],
|
|
52
|
+
// A turn the thread's computer cannot take goes back to Jev (daemon.mjs).
|
|
53
|
+
unplaced = () => {},
|
|
54
|
+
// A turn waiting for its computer, which is back: whether that computer can do the work, checked before it starts
|
|
55
|
+
// (coordinator.mjs checkWaiting).
|
|
56
|
+
checkBeforeStart = async () => true,
|
|
52
57
|
}) {
|
|
53
58
|
const { RUNNERS } = authority;
|
|
54
59
|
const computerOf = (goalId) => {
|
|
@@ -213,6 +218,80 @@ export function createThreadRuns({
|
|
|
213
218
|
store.meta("pending-wake:" + key, "");
|
|
214
219
|
},
|
|
215
220
|
};
|
|
221
|
+
// Turns waiting for the computer the person named to come back: { goalId, agent, reason, options, at }, kept on the
|
|
222
|
+
// board so a restart keeps them.
|
|
223
|
+
const COMPUTER_WAITS = "computer-waits";
|
|
224
|
+
const computerWaits = () => {
|
|
225
|
+
try {
|
|
226
|
+
const kept = JSON.parse(store.meta(COMPUTER_WAITS) || "[]");
|
|
227
|
+
return Array.isArray(kept) ? kept : [];
|
|
228
|
+
} catch {
|
|
229
|
+
return [];
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
const awaitComputer = (goalId, agent, reason, options) =>
|
|
233
|
+
store.meta(
|
|
234
|
+
COMPUTER_WAITS,
|
|
235
|
+
JSON.stringify([
|
|
236
|
+
...computerWaits().filter(
|
|
237
|
+
(each) => !(each.goalId === goalId && each.agent === agent)
|
|
238
|
+
),
|
|
239
|
+
{ goalId, agent, reason, options, at: new Date().toISOString() },
|
|
240
|
+
])
|
|
241
|
+
);
|
|
242
|
+
/**
|
|
243
|
+
* The computer holding the thread's checkout (or the route's) cannot take this agent's turn: the thread says why
|
|
244
|
+
* once, and the work goes back to Jev, which passes over this agent in the thread for a while and picks again (owner,
|
|
245
|
+
* November 2: an agent's ask that named no computer used to end at "Its work stays there", with nothing run).
|
|
246
|
+
*/
|
|
247
|
+
const notPlaced = (goalId, agent, key, why) => {
|
|
248
|
+
if (!store.meta(key)) {
|
|
249
|
+
store.meta(key, "1");
|
|
250
|
+
store.roomPost({
|
|
251
|
+
goalId,
|
|
252
|
+
author: DISPATCHER,
|
|
253
|
+
kind: "note",
|
|
254
|
+
text: `${why} Jev picks again.`,
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
unplaced(goalId, agent);
|
|
258
|
+
notifyBoard(store.getTask(goalId));
|
|
259
|
+
};
|
|
260
|
+
/** Whether an agent's turn in the thread waits for its computer to come back. */
|
|
261
|
+
const waitsForComputer = (goalId) =>
|
|
262
|
+
computerWaits().some((each) => each.goalId === goalId);
|
|
263
|
+
const dropWait = (goalId, agent) =>
|
|
264
|
+
store.meta(
|
|
265
|
+
COMPUTER_WAITS,
|
|
266
|
+
JSON.stringify(
|
|
267
|
+
computerWaits().filter(
|
|
268
|
+
(each) => !(each.goalId === goalId && each.agent === agent)
|
|
269
|
+
)
|
|
270
|
+
)
|
|
271
|
+
);
|
|
272
|
+
// Waiting turns whose computer is being checked now: one change while a check runs does not start a second.
|
|
273
|
+
const checking = new Set();
|
|
274
|
+
/**
|
|
275
|
+
* One of the person's computers came back or said which folders it has: each turn waiting for one is checked there
|
|
276
|
+
* first (the coordinator's capability check kept for it, `checkBeforeStart`), then placed again, and waits again if
|
|
277
|
+
* its computer still cannot take it. A "no" ends the wait: the coordinator has sent the work back to Jev. A thread no
|
|
278
|
+
* longer open drops its waiting turns. The turn stays in the list while it is checked, so the thread still waits.
|
|
279
|
+
*/
|
|
280
|
+
const computersChanged = () => {
|
|
281
|
+
for (const each of computerWaits()) {
|
|
282
|
+
const key = `${each.goalId}:${each.agent}`;
|
|
283
|
+
if (checking.has(key)) continue;
|
|
284
|
+
checking.add(key);
|
|
285
|
+
const open = store.getTask(each.goalId)?.status === "open";
|
|
286
|
+
void Promise.resolve(open && checkBeforeStart(each.goalId, each.agent))
|
|
287
|
+
.catch(() => true)
|
|
288
|
+
.then((go) => {
|
|
289
|
+
dropWait(each.goalId, each.agent);
|
|
290
|
+
checking.delete(key);
|
|
291
|
+
if (go) wakeAgent(each.goalId, each.agent, each.reason, each.options);
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
};
|
|
216
295
|
// Another person's agent or the person themselves, by their address ("igor/codex"); the person's own agents are named
|
|
217
296
|
// without one. A turn such an ask brings runs on this person's own agent settings only (runWorker.mjs).
|
|
218
297
|
const fromAnotherPerson = (asker) => String(asker ?? "").includes("/");
|
|
@@ -345,11 +424,8 @@ export function createThreadRuns({
|
|
|
345
424
|
}
|
|
346
425
|
return false;
|
|
347
426
|
};
|
|
348
|
-
const wakeAgent = (
|
|
349
|
-
|
|
350
|
-
agent,
|
|
351
|
-
reason,
|
|
352
|
-
{
|
|
427
|
+
const wakeAgent = (goalId, agent, reason, options = {}) => {
|
|
428
|
+
const {
|
|
353
429
|
review = false,
|
|
354
430
|
go = false,
|
|
355
431
|
asker = DISPATCHER,
|
|
@@ -373,8 +449,7 @@ export function createThreadRuns({
|
|
|
373
449
|
// agents elsewhere (runAuthority.mjs PROPOSERS): in a thread another agent wrote, its turn may start on the
|
|
374
450
|
// agent's standing permission (admitProposal). Never the person's go.
|
|
375
451
|
proposal = null,
|
|
376
|
-
} =
|
|
377
|
-
) => {
|
|
452
|
+
} = options;
|
|
378
453
|
const task = store.getTask(goalId);
|
|
379
454
|
if (!task || task.status !== "open" || !RUNNERS.has(agent)) return;
|
|
380
455
|
const proposed =
|
|
@@ -443,25 +518,41 @@ export function createThreadRuns({
|
|
|
443
518
|
task.goal?.workspace ?? null,
|
|
444
519
|
routed
|
|
445
520
|
);
|
|
446
|
-
|
|
521
|
+
const label =
|
|
522
|
+
computers?.labelOf(routed) ?? "the computer holding this checkout";
|
|
523
|
+
// Away for now: the checkout is there, so the turn waits for it, as for a computer the person named.
|
|
524
|
+
if (tried?.waits) {
|
|
525
|
+
awaitComputer(goalId, agent, reason, options);
|
|
447
526
|
noteOnce(
|
|
527
|
+
`computer-wait:${goalId}:${agent}:${routed}`,
|
|
528
|
+
`${nameOf(agent)} waits for ${label} (${tried.error}) and starts there once it can.`
|
|
529
|
+
);
|
|
530
|
+
return;
|
|
531
|
+
}
|
|
532
|
+
if (!tried || tried.error) {
|
|
533
|
+
notPlaced(
|
|
534
|
+
goalId,
|
|
535
|
+
agent,
|
|
448
536
|
`route-computer-refused:${goalId}:${agent}:${routed}:${tried?.error}`,
|
|
449
|
-
`${nameOf(agent)} cannot
|
|
537
|
+
`${nameOf(agent)} cannot work on ${label}: ${tried?.error ?? "the computer is unavailable"}.`
|
|
450
538
|
);
|
|
451
539
|
return;
|
|
452
540
|
}
|
|
453
541
|
routePlacement = tried;
|
|
454
542
|
}
|
|
455
543
|
if (routed && routed === self && !installedAgents.includes(agent)) {
|
|
456
|
-
|
|
544
|
+
notPlaced(
|
|
545
|
+
goalId,
|
|
546
|
+
agent,
|
|
457
547
|
`route-computer-missing:${goalId}:${agent}:${routed}`,
|
|
458
|
-
`${nameOf(agent)} is not installed on the computer holding this thread's checkout
|
|
548
|
+
`${nameOf(agent)} is not installed on the computer holding this thread's checkout.`
|
|
459
549
|
);
|
|
460
550
|
return;
|
|
461
551
|
}
|
|
462
552
|
// Why the named computer cannot take this turn, or null when it can: { machine, folder } goes in `placed`.
|
|
463
553
|
let placed = null,
|
|
464
|
-
refused = null
|
|
554
|
+
refused = null,
|
|
555
|
+
waits = false;
|
|
465
556
|
if (named && named === self && !installedAgents.includes(agent))
|
|
466
557
|
refused = `${nameOf(agent)} is not installed there`;
|
|
467
558
|
else if (named && named !== self) {
|
|
@@ -472,6 +563,18 @@ export function createThreadRuns({
|
|
|
472
563
|
);
|
|
473
564
|
if (tried.error) refused = tried.error;
|
|
474
565
|
else placed = tried;
|
|
566
|
+
waits = Boolean(tried.waits);
|
|
567
|
+
}
|
|
568
|
+
// Named for this turn and only away for now: the turn waits for that computer and starts there once it is back
|
|
569
|
+
// (A1 run, November 2: "#Sigalas-MBP-2" while it slept paused the thread, and the work never started when it woke).
|
|
570
|
+
if (refused && on && waits) {
|
|
571
|
+
const label = computers.labelOf(named) ?? "that computer";
|
|
572
|
+
awaitComputer(goalId, agent, reason, options);
|
|
573
|
+
noteOnce(
|
|
574
|
+
`computer-wait:${goalId}:${agent}:${named}`,
|
|
575
|
+
`${nameOf(agent)} waits for ${label} (${refused}) and starts there once it can.`
|
|
576
|
+
);
|
|
577
|
+
return;
|
|
475
578
|
}
|
|
476
579
|
if (refused) {
|
|
477
580
|
const label = computers.labelOf(named) ?? "that computer";
|
|
@@ -941,6 +1044,8 @@ export function createThreadRuns({
|
|
|
941
1044
|
return {
|
|
942
1045
|
computerOf,
|
|
943
1046
|
wake: wakeAgent,
|
|
1047
|
+
waitsForComputer,
|
|
1048
|
+
computersChanged,
|
|
944
1049
|
steered,
|
|
945
1050
|
discard,
|
|
946
1051
|
recover,
|
package/lib/threadView.mjs
CHANGED
|
@@ -219,7 +219,7 @@ export function createThreadView({
|
|
|
219
219
|
const reason = thread.goal.paused_reason || "";
|
|
220
220
|
if (thread.status === "paused" && !PERSON_STOPS.includes(reason))
|
|
221
221
|
items.push({
|
|
222
|
-
id: `decide:${thread.id}:${thread.updated_at}`,
|
|
222
|
+
id: `decide:${thread.id}:${store.meta(`paused-note:${thread.id}`) || thread.updated_at}`,
|
|
223
223
|
kind: "decide",
|
|
224
224
|
agent: thread.goal.facilitator,
|
|
225
225
|
text: reason.replace(/^The room is paused:\s*/, "") || "Paused.",
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tryharness",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.78",
|
|
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.78",
|
|
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.78",
|
|
36
|
+
"tryharness-desktop-darwin-x64": "0.7.78",
|
|
37
|
+
"tryharness-desktop-linux-x64": "0.7.78"
|
|
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.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==",
|
|
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.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==",
|
|
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.78",
|
|
1081
|
+
"resolved": "https://registry.npmjs.org/tryharness-desktop-linux-x64/-/tryharness-desktop-linux-x64-0.7.78.tgz",
|
|
1082
|
+
"integrity": "sha512-lxtgjyEiOmbUmaC08fjNtDAjH0TiBcm0TX7i0XDJpJJvRIWm5zoSPzsc5ZfSZzgL+2yK6dpsQBOayRiUxlCKng==",
|
|
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.78",
|
|
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.78",
|
|
52
|
+
"tryharness-desktop-darwin-x64": "0.7.78",
|
|
53
|
+
"tryharness-desktop-linux-x64": "0.7.78"
|
|
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.
|
|
4
|
+
"version": "0.7.78",
|
|
5
5
|
"files": {
|
|
6
6
|
"README.md": "e5d78851201923cc9c9f5293523b7f2a458a4c6d1d30f29b9df8e721ddf50552",
|
|
7
7
|
"assets/dsh-plugin.mjs": "143d31361d3c34b0a9effdeaa9248f1df6166f9bb45826a9a96ec9aa21899411",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"lib/bridge.mjs": "404f25dc0f82521072e3070564127fbc062aa02d7b5cf07cb090efa4db219555",
|
|
42
42
|
"lib/browserWake.mjs": "7655043da78d75710bd4f225d254b971823572395f4f7b725f8a40a7ecdcf2d9",
|
|
43
43
|
"lib/callSessions.mjs": "f5ae736aedb77396ae063d558ddb2a2c5304735c9b3fa71fbdbf00ff960e09d2",
|
|
44
|
-
"lib/capabilityCheck.mjs": "
|
|
44
|
+
"lib/capabilityCheck.mjs": "91dee3ed18106ca5b855db846b987605e5ca891d91bb6a114933d0453b2640ae",
|
|
45
45
|
"lib/cards.mjs": "523978ff15f5f66fb1baf45cb639c6e9a69bf403646dc158b0f4b677991d10af",
|
|
46
46
|
"lib/claudemem.mjs": "f548d4fa237ba1e47200bee59ebb12eb82b4616be0e885d6baf308f6f6a75e51",
|
|
47
47
|
"lib/cloudAgents.mjs": "899f71bbad5175671f6e4eb56e852cb0278371fd1db105d4833088845b9cb482",
|
|
@@ -66,16 +66,16 @@
|
|
|
66
66
|
"lib/contractGate.mjs": "f6c2f7ebe5834bf1716c5d4298a4e0636f81a981fef9b8ce4f38ff2d4cf4e0fb",
|
|
67
67
|
"lib/control-client.mjs": "16130df5d4a04cfea5a327a4c57a1177b268b7073b4f060dd3d2732ff8ac91d5",
|
|
68
68
|
"lib/controlSocket.mjs": "24b366d24c0cc9ca6b9c9b3490d47440edac1b1be91e2bc04e8b693b635a952e",
|
|
69
|
-
"lib/coordinator.mjs": "
|
|
69
|
+
"lib/coordinator.mjs": "d22415fbd3a8ea2339a4fda0e981a262eec49b2943053ab8ffc642e6d3955f5d",
|
|
70
70
|
"lib/coreModels.mjs": "481633a56283bbed58688300c5139962ae3d8602559015df5801decd8aa8d233",
|
|
71
|
-
"lib/daemon.mjs": "
|
|
71
|
+
"lib/daemon.mjs": "77ed8e5a0aead87262441e7071910cb6dab72938af7b817a44b760f79c6b0fa1",
|
|
72
72
|
"lib/desk.mjs": "e769e1f68117d9d6163538ba73318b2fdae48c179274e6da4f93db8f4febcdf8",
|
|
73
73
|
"lib/desktop.mjs": "74cb9e0516209f563c5764478e333ff545126422c4f10756a88c3fdba6175f23",
|
|
74
74
|
"lib/digest.mjs": "bcfb988a02dfc118f20d67a9e549be5640eae374a714a3d484fec86454caf04a",
|
|
75
75
|
"lib/directLink.mjs": "163eed56af338aa4d20ebebc514e9e42a950b00c7611c479750c50e3e73989fd",
|
|
76
76
|
"lib/dispatchContract.json": "e55d28be5d1a1b23805e5b1a65e99845ae1854a64051e34ce01e694ab223b82a",
|
|
77
77
|
"lib/dispatchTools.js": "311e9c5f6c9e3ebd99f38c3dd3b2fce82bcb9d76120a8ccc3f5d5b08e663d335",
|
|
78
|
-
"lib/dispatcher.mjs": "
|
|
78
|
+
"lib/dispatcher.mjs": "04672166f33d04a1b255e8363bf5e64c02c78784145dd8350c0a2b8092fe1b40",
|
|
79
79
|
"lib/dispatches.mjs": "ab5e91a841c6de3d3a2645fcf141020422e582ca7046d0fd9d9287334d261502",
|
|
80
80
|
"lib/environment.mjs": "265d6db55a158d65698d4edf34a0b72f245b7cf6d7faa873f62f8406ab3ce987",
|
|
81
81
|
"lib/environments.mjs": "cad566554166a0350b3196db2f53ee62409733fc29b1828f61fd9982da62423f",
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"lib/folders.mjs": "23595b2a448c01da97032ef0fc0293264dfb1f0b86e13439d2ca165413e767e5",
|
|
86
86
|
"lib/frames.mjs": "ed602d71909f339514b1bf7d06d4344da3aa5093b7d4214e1d359022e809d4e6",
|
|
87
87
|
"lib/gitHost.mjs": "aa41a6578e8aaa0a51248b237dd6bfb5f68625f78ca6734035b84fa6d65b7950",
|
|
88
|
-
"lib/goalCommands.mjs": "
|
|
89
|
-
"lib/goals.mjs": "
|
|
88
|
+
"lib/goalCommands.mjs": "8995f6f37f592beaab1b7f760885dbfc9739cd79246db1d066c96590853f1166",
|
|
89
|
+
"lib/goals.mjs": "714a56251f991cb4ef96064fb0618c65f4901f4c6092b571b47bbc38b3b36207",
|
|
90
90
|
"lib/guestRequests.mjs": "894dc5a33482817b08d493576a823b064463d552463335f0e60d92405756112c",
|
|
91
91
|
"lib/handoffs.mjs": "6e28820885387cb71b83f9e5d2ef57461eeb9974f339f361d0082824cdcfe152",
|
|
92
92
|
"lib/handover.mjs": "d4638f8ee9a0976522fcfc08c1ce09b6aa492333529894fbb2ce185739abc36a",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"lib/machineRoutes.mjs": "a73d15101cb7cd13c96948fef46cc509a2107a7db6084a4e981a16b92854aca1",
|
|
119
119
|
"lib/machineRuns.mjs": "64abea62fa47d65b26c5f36d3adb602f68b521b9ec7dee5f1b9d5d4bcfbaf41e",
|
|
120
120
|
"lib/machineSeal.mjs": "af97b05e5d1ee57007c6a6a71165433667fec3e008d6c5a156e5bfe5a41496bc",
|
|
121
|
-
"lib/manager.mjs": "
|
|
121
|
+
"lib/manager.mjs": "7934ea6b42c62e15db36c3408701db2b4f451b5b06ca0c67300eb1217f96306b",
|
|
122
122
|
"lib/mcp-stdio.mjs": "a6bdfc6d3d52bd98bc7849b41b7ae42bb0cc29a30c563f5990ebd47f671bbe89",
|
|
123
123
|
"lib/mcpRelay.mjs": "dd7613ee43ae5123a5eb4787f9ee370a48c243d816a77d950b8a91ce3c231896",
|
|
124
124
|
"lib/media.mjs": "69d6cb94474851f3ef0cf4bc1fe91543b59d1103661744f1a0c91d7997bfc7aa",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"lib/onnxWorker.mjs": "b94f5ec718c8fac80446d1fe21252abbccfec7f3f79186f7a54861c71f6e2410",
|
|
141
141
|
"lib/openHere.mjs": "3e5ed27d1a382baee224a86f949d396fc38a7da2ca9c27c490fb79aaf8422e43",
|
|
142
142
|
"lib/openRequests.mjs": "a4e23df8ca755dd139fc5c8f47cce7b9649568441177dfabad38e86d4f0cbeff",
|
|
143
|
-
"lib/ownMachines.mjs": "
|
|
143
|
+
"lib/ownMachines.mjs": "0fe23952ac2bd7daa6a3b7361e91d57cebeea5c63e8a647b70f9578a73545566",
|
|
144
144
|
"lib/pairing.mjs": "4f0328f1876ff9a7275759a061cee69e44108db490966489ef0eb7ff6c0804c9",
|
|
145
145
|
"lib/parsers.mjs": "b329b683cf36939984dfc7463b8584f74bb5eb00f34ad89bf7e80abd7145bbf2",
|
|
146
146
|
"lib/paths.mjs": "087afff9453fad097e766ee3a46af5d76c8cd1112ffce291db7e35cde08a0088",
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"lib/stuck.mjs": "2b69af1712be31484ac0d88e05ca88d8be72d5653f2c9510d3c793362c43dfc2",
|
|
207
207
|
"lib/subagentSteering.mjs": "8fe3d1640a0b2b866435a075783e50b40622ca247a80a08799d9b6f63cff876f",
|
|
208
208
|
"lib/subagents.mjs": "3617126fe0fde9a40fc3a6857b8bb839dcfcefcc33d168cc967d9a36fa5498f0",
|
|
209
|
-
"lib/swarm.mjs": "
|
|
209
|
+
"lib/swarm.mjs": "c862691da9c61c9e82731b2df294f510ffe7bffda6b4e5a3b5f36ca52d6a6638",
|
|
210
210
|
"lib/swarmDevices.mjs": "9b6af0854c3fe3c673fc552b6dcc93a8f2f881cba215975151b083c7c6aeb353",
|
|
211
211
|
"lib/swarmMemory.mjs": "6851cde405436faf5510cac8ff7e975c27ec7746e6e49969e7a179b8eca7af03",
|
|
212
212
|
"lib/t3.mjs": "b73643b86978d7bcbcf023c919ce1e7f05c1b133fa9784b991d72f53b0940630",
|
|
@@ -215,12 +215,12 @@
|
|
|
215
215
|
"lib/taskRuns.mjs": "4f3a05c3479348fd760af73fa565c3ced9a99fe5b353375c10cef6b50722a359",
|
|
216
216
|
"lib/team.json": "1d4f7f1c9a89217ffc0c5c9f87d7233d43ffaad5d5edd2b0c146e1ff741d65b7",
|
|
217
217
|
"lib/team.mjs": "69e13b1a1b3e082fd1b8fde007ae8be8f217b59264db7b4be357be2fb22e0853",
|
|
218
|
-
"lib/threadActions.mjs": "
|
|
218
|
+
"lib/threadActions.mjs": "8a1cb0ddb59ede555934340f2fc52408c5b08e0a89ed747cecbb8b32d5dcc052",
|
|
219
219
|
"lib/threadAuthority.mjs": "b1eb973d9a8f9a112341d7aabb6f8d739be490cf9e92b4e14e51e4e03f51d3d5",
|
|
220
220
|
"lib/threadBriefs.mjs": "a2013af05bb0fcca78e61e7a0d778c6171ffeb4e09b51b21c49374f1d6acc451",
|
|
221
221
|
"lib/threadLine.mjs": "3418d262e0711f6513236805105b2b550b984b2474daa40ecbd44864f5dbfce8",
|
|
222
|
-
"lib/threadRuns.mjs": "
|
|
223
|
-
"lib/threadView.mjs": "
|
|
222
|
+
"lib/threadRuns.mjs": "709e7ced7c96f3a5159497a1c735d9f22ca4ea0df2d4d9fbfb2a31118f5e09b6",
|
|
223
|
+
"lib/threadView.mjs": "c6909e9c42124f2c2e590c1856ed2b67c59d6c4e6e984fd7e12a4b21b976db97",
|
|
224
224
|
"lib/tokenizer.mjs": "6d442c2081584fb7533cef5a804c61af9261a4ec174169f7a33be58b0476df81",
|
|
225
225
|
"lib/trails.mjs": "22e7de51f49437b3b26f81b180de8bd96fb7b394be7c27a7b6a65bb8426bc015",
|
|
226
226
|
"lib/ui.mjs": "cd6f51824a85ffa1eb745b4a34249e5cf3f0e696fb99626a7981467f3352dfa6",
|
|
@@ -239,10 +239,10 @@
|
|
|
239
239
|
"lib/workFocus.mjs": "08d3002d6114859bf7623fbcb62a5ed1dd12cecba6c8e37ed55a550a15a207a4",
|
|
240
240
|
"lib/workLinks.mjs": "8269180900fdf5fbd547a4c2337bcde4d5f733621c5b72bc2c23f01e72ad3d7d",
|
|
241
241
|
"lib/worktrees.mjs": "a040441863ee76e39e292e262b903b392e12d4158aa886e4c237b6fa98c0d7d2",
|
|
242
|
-
"npm-shrinkwrap.json": "
|
|
243
|
-
"package.json": "
|
|
242
|
+
"npm-shrinkwrap.json": "05510b1512d6b1212ba8ac632970d893799b76bd2a973e9882344a172a8036e1",
|
|
243
|
+
"package.json": "318f3396455dcea84e467060351e12fab2cabd3e4ada3ddaea897179f32c4aea"
|
|
244
244
|
}
|
|
245
245
|
},
|
|
246
246
|
"key": "5bf9e60f5cabb530",
|
|
247
|
-
"signature": "
|
|
247
|
+
"signature": "fmbvzqf12LccvS790yVwM/TCmUi3hBu6uTsBieuXtBGlmVf7/PinLc+GlT5HYKeF4MYJY0rpzfzzB55CD0IJDQ=="
|
|
248
248
|
}
|