@tritard/waterbrother 0.16.112 → 0.16.114
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/package.json +1 -1
- package/src/gateway.js +15 -1
package/package.json
CHANGED
package/src/gateway.js
CHANGED
|
@@ -1128,6 +1128,7 @@ function formatTelegramRoomMarkup(project, options = {}) {
|
|
|
1128
1128
|
const latestReviewResult = getLatestReviewResult(project);
|
|
1129
1129
|
const latestReviewMeta = latestReviewResult?.meta && typeof latestReviewResult.meta === "object" ? latestReviewResult.meta : {};
|
|
1130
1130
|
const latestVerificationResult = getLatestVerificationResult(project);
|
|
1131
|
+
const blockingVerification = getBlockingVerificationResult(project);
|
|
1131
1132
|
const selectedExecutorLiveHost = selectedExecutor ? findLiveHostForAgent(liveHosts, selectedExecutor) : null;
|
|
1132
1133
|
const selectedReviewerLiveHost = selectedReviewer ? findLiveHostForAgent(liveHosts, selectedReviewer) : null;
|
|
1133
1134
|
const selectedVerifierLiveHost = selectedVerifier ? findLiveHostForAgent(liveHosts, selectedVerifier) : null;
|
|
@@ -1163,7 +1164,12 @@ function formatTelegramRoomMarkup(project, options = {}) {
|
|
|
1163
1164
|
`blocking review: <code>${escapeTelegramHtml(blockingReview ? "yes" : "no")}</code>`,
|
|
1164
1165
|
`latest reviewer outcome: <code>${escapeTelegramHtml(String(latestReviewMeta.outcome || "").trim() || "none")}</code>`,
|
|
1165
1166
|
`verification mode: <code>${escapeTelegramHtml(String(project.verificationMode || "manual"))}</code>`,
|
|
1167
|
+
`blocking verification: <code>${escapeTelegramHtml(blockingVerification ? "yes" : "no")}</code>`,
|
|
1166
1168
|
`latest verification outcome: <code>${escapeTelegramHtml(String(latestVerificationResult?.outcome || "").trim() || "none")}</code>`,
|
|
1169
|
+
`verification environment: <code>${escapeTelegramHtml(String(latestVerificationResult?.isolation || "").trim() || "unknown")}</code>`,
|
|
1170
|
+
latestVerificationResult?.failedCommand
|
|
1171
|
+
? `latest failed step: <code>${escapeTelegramHtml(String(latestVerificationResult.failedCommand || ""))}</code>`
|
|
1172
|
+
: "",
|
|
1167
1173
|
"<b>Executor</b>",
|
|
1168
1174
|
...executorBits,
|
|
1169
1175
|
"<b>Runtime Split</b>",
|
|
@@ -2565,12 +2571,20 @@ class TelegramGateway {
|
|
|
2565
2571
|
"Try: <code>make this terminal the verifier</code>"
|
|
2566
2572
|
].join("\n");
|
|
2567
2573
|
}
|
|
2574
|
+
const latestVerificationResult = getLatestVerificationResult(project);
|
|
2575
|
+
const blockingVerification = getBlockingVerificationResult(project);
|
|
2568
2576
|
return [
|
|
2569
2577
|
"<b>Verifier</b>",
|
|
2570
2578
|
`verifier: <code>${escapeTelegramHtml(getAgentOwnerDisplay(verifier))}</code>`,
|
|
2571
2579
|
`role: <code>${escapeTelegramHtml(verifier.role || "verifier")}</code>`,
|
|
2572
2580
|
`runtime: <code>${escapeTelegramHtml(verifier.provider && verifier.model ? `${verifier.provider}/${verifier.model}` : "unknown")}</code>`,
|
|
2573
|
-
`verification mode: <code>${escapeTelegramHtml(String(project.verificationMode || "manual"))}</code
|
|
2581
|
+
`verification mode: <code>${escapeTelegramHtml(String(project.verificationMode || "manual"))}</code>`,
|
|
2582
|
+
`blocking verification: <code>${escapeTelegramHtml(blockingVerification ? "yes" : "no")}</code>`,
|
|
2583
|
+
`latest verification outcome: <code>${escapeTelegramHtml(String(latestVerificationResult?.outcome || "").trim() || "none")}</code>`,
|
|
2584
|
+
`verification environment: <code>${escapeTelegramHtml(String(latestVerificationResult?.isolation || "").trim() || "unknown")}</code>`,
|
|
2585
|
+
latestVerificationResult?.failedCommand
|
|
2586
|
+
? `latest failed step: <code>${escapeTelegramHtml(String(latestVerificationResult.failedCommand || ""))}</code>`
|
|
2587
|
+
: ""
|
|
2574
2588
|
].join("\n");
|
|
2575
2589
|
}
|
|
2576
2590
|
|