@ryan_nookpi/pi-extension-generative-ui 0.1.0 → 0.1.2
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 +19 -6
- package/package.json +11 -1
package/README.md
CHANGED
|
@@ -1,16 +1,29 @@
|
|
|
1
1
|
# @ryan_nookpi/pi-extension-generative-ui
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This extension lets pi open visual results in a separate native window.
|
|
4
|
+
|
|
5
|
+
Use it for charts, diagrams, mockups, mini apps, or other interactive HTML/SVG output when plain text is not enough.
|
|
4
6
|
|
|
5
7
|
## Install
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
|
-
pi install /Users/creatrip/Documents/pi-extension/packages/generative-ui
|
|
9
10
|
pi install npm:@ryan_nookpi/pi-extension-generative-ui
|
|
10
11
|
```
|
|
11
12
|
|
|
12
|
-
##
|
|
13
|
+
## Great for
|
|
14
|
+
|
|
15
|
+
- showing a flowchart or system diagram
|
|
16
|
+
- opening a chart or dashboard in its own window
|
|
17
|
+
- previewing a quick UI mockup or interactive prototype
|
|
18
|
+
|
|
19
|
+
## Example prompts
|
|
20
|
+
|
|
21
|
+
- "Show the signup flow as a diagram."
|
|
22
|
+
- "Open a chart for this revenue trend."
|
|
23
|
+
- "Make a simple form mockup and show it in a window."
|
|
24
|
+
|
|
25
|
+
## Notes
|
|
13
26
|
|
|
14
|
-
- `visualize_read_me`
|
|
15
|
-
- `
|
|
16
|
-
-
|
|
27
|
+
- It works through the `visualize_read_me` and `show_widget` tools.
|
|
28
|
+
- Previously created widgets can be reopened with the `/widgets` command.
|
|
29
|
+
- It can render HTML, SVG, Canvas, and Chart.js-based output.
|
package/package.json
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ryan_nookpi/pi-extension-generative-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Generative UI widget extension for pi.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/Jonghakseo/pi-extension.git",
|
|
9
|
+
"directory": "packages/generative-ui"
|
|
10
|
+
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/Jonghakseo/pi-extension/issues"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://github.com/Jonghakseo/pi-extension/tree/main/packages/generative-ui#readme",
|
|
5
15
|
"type": "module",
|
|
6
16
|
"keywords": [
|
|
7
17
|
"pi-package"
|