@pi-unipi/command-enchantment 2.1.3 → 2.3.0

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 +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-unipi/command-enchantment",
3
- "version": "2.1.3",
3
+ "version": "2.3.0",
4
4
  "description": "Enhanced TUI autocomplete for /unipi:* commands — colored, sorted, and grouped by package",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
package/src/constants.ts CHANGED
@@ -34,6 +34,7 @@ export const PACKAGE_ORDER: string[] = [
34
34
  "updater",
35
35
  "input-shortcuts",
36
36
  "cocoindex",
37
+ "image",
37
38
  ];
38
39
 
39
40
  // ─── Package Colors ──────────────────────────────────────────────────
@@ -56,6 +57,7 @@ export const PACKAGE_COLORS: Record<string, string> = {
56
57
  updater: `${ESC}[93m`, // Bright Yellow
57
58
  "input-shortcuts": `${ESC}[95m`, // Bright Magenta
58
59
  cocoindex: `${ESC}[97m`, // Bright White
60
+ image: `${ESC}[35m`, // Magenta
59
61
  };
60
62
 
61
63
  // ─── Command Registry ────────────────────────────────────────────────
@@ -135,6 +137,7 @@ export const COMMAND_REGISTRY: Record<string, string> = {
135
137
  // web-api (2 commands)
136
138
  "unipi:web-settings": "web-api",
137
139
  "unipi:web-cache-clear": "web-api",
140
+ "unipi:image-settings": "image",
138
141
 
139
142
  // compact (9 commands)
140
143
  "unipi:lossless-compact": "compact",
@@ -254,6 +257,7 @@ export const COMMAND_DESCRIPTIONS: Record<string, string> = {
254
257
 
255
258
  "unipi:web-settings": "Configure web search settings",
256
259
  "unipi:web-cache-clear": "Clear web search cache",
260
+ "unipi:image-settings": "Configure image generation and recognition models",
257
261
 
258
262
  "unipi:lossless-compact": "Immediate zero-LLM compaction",
259
263
  "unipi:compact": "(DEPRECATED) Use /unipi:lossless-compact instead",
@@ -311,4 +315,5 @@ export const PACKAGE_LABELS: Record<string, string> = {
311
315
  updater: "updater",
312
316
  "input-shortcuts": "input-shortcuts",
313
317
  cocoindex: "cocoindex",
318
+ image: "image",
314
319
  };