@ryan_nookpi/pi-extension-todo-write-overlay 0.1.2 → 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/index.ts +4 -5
- package/package.json +18 -4
package/index.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type {
|
|
3
|
-
import
|
|
4
|
-
import { Text, truncateToWidth, visibleWidth } from "@mariozechner/pi-tui";
|
|
1
|
+
import type { ExtensionAPI, ExtensionContext, Theme } from "@earendil-works/pi-coding-agent";
|
|
2
|
+
import type { OverlayHandle, TUI } from "@earendil-works/pi-tui";
|
|
3
|
+
import { Text, truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
|
|
5
4
|
import { type Static, Type } from "@sinclair/typebox";
|
|
6
5
|
|
|
7
6
|
type TodoStatus = "pending" | "in_progress" | "completed";
|
|
@@ -25,7 +24,7 @@ type TodoOverlayRecord = {
|
|
|
25
24
|
close?: () => void;
|
|
26
25
|
};
|
|
27
26
|
|
|
28
|
-
const StatusEnum =
|
|
27
|
+
const StatusEnum = Type.Union([Type.Literal("pending"), Type.Literal("in_progress"), Type.Literal("completed")], {
|
|
29
28
|
description: "작업 상태",
|
|
30
29
|
});
|
|
31
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ryan_nookpi/pi-extension-todo-write-overlay",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Top-right overlay todo_write tool extension for pi.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -28,11 +28,25 @@
|
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
31
|
+
"@earendil-works/pi-ai": "*",
|
|
32
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
33
|
+
"@earendil-works/pi-tui": "*",
|
|
34
34
|
"@sinclair/typebox": "*"
|
|
35
35
|
},
|
|
36
|
+
"peerDependenciesMeta": {
|
|
37
|
+
"@earendil-works/pi-ai": {
|
|
38
|
+
"optional": true
|
|
39
|
+
},
|
|
40
|
+
"@earendil-works/pi-coding-agent": {
|
|
41
|
+
"optional": true
|
|
42
|
+
},
|
|
43
|
+
"@earendil-works/pi-tui": {
|
|
44
|
+
"optional": true
|
|
45
|
+
},
|
|
46
|
+
"@sinclair/typebox": {
|
|
47
|
+
"optional": true
|
|
48
|
+
}
|
|
49
|
+
},
|
|
36
50
|
"publishConfig": {
|
|
37
51
|
"access": "public"
|
|
38
52
|
}
|