@bacnh85/pi-ux 0.4.3 → 0.4.5

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 CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.5 (2026-08-29)
4
+
5
+ ### Added
6
+
7
+ - `/ux` argument completion offers runtime modes plus `status|default`.
8
+
9
+ ## 0.4.4
10
+
11
+ - Patch version bump for release sync and package documentation update.
12
+
3
13
  ## 0.4.3
4
14
 
5
15
  - **Named styles via the design.md library.** `ux-presets` now documents a
package/README.md CHANGED
@@ -11,7 +11,7 @@ AI-generated UI converges on the same defaults — purple/indigo glow, shadow-he
11
11
  ## Install
12
12
 
13
13
  ```bash
14
- npm install @bacnh85/pi-ux
14
+ pi install npm:@bacnh85/pi-ux
15
15
  ```
16
16
 
17
17
  Pi auto-discovers the extension and skill.
@@ -178,6 +178,12 @@ export default function uxExtension(pi) {
178
178
 
179
179
  pi.registerCommand("ux", {
180
180
  description: `Anti-slop UI/UX discipline. Modes: ${RUNTIME_MODES.join("|")}. Commands: status, default <mode>`,
181
+ getArgumentCompletions: (prefix) => {
182
+ const q = String(prefix || "").trim().toLowerCase();
183
+ const vocab = [...RUNTIME_MODES, "status", "default"];
184
+ const items = vocab.filter((k) => k.startsWith(q)).map((k) => ({ value: k, label: k }));
185
+ return items.length > 0 ? items : null;
186
+ },
181
187
  handler: async (args, ctx) => {
182
188
  const parsed = parseUxCommand(args, configuredDefaultMode);
183
189
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bacnh85/pi-ux",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "Anti-slop UI/UX design discipline for your Pi agent — anchors a lintable DESIGN.md, runs deterministic slop-audit gates (APCA contrast + tokens + states + slop tells), works with text-only models, ships reference design-system presets.",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -12,6 +12,7 @@
12
12
  "skills"
13
13
  ],
14
14
  "license": "MIT",
15
+ "homepage": "https://github.com/bacnh85/pi-extensions/tree/main/pi-ux",
15
16
  "repository": {
16
17
  "type": "git",
17
18
  "url": "git+https://github.com/bacnh85/pi-extensions.git"