@zhushanwen/pi-todo 0.9.3 → 0.9.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhushanwen/pi-todo",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "AI-driven todo list for Pi — stateful task management with session persistence and /todos command.",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -29,7 +29,7 @@
29
29
  "vitest": "^4.1.8"
30
30
  },
31
31
  "dependencies": {
32
- "@taiji/extension-protocol": "0.11.0",
32
+ "@zhushanwen/extension-protocol": "0.11.0",
33
33
  "@zhushanwen/pi-extension-logger": "0.6.0"
34
34
  },
35
35
  "peerDependencies": {
@@ -10,7 +10,7 @@
10
10
  */
11
11
  import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
12
12
  import type { Theme } from "@earendil-works/pi-coding-agent";
13
- import { GUI_WIDGET_MARKER } from "@taiji/extension-protocol";
13
+ import { GUI_WIDGET_MARKER } from "@zhushanwen/extension-protocol";
14
14
  import { describe, expect, it, vi, type Mock } from "vitest";
15
15
 
16
16
  import { makeRefreshDisplay } from "../index";
package/src/index.ts CHANGED
@@ -22,7 +22,7 @@
22
22
  */
23
23
 
24
24
  import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
25
- import { setWidgetDual, type GuiContext } from "@taiji/extension-protocol";
25
+ import { setWidgetDual, type GuiContext } from "@zhushanwen/extension-protocol";
26
26
 
27
27
  import { registerTodosCommand } from "./commands";
28
28
  import { registerTodoEventHandlers, type RefreshDisplayFn } from "./handlers";
package/src/model.ts CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  guiResult,
10
10
  type TreeItem,
11
11
  type WidgetMeta,
12
- } from "@taiji/extension-protocol";
12
+ } from "@zhushanwen/extension-protocol";
13
13
 
14
14
  // ── 数据模型 ─────────────────────────────────────────
15
15
 
package/src/render.ts CHANGED
@@ -154,7 +154,7 @@ function buildTodoListText(todoList: Todo[], options: { expanded: boolean }, the
154
154
  // ── Tool renderResult handler ────────────────────────
155
155
 
156
156
  import { Text } from "@earendil-works/pi-tui";
157
- import { firstContentText } from "@taiji/extension-protocol";
157
+ import { firstContentText } from "@zhushanwen/extension-protocol";
158
158
 
159
159
  export function renderTodoResult(result: unknown, options: { expanded: boolean }, theme: Theme): Text {
160
160
  const r = result as { content: Array<{ type: string; text?: string }>; details?: unknown };