@nguyenquangthai/pi-todo 0.2.0 → 0.2.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.
- package/CHANGELOG.md +5 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/format.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.1 (2026-07-15)
|
|
4
|
+
|
|
5
|
+
- Overlay heading spacing: add blank line + `maxLines-1` budget for clean visual separation.
|
|
6
|
+
- Strip pi-tasks/Model guidance sections from README.
|
|
7
|
+
|
|
3
8
|
## 0.2.0 (2026-07-15)
|
|
4
9
|
|
|
5
10
|
- First npm publish as `@nguyenquangthai/pi-todo`.
|
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ Heading shows open + running counts, e.g. `# Todos (2 open, 1 running)`:
|
|
|
59
59
|
- **open** = `pending` + `in_progress`
|
|
60
60
|
- **running** = `in_progress` only (0 or 1 after a valid write)
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
A blank line separates the heading from the first todo row for visual breathing room.
|
|
63
63
|
|
|
64
64
|
## Development
|
|
65
65
|
|
package/package.json
CHANGED
package/src/format.ts
CHANGED
|
@@ -124,7 +124,7 @@ export function renderOverlayLines(
|
|
|
124
124
|
theme.fg("dim", ` (${open} open, ${running} running)`),
|
|
125
125
|
);
|
|
126
126
|
|
|
127
|
-
//
|
|
127
|
+
// Small gap between heading and first row — budget -1 to account for the blank line
|
|
128
128
|
const layout = selectOverlayLayout(todos, Math.max(3, maxLines - 1));
|
|
129
129
|
const lines: string[] = [heading, ""];
|
|
130
130
|
|