Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Document the notice sentence's contract

quang.tranminh88bc088a59d2
diff --git a/server/drivers/acp/quiet-status.ts b/server/drivers/acp/quiet-status.ts
index 3cfbc53472..a9f73a0771 100644
--- a/server/drivers/acp/quiet-status.ts
+++ b/server/drivers/acp/quiet-status.ts
@@ -392,6 +392,7 @@ const minutes = (ms: number): string => {
return `${Math.round(ms / 60_000)} min`;
};
+/** One sentence for the notice row: what a quiet turn is doing, and what ends it. */
export function describeQuiet(name: string, state: QuietState, quietMs: number, stopAfterMs: number): string {
const quiet = minutes(quietMs);
switch (state.kind) {