mergestorm 0.3.42 → 0.3.43
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/README.md +1 -1
- package/dist/stack-watch-loop.d.ts +1 -0
- package/dist/stack-watch-loop.js +5 -1
- package/dist/ui/banner.js +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ On a TTY, bare `mergestorm` (or `mergestorm shell`) opens a branded REPL: a comp
|
|
|
45
45
|
|
|
46
46
|
```
|
|
47
47
|
╭──────────────────────────────────────────────────────────────────────────────╮
|
|
48
|
-
│ ▀▀▀▀▀▀▀▀▀▀▘ mergestorm v0.3.
|
|
48
|
+
│ ▀▀▀▀▀▀▀▀▀▀▘ mergestorm v0.3.43 │
|
|
49
49
|
│ ▀▀▀▀▀▀▀▀▀ ● msk_live_… · maelstrom │
|
|
50
50
|
│ ▀▀▀▀▀▀ [████████░░░░░░░░░░░░░░░░░░░░░░] 25% used │
|
|
51
51
|
│ ▝▀▀▀▀▀ local reviews + stacked PRs · mergestorm.ai │
|
|
@@ -30,6 +30,7 @@ export type StackWatchLoopResult = {
|
|
|
30
30
|
exitCode: number;
|
|
31
31
|
envelope: StackWatchEnvelope | null;
|
|
32
32
|
};
|
|
33
|
+
export declare function blockerWithoutElapsedMinutes(blocker: string | null | undefined): string;
|
|
33
34
|
export declare function stackWatchAttentionKey(envelope: Pick<StackWatchEnvelope, "prNumber" | "headSha" | "blocker">): string;
|
|
34
35
|
export declare function stackWatchAttentionLine(envelope: StackWatchEnvelope): string;
|
|
35
36
|
export declare function stackWatchLandedLine(envelope: StackWatchEnvelope): string;
|
package/dist/stack-watch-loop.js
CHANGED
|
@@ -6,8 +6,12 @@ export const STACK_WATCH_SLICE_MS = 300_000;
|
|
|
6
6
|
export const STACK_WATCH_RECHECK_MS = 30_000;
|
|
7
7
|
export const STACK_WATCH_FAILED_RETRY_MS = 15_000;
|
|
8
8
|
export const STACK_WATCH_RATE_LIMIT_WAIT_MS = 30_000;
|
|
9
|
+
const ELAPSED_MINUTES = /\b\d+m\b/g;
|
|
10
|
+
export function blockerWithoutElapsedMinutes(blocker) {
|
|
11
|
+
return (blocker ?? "").replace(ELAPSED_MINUTES, "Nm");
|
|
12
|
+
}
|
|
9
13
|
export function stackWatchAttentionKey(envelope) {
|
|
10
|
-
return `${envelope.prNumber ?? ""}|${envelope.headSha ?? ""}|${envelope.blocker
|
|
14
|
+
return `${envelope.prNumber ?? ""}|${envelope.headSha ?? ""}|${blockerWithoutElapsedMinutes(envelope.blocker)}`;
|
|
11
15
|
}
|
|
12
16
|
export function stackWatchAttentionLine(envelope) {
|
|
13
17
|
return `${STACK_WATCH_MARKER} ATTENTION pr=${envelope.prNumber ?? "none"} head=${envelope.headSha ?? "none"} blocker=${JSON.stringify(envelope.blocker ?? "")} repair=${envelope.repair?.kind ?? "none"}`;
|
package/dist/ui/banner.js
CHANGED
|
@@ -164,6 +164,9 @@ const WHATS_NEW = {
|
|
|
164
164
|
"0.3.42": [
|
|
165
165
|
"a running seam review is never reported as stuck",
|
|
166
166
|
],
|
|
167
|
+
"0.3.43": [
|
|
168
|
+
"watch --ignore holds a blocker as its minutes tick",
|
|
169
|
+
],
|
|
167
170
|
};
|
|
168
171
|
function densityFromVariant(variant) {
|
|
169
172
|
if (variant === "mini" || variant === "nano")
|
package/package.json
CHANGED