@pi-unipi/command-enchantment 2.9.0 → 2.10.1
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/package.json +2 -2
- package/src/constants.ts +7 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-unipi/command-enchantment",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "Enhanced TUI autocomplete for /unipi:* commands
|
|
3
|
+
"version": "2.10.1",
|
|
4
|
+
"description": "Enhanced TUI autocomplete for /unipi:* commands — colored, sorted, and grouped by package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"license": "MIT",
|
package/src/constants.ts
CHANGED
|
@@ -30,6 +30,7 @@ export const PACKAGE_ORDER: string[] = [
|
|
|
30
30
|
"compact",
|
|
31
31
|
"notify",
|
|
32
32
|
"kanboard",
|
|
33
|
+
"trajectory",
|
|
33
34
|
"footer",
|
|
34
35
|
"updater",
|
|
35
36
|
"input-shortcuts",
|
|
@@ -54,6 +55,7 @@ export const PACKAGE_COLORS: Record<string, string> = {
|
|
|
54
55
|
compact: `${ESC}[37m`, // White
|
|
55
56
|
notify: `${ESC}[96m`, // Bright Cyan
|
|
56
57
|
kanboard: `${ESC}[92m`, // Bright Green
|
|
58
|
+
trajectory: `${ESC}[94m`, // Bright Blue
|
|
57
59
|
footer: `${ESC}[34m`, // Blue
|
|
58
60
|
updater: `${ESC}[93m`, // Bright Yellow
|
|
59
61
|
"input-shortcuts": `${ESC}[95m`, // Bright Magenta
|
|
@@ -190,6 +192,9 @@ export const COMMAND_REGISTRY: Record<string, string> = {
|
|
|
190
192
|
"unipi:kanboard": "kanboard",
|
|
191
193
|
"unipi:kanboard-doctor": "kanboard",
|
|
192
194
|
|
|
195
|
+
// trajectory (1 command)
|
|
196
|
+
"unipi:trajectory": "trajectory",
|
|
197
|
+
|
|
193
198
|
// footer (3 commands)
|
|
194
199
|
"unipi:footer": "footer",
|
|
195
200
|
"unipi:footer-settings": "footer",
|
|
@@ -267,6 +272,7 @@ export const COMMAND_DESCRIPTIONS: Record<string, string> = {
|
|
|
267
272
|
"unipi:util-settings": "Unified settings — badge + diff rendering config",
|
|
268
273
|
"unipi:kanboard": "Start the kanboard visualization server",
|
|
269
274
|
"unipi:kanboard-doctor": "Diagnose and fix kanboard parser issues",
|
|
275
|
+
"unipi:trajectory": "Open/reuse trajectory; add stop/off or toggle to close it",
|
|
270
276
|
|
|
271
277
|
"unipi:ask-user-settings": "Configure ask-user settings",
|
|
272
278
|
|
|
@@ -340,6 +346,7 @@ export const PACKAGE_LABELS: Record<string, string> = {
|
|
|
340
346
|
compact: "compact",
|
|
341
347
|
notify: "notify",
|
|
342
348
|
kanboard: "kanboard",
|
|
349
|
+
trajectory: "trajectory",
|
|
343
350
|
footer: "footer",
|
|
344
351
|
updater: "updater",
|
|
345
352
|
"input-shortcuts": "input-shortcuts",
|