@agnishc/edb-ask-user 0.5.0 → 0.6.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/CHANGELOG.md +7 -0
- package/package.json +4 -4
- package/src/component.ts +1 -1
- package/src/index.ts +1 -1
- package/src/render.ts +1 -1
- package/src/schemas.ts +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agnishc/edb-ask-user",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Pi extension: ask_user tool for structured questions — text, choice, and multi-step wizard",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
]
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
40
|
+
"@earendil-works/pi-ai": "*",
|
|
41
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
42
|
+
"@earendil-works/pi-tui": "*",
|
|
43
43
|
"typebox": "*"
|
|
44
44
|
}
|
|
45
45
|
}
|
package/src/component.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Editor, type EditorTheme, Key, matchesKey, truncateToWidth } from "@
|
|
1
|
+
import { Editor, type EditorTheme, Key, matchesKey, truncateToWidth } from "@earendil-works/pi-tui";
|
|
2
2
|
import type { Answer, AskQuestion, AskResult, RenderOption } from "./types";
|
|
3
3
|
|
|
4
4
|
// ── Component factory ──────────────────────────────────────────────────────────
|
package/src/index.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Multiple questions → tab-based wizard with a Submit tab
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import type { ExtensionAPI } from "@
|
|
15
|
+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
16
16
|
import { createAskUserComponent } from "./component";
|
|
17
17
|
import { renderCall, renderResult } from "./render";
|
|
18
18
|
import { AskUserParams } from "./schemas";
|
package/src/render.ts
CHANGED
package/src/schemas.ts
CHANGED