@trim21/personal-pi-extensions 0.0.190 → 0.0.192

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/todowrite.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trim21/personal-pi-extensions",
3
- "version": "0.0.190",
3
+ "version": "0.0.192",
4
4
  "type": "module",
5
5
  "description": "Custom pi coding-agent extensions: bwrap sandbox, workspace guard, opencode edit, and more",
6
6
  "keywords": [
package/src/todowrite.ts CHANGED
@@ -143,7 +143,7 @@ export function buildTodoMarkdown(todos: readonly TodoInfo[]): string {
143
143
  * 过滤 cancelled(对应旧版 deleted),全部被过滤时返回 undefined 以清除 widget。
144
144
  */
145
145
  export function buildTodoWidgetLines(todos: readonly TodoInfo[]): string[] | undefined {
146
- const visible = todos.filter((t) => t.status !== "cancelled");
146
+ const visible = todos;
147
147
  if (visible.length === 0) return undefined;
148
148
  return visible.map((t) => formatTodoLine(t));
149
149
  }