pi-interview 0.6.2 → 0.8.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/README.md +5 -3
- package/form/script.js +1282 -327
- package/form/styles.css +465 -17
- package/index.ts +415 -62
- package/package.json +1 -1
- package/server.ts +612 -81
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ Restart pi to load the extension.
|
|
|
27
27
|
- **Pre-selection**: Recommended options show a "Recommended" badge and are pre-checked on load
|
|
28
28
|
- **Conviction & Weight**: Control recommendation strength (`conviction`) and visual prominence (`weight`)
|
|
29
29
|
- **"Other" Option**: Single/multi select questions support custom text input
|
|
30
|
-
- **Per-Question Attachments**: Attach images to any question via button
|
|
30
|
+
- **Per-Question Attachments**: Attach images to any question via button or drag & drop
|
|
31
31
|
- **Keyboard Navigation**: Full keyboard support with arrow keys, Tab, Enter
|
|
32
32
|
- **Auto-save**: Responses saved to localStorage, restored on reload
|
|
33
33
|
- **Session Timeout**: Configurable timeout with countdown badge, refreshes on activity
|
|
@@ -36,9 +36,11 @@ Restart pi to load the extension.
|
|
|
36
36
|
- **Session Recovery**: Abandoned/timed-out interviews save questions for later retry
|
|
37
37
|
- **Save Snapshots**: Save interview state to HTML for later review or revival
|
|
38
38
|
- **Session Status Bar**: Shows project path, git branch, and session ID for identification
|
|
39
|
-
- **Image Support**: Drag & drop anywhere on question, file picker, paste
|
|
39
|
+
- **Image Support**: Drag & drop anywhere on question, file picker, or paste a path into the dedicated path field
|
|
40
40
|
- **Path Normalization**: Handles shell-escaped paths (`\ `) and macOS screenshot filenames (narrow no-break space before AM/PM)
|
|
41
|
-
- **Generate & Review Options**: Single/multi-select questions show "✦ Generate more" (appends new choices) and "↻ Review options" (reviews options and rewrites the question for clarity) buttons powered by an LLM
|
|
41
|
+
- **Generate & Review Options**: Single/multi-select questions, including rich-option questions with inline content blocks, show "✦ Generate more" (appends new choices) and "↻ Review options" (reviews options and rewrites the question for clarity) buttons powered by an LLM
|
|
42
|
+
- **Ask About an Option**: Single/multi options, including rich options with inline content blocks, can open an inline assistant panel with prompt chips, freeform follow-up questions, provider/model overrides under Advanced, and actions like pinning analysis or applying a suggested rewrite
|
|
43
|
+
- **Option Clarifications**: Plain string single/multi options can reveal a separate inline `Optional clarification...` field when selected, letting users attach a short note to a choice without using `Ask`
|
|
42
44
|
- **Tool Discoverability (pi v0.59+)**: Registers a `promptSnippet` so `interview` remains eligible for inclusion in pi's default `Available tools` prompt section
|
|
43
45
|
- **Themes**: Built-in default + optional light/dark + custom theme CSS
|
|
44
46
|
|