@pi-unipi/command-enchantment 0.1.6 → 0.1.7

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/constants.ts +10 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-unipi/command-enchantment",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Enhanced TUI autocomplete for /unipi:* commands — colored, sorted, and grouped by package",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/constants.ts CHANGED
@@ -29,6 +29,7 @@ export const PACKAGE_ORDER: string[] = [
29
29
  "compact",
30
30
  "notify",
31
31
  "kanboard",
32
+ "footer",
32
33
  ];
33
34
 
34
35
  // ─── Package Colors ──────────────────────────────────────────────────
@@ -46,6 +47,7 @@ export const PACKAGE_COLORS: Record<string, string> = {
46
47
  compact: `${ESC}[37m`, // White
47
48
  notify: `${ESC}[96m`, // Bright Cyan
48
49
  kanboard: `${ESC}[92m`, // Bright Green
50
+ footer: `${ESC}[34m`, // Blue
49
51
  };
50
52
 
51
53
  // ─── Command Registry ────────────────────────────────────────────────
@@ -143,6 +145,10 @@ export const COMMAND_REGISTRY: Record<string, string> = {
143
145
  // kanboard (3 commands)
144
146
  "unipi:kanboard": "kanboard",
145
147
  "unipi:kanboard-doctor": "kanboard",
148
+
149
+ // footer (2 commands)
150
+ "unipi:footer": "footer",
151
+ "unipi:footer-settings": "footer",
146
152
  };
147
153
 
148
154
  // ─── Description Map ─────────────────────────────────────────────────
@@ -227,6 +233,9 @@ export const COMMAND_DESCRIPTIONS: Record<string, string> = {
227
233
 
228
234
  "unipi:milestone-onboard": "Create MILESTONES.md from existing workflow docs",
229
235
  "unipi:milestone-update": "Sync MILESTONES.md with completed work",
236
+
237
+ "unipi:footer": "Toggle footer or switch preset",
238
+ "unipi:footer-settings": "Open footer settings — toggle groups and segments",
230
239
  };
231
240
 
232
241
  // ─── Package Display Names ───────────────────────────────────────────
@@ -244,4 +253,5 @@ export const PACKAGE_LABELS: Record<string, string> = {
244
253
  compact: "compact",
245
254
  notify: "notify",
246
255
  kanboard: "kanboard",
256
+ footer: "footer",
247
257
  };