@firstpick/pi-extension-todo-progress 0.1.7 → 0.1.9

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 CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Auto todo/progress tracking for multi-goal prompts.
4
4
 
5
+ ![Todo progress widget](images/todo_progress_v0.1.8.png)
6
+
5
7
  ## What it does
6
8
 
7
9
  - Instructs the agent to create concise, agent-authored todos for multi-step work.
Binary file
package/index.ts CHANGED
@@ -159,5 +159,12 @@ export default function todoProgress(pi: ExtensionAPI) {
159
159
  pi.registerShortcut("ctrl+alt+j", { description: "Todo scroll down", handler: async (ctx) => { state.offset = Math.min(Math.max(0, state.items.length - MAX_ROWS), state.offset + 1); render(ctx, state); } });
160
160
  pi.registerShortcut("ctrl+alt+k", { description: "Todo scroll up", handler: async (ctx) => { state.offset = Math.max(0, state.offset - 1); render(ctx, state); } });
161
161
 
162
+ pi.registerCommand("todo-progress-status", {
163
+ description: "Show todo-progress widget extension status",
164
+ handler: async (_args, ctx) => {
165
+ ctx.ui.notify(`todo-progress loaded · visible ${state.visible ? "yes" : "no"} · items ${state.items.length}`, "info");
166
+ },
167
+ });
168
+
162
169
  pi.on("session_start", async (_event, ctx) => clear(ctx, state));
163
170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firstpick/pi-extension-todo-progress",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Aggressive automatic todo progress widget for multi-goal prompts in Pi.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -11,6 +11,7 @@
11
11
  "progress"
12
12
  ],
13
13
  "pi": {
14
+ "image": "https://unpkg.com/@firstpick/pi-extension-todo-progress/images/todo_progress_v0.1.8.png",
14
15
  "extensions": [
15
16
  "./index.ts"
16
17
  ]
@@ -21,6 +22,7 @@
21
22
  },
22
23
  "files": [
23
24
  "index.ts",
25
+ "images",
24
26
  "README.md",
25
27
  "LICENSE"
26
28
  ]