@abhishek944/pi-tasks 0.4.0 → 0.7.0

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.
@@ -13,17 +13,41 @@ For every normal request that starts or continues work, Pi should:
13
13
 
14
14
  The extension applies this guidance across all loaded skills and does not skip work merely because it looks small. It does not update tracking during `/ask`, `/btw`, or BTW side threads.
15
15
 
16
+ Write `workInfo` and `taskInfo` in normal prose with full sentences and spaces between words. Conversational brevity modes do not apply to stored records; do not concatenate words to shorten them. This is model-facing guidance, not automatic repair of existing text.
17
+
18
+ ## Continue unfinished work automatically
19
+
20
+ This is off by default and requires Pi 1.2.0+. Add the following to global `~/.pi/agent/settings.json` (or your custom agent directory) or a trusted project's `.pi/settings.json`, then run `/reload`:
21
+
22
+ ```json
23
+ {
24
+ "pi-tasks": {
25
+ "autoContinue": {
26
+ "enabled": true
27
+ }
28
+ }
29
+ }
30
+ ```
31
+
32
+ Send a normal prompt to start. If the agent finishes with planned/active works or pending/active todos, it receives a message to continue and verify them. Blocked, completed, and cancelled records do not cause another continuation. Keep the parent work synchronized too, and record a genuine blocker reason in its information field before handing off.
33
+
34
+ Press Escape/abort to stop. The extension will not restart from a monitor wake or another extension's message; send a new main prompt when you want it to resume. Failed runs also stop instead of being retried by this feature. Reloading or navigating session branches does not silently resume unfinished work.
35
+
36
+ Omitting `maxContinuations` means no continuation limit: it can keep consuming tokens while unfinished records remain. Manual abort and all other stopping conditions still apply. To cap it, add a positive integer such as `"maxContinuations": 10`. After the configured number of extra continuations, the extension warns and hands control back without changing records. A fresh accepted main user run resets the limit; a rejected prompt or steering/follow-up input queued inside a running activity does not. Set `enabled` to `false` and reload to disable the feature. It checks recorded states, not whether every user requirement was captured or genuinely verified.
37
+
16
38
  ## Work tools
17
39
 
18
40
  ```text
19
41
  WorkCreate workName="Improve authentication" workInfo="Detailed context..." status="active"
20
42
  WorkList
43
+ WorkList limit=10
44
+ WorkList status="active" limit=5
21
45
  WorkList workId="W1"
22
46
  WorkUpdate workId="W1" status="blocked" workInfo="Detailed blocker and retained context..."
23
47
  WorkDelete workId="W1"
24
48
  ```
25
49
 
26
- `WorkDelete` also removes associated todos.
50
+ `WorkList` returns all matching works when `limit` is omitted. A positive integer `limit` selects the newest matching works after filters, displayed oldest-to-newest; every selected work still includes all of its todos. The result shows how many works were returned and how many matched in total. `WorkDelete` also removes associated todos.
27
51
 
28
52
  ## Todo tools
29
53
 
@@ -31,21 +55,29 @@ WorkDelete workId="W1"
31
55
  TodoCreate workId="W1" taskName="Inspect token flow" taskInfo="Detailed context..."
32
56
  TodoList workId="W1"
33
57
  TodoList status="active"
58
+ TodoList workId="W1" limit=10
34
59
  TodoUpdate taskId="T1" status="completed" taskInfo="Detailed outcome..."
35
60
  TodoDelete taskId="T1"
36
61
  ```
37
62
 
63
+ `TodoList` returns all matching todos when `limit` is omitted. A positive integer `limit` selects the newest matching todos after filters, displayed oldest-to-newest. The result shows how many todos were returned and how many matched in total. Both list tools can still truncate very long text output at 50KB or 2,000 lines.
64
+
38
65
  ## TUI
39
66
 
40
- The panel defaults to a floating top-right layout and does not take keyboard focus. It hides on small terminals. In fullscreen TUI mode, click Copy in its title bar to copy every work and todo as Markdown, or click Minimize to collapse the panel to a small title bar. Copy remains available while minimized, and Maximize restores the rows. When more rows exist than fit, the floating panel starts at the newest rows; move the mouse over it and use the wheel to scroll older or newer rows without taking focus from the editor. In regular terminal mode, open `/works` to browse and copy the complete list.
67
+ The panel defaults to a floating top-right layout and does not take keyboard focus. It hides on small terminals. The top border centers repository-wide Git status: `git main · S2 U3 ?1` means two staged files, three unstaged files, and one untracked file; a file with both staged and unstaged edits counts in both. A clean repository shows `git main · clean`. Long branches shorten before counts. Detached HEAD shows `@` plus the short commit. Git remains visible while minimized and adds no content row.
68
+
69
+ The asynchronous Git cache refreshes every second while a view is attached; file-changing tool results expire it sooner without blanking the last snapshot. Initial reads show `git loading…`; outside Git the border is plain, and initial failures show `git unavailable`. Later refresh failures retain the last snapshot until a successful read. Polling is read-only and stops when both the panel and dashboard are closed/off.
70
+
71
+ In fullscreen TUI mode, click Copy in its title bar to copy every work and todo as Markdown, Open to run `cursor .` in the current session directory, or Minimize to collapse the panel to a small title bar. Copy and Open remain available while minimized, and Maximize restores the rows. Cursor's command-line launcher must be on PATH; launch failures produce visible error feedback. When more rows exist than fit, the floating panel starts at the newest rows; move the mouse over it and use the wheel to scroll older or newer rows without taking focus from the editor. In regular terminal mode, open `/works` to browse and copy the complete list.
41
72
 
42
- Use `/works-panel minimize` or `/works-panel maximize` when mouse input is unavailable. Use `/works-panel widget` for a right-aligned layout above the editor that renders every row and retains the clickable title actions, `/works-panel floating` to return to the floating layout, or `/works-panel off` to hide it.
73
+ Use `/works-panel minimize`, `/works-panel maximize`, or `/works-panel open` when mouse input is unavailable. Use `/works-panel widget` for a right-aligned layout above the editor that renders every row and retains the clickable title actions, `/works-panel floating` to return to the floating layout, or `/works-panel off` to hide it.
43
74
 
44
- Run `/works` for full details. Its top bar includes Copy and Minimize actions. In fullscreen TUI mode, click Minimize to collapse the dashboard to a top bar showing the current work and todo totals; click Maximize to restore it. The actions also have keyboard shortcuts that work in regular terminal mode.
75
+ Run `/works` for full details. Its top border mirrors repository-wide Git status, and its top bar includes Copy, Open, and Minimize actions. In fullscreen TUI mode, click Minimize to collapse the dashboard to a top bar showing the current work and todo totals; click Maximize to restore it. The actions also have keyboard shortcuts that work in regular terminal mode.
45
76
 
46
77
  - `c`: copy all works and todos as Markdown
78
+ - `o`: open the current repository/session directory in Cursor
47
79
  - `m`: minimize or maximize the dashboard
48
- - Fullscreen left click: activate Copy, Minimize, or Maximize
80
+ - Fullscreen left click: activate Copy, Open, Minimize, or Maximize
49
81
  - Configured Up/Down keys: select
50
82
  - Configured Page Up/Page Down keys: scroll long details
51
83
  - Configured confirmation key: show or hide detailed information
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abhishek944/pi-tasks",
3
- "version": "0.4.0",
3
+ "version": "0.7.0",
4
4
  "description": "Session-scoped work and todo tracking for Pi.",
5
5
  "license": "MIT",
6
6
  "type": "module",