@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 +10 -0
- package/README.md +1 -1
- package/extensions/index.js +6 -0
- package/package.json +2 -1
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
package/extensions/index.js
CHANGED
|
@@ -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
|
+
"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"
|