@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 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
- There is a blank line under the heading so it is not flush against the first todo row.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nguyenquangthai/pi-todo",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "OpenCode-like session todo checklist for the pi coding agent — todowrite/todoread with a live TUI overlay",
5
5
  "type": "module",
6
6
  "author": "QuangThai",
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
- // Reserve heading + blank gap under heading so the title isn't flush with rows.
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