pi-goal-list-loop-audit 0.20.0 → 0.20.1
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.
|
@@ -17,9 +17,11 @@ export function fmtElapsed(ms: number): string {
|
|
|
17
17
|
const s = Math.floor(ms / 1000);
|
|
18
18
|
if (s < 60) return `${s}s`;
|
|
19
19
|
const m = Math.floor(s / 60);
|
|
20
|
-
|
|
20
|
+
// Seconds stay visible up to the hour: the elapsed counter is the
|
|
21
|
+
// liveness signal — minute-only granularity looks frozen on a 1s tick.
|
|
22
|
+
if (m < 60) return `${m}m ${String(s % 60).padStart(2, "0")}s`;
|
|
21
23
|
const h = Math.floor(m / 60);
|
|
22
|
-
return `${h}h${m % 60}m`;
|
|
24
|
+
return `${h}h ${String(m % 60).padStart(2, "0")}m`;
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
export function fmtTokens(n: number): string {
|
package/extensions/loops/goal.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-goal-list-loop-audit",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"description": "Goal. Loop. Audit. Done. — a pi-coding-agent extension that supervises long-running work, with isolated auditor on each completion. Beat bamboozling by design: the auditor runs in a fresh session with no extensions, no skills, no editor — only the read tools needed to verify your goal.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "dracon",
|