pi-ask-user 0.9.0 → 0.10.0
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 +1 -1
- package/index.ts +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -117,7 +117,7 @@ Effective order for both `overlayToggleKey` and `commentToggleKey`:
|
|
|
117
117
|
2. Matching env var (`PI_ASK_USER_OVERLAY_TOGGLE_KEY` / `PI_ASK_USER_COMMENT_TOGGLE_KEY`)
|
|
118
118
|
3. Built-in defaults: `alt+o` and `ctrl+g`
|
|
119
119
|
|
|
120
|
-
Pass `"off"`, `"none"`, or `"disabled"` (at any level) to disable the shortcut entirely. Invalid specs are silently dropped and the next source is used. Specs follow the Pi-TUI [`KeyId`](https://github.com/
|
|
120
|
+
Pass `"off"`, `"none"`, or `"disabled"` (at any level) to disable the shortcut entirely. Invalid specs are silently dropped and the next source is used. Specs follow the Pi-TUI [`KeyId`](https://github.com/earendil-works/pi-mono/blob/main/packages/tui/src/keys.ts) format: `[mod+]...key` where modifiers are `ctrl`, `shift`, `alt`, `super`, in any order, joined by `+` (e.g. `ctrl+g`, `alt+shift+x`, `escape`, `tab`).
|
|
121
121
|
|
|
122
122
|
## Controls
|
|
123
123
|
|
package/index.ts
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* and a custom box border instead of manual ANSI box drawing.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type { ExtensionAPI, Theme } from "@
|
|
9
|
-
import { getMarkdownTheme } from "@
|
|
8
|
+
import type { ExtensionAPI, Theme } from "@earendil-works/pi-coding-agent";
|
|
9
|
+
import { getMarkdownTheme } from "@earendil-works/pi-coding-agent";
|
|
10
10
|
import { Type, type TUnsafe } from "@sinclair/typebox";
|
|
11
11
|
import {
|
|
12
12
|
Container,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
type TUI,
|
|
28
28
|
truncateToWidth,
|
|
29
29
|
wrapTextWithAnsi,
|
|
30
|
-
} from "@
|
|
30
|
+
} from "@earendil-works/pi-tui";
|
|
31
31
|
import { renderSingleSelectRows } from "./single-select-layout";
|
|
32
32
|
|
|
33
33
|
import { createRequire } from "node:module";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-ask-user",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Interactive ask_user tool for pi-coding-agent with searchable split-pane selection UI, multi-select, and freeform input",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"check": "npm pack --dry-run"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
47
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
48
|
+
"@earendil-works/pi-tui": "*",
|
|
49
49
|
"@sinclair/typebox": "*"
|
|
50
50
|
}
|
|
51
51
|
}
|