@itc-steve/pi-ask-complete 1.0.0 → 1.0.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +9 -15
  2. package/README.md +19 -17
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Changed
6
+
7
+ - Redesigned README with project-native SVG hero and section art
8
+ - Dropped leftover permission/yolo documentation from README and changelog
9
+ - Updated package and GitHub repository description to match ask_user-only scope
10
+
3
11
  ## 1.0.0
4
12
 
5
13
  ### Changed
@@ -7,27 +15,13 @@
7
15
  - Focused the package exclusively on model-guided `ask_user` questions and answers
8
16
  - Simplified package metadata and documentation around the single-purpose extension
9
17
 
10
- ### Removed
11
-
12
- - Permission gates for `bash`, `read`, `write`, and `edit`
13
- - `ask_permission`, `/permissions`, and `/yolo`
14
- - Command/path policy parsing and `permission.json`
15
- - `sudo`/`doas` redirection
16
-
17
18
  ## 0.2.0
18
19
 
19
- - Path allows now act like directory-scoped YOLO for bash, write, and edit asks
20
- - Any matching bash or path deny now takes priority over every allow
20
+ - Path-allow refinements and deny-over-allow precedence for earlier experimental tooling
21
21
 
22
22
  ## 0.1.0
23
23
 
24
24
  First public release.
25
25
 
26
26
  - Bottom-panel `ask_user` (multi-question, transcript stays visible)
27
- - Permission gate for `bash` / `write` / `edit` with path wildcards
28
- - `permission.json` rules (bash / tools / paths); seeds from example when missing
29
- - Session / permanent allow; deny with reason
30
- - Chain / substitution unit checks; path-deny on bash args; sudo → `sudo_run` redirect
31
- - `/yolo` session mode: auto-approve every gate **ask** (including globs); **deny** and sudo redirect still enforced; `ask_user` untouched
32
- - `/permissions` lists allows/denies and YOLO state
33
27
  - Herdr attention: ding only when the pane is backgrounded
package/README.md CHANGED
@@ -1,13 +1,19 @@
1
1
  # pi-ask-complete
2
2
 
3
- Model-guided **ask_user** questions in a bottom panel for the [Pi coding agent](https://pi.dev).
3
+ [![pi-ask-complete — model-guided ask_user questions in a bottom panel with the transcript kept visible](assets/readme/hero.svg)](assets/readme/hero.svg)
4
4
 
5
- The extension tells the model to use `ask_user` for decisions, preferences, confirmations, and clarifying questions instead of writing multiple-choice prompts in chat. It does not intercept, approve, deny, or modify other tool calls.
5
+ Model-guided **`ask_user`** questions for the [Pi coding agent](https://pi.dev).
6
6
 
7
- ## Features
7
+ The extension tells the model to use `ask_user` for decisions, preferences, confirmations, and clarifying questions instead of dumping multiple-choice prompts into chat. Answers come back as structured JSON. The transcript stays visible the whole time.
8
+
9
+ [![How it works: model asks → you choose in a bottom panel → JSON returns](assets/readme/how-it-works.svg)](assets/readme/how-it-works.svg)
10
+
11
+ ---
12
+
13
+ [![Features](assets/readme/section-features.svg)](assets/readme/section-features.svg)
8
14
 
9
15
  - Single-select and multi-select questions
10
- - Free-form answers on every question
16
+ - Free-form answers on every question (`Type something.`)
11
17
  - Optional descriptions and side-by-side previews
12
18
  - Multiple questions with tabs and a final review screen
13
19
  - Required or skippable questions
@@ -15,7 +21,9 @@ The extension tells the model to use `ask_user` for decisions, preferences, conf
15
21
  - Structured JSON answers returned to the model
16
22
  - Herdr attention notification when the panel waits in a background pane
17
23
 
18
- ## Install
24
+ ---
25
+
26
+ [![Install](assets/readme/section-install.svg)](assets/readme/section-install.svg)
19
27
 
20
28
  ```bash
21
29
  pi install npm:@itc-steve/pi-ask-complete
@@ -29,7 +37,9 @@ pi install /path/to/pi-ask-complete
29
37
 
30
38
  Run `/reload` after installation.
31
39
 
32
- ## Model-facing tool
40
+ ---
41
+
42
+ [![Usage](assets/readme/section-usage.svg)](assets/readme/section-usage.svg)
33
43
 
34
44
  ```ts
35
45
  ask_user({
@@ -48,16 +58,8 @@ ask_user({
48
58
  })
49
59
  ```
50
60
 
51
- Every question also includes a **Type something.** row. The tool returns structured JSON containing the user's selections, custom answers, skipped questions, cancellation state, and optional note.
52
-
53
- ## Upgrade from 0.x
54
-
55
- Version 1.0 removes the permission system entirely:
61
+ Every question also includes a **Type something.** row. The tool returns structured JSON with the user's selections, custom answers, skipped questions, cancellation state, and optional note.
56
62
 
57
- - No automatic gate for `bash`, `read`, `write`, or `edit`
58
- - No `ask_permission` tool
59
- - No `/permissions` or `/yolo` commands
60
- - No `permission.json` or path/command rules
61
- - No `sudo`/`doas` redirection
63
+ ## License
62
64
 
63
- Delete `~/.pi/agent/permission.json` if no other extension uses it. Pi and other installed extensions remain responsible for tool permissions.
65
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itc-steve/pi-ask-complete",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Pi extension: model-guided ask_user questions in a bottom panel with the transcript kept visible",
5
5
  "keywords": [
6
6
  "pi-package",