@pi-unipi/command-enchantment 2.16.1 → 2.18.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 +11 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-unipi/command-enchantment",
3
- "version": "2.16.1",
3
+ "version": "2.18.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
@@ -37,6 +37,7 @@ export const PACKAGE_ORDER: string[] = [
37
37
  "image",
38
38
  "subagents",
39
39
  "background-tasks",
40
+ "fusion",
40
41
  ];
41
42
 
42
43
  // ─── Package Colors ──────────────────────────────────────────────────
@@ -62,6 +63,7 @@ export const PACKAGE_COLORS: Record<string, string> = {
62
63
  image: `${ESC}[35m`, // Magenta
63
64
  subagents: `${ESC}[34m`, // Blue
64
65
  "background-tasks": `${ESC}[91m`, // Bright Red
66
+ fusion: `${ESC}[96m`, // Bright Cyan
65
67
  };
66
68
 
67
69
  // ─── Command Registry ────────────────────────────────────────────────
@@ -143,17 +145,13 @@ export const COMMAND_REGISTRY: Record<string, string> = {
143
145
 
144
146
  // background-tasks (8 commands)
145
147
  "unipi:bg": "background-tasks",
146
- "unipi:bg-clear": "background-tasks",
147
148
  "unipi:bg-tasks": "background-tasks",
148
149
  "unipi:bg-settings": "background-tasks",
149
- "unipi:bg-update": "background-tasks",
150
- "unipi:tasks": "background-tasks",
151
- "unipi:jobs": "background-tasks",
152
- "unipi:kill": "background-tasks",
153
- "unipi:logs": "background-tasks",
154
- "unipi:claude-cache": "background-tasks",
155
- "unipi:fusion": "background-tasks",
156
- "unipi:fusion-models": "background-tasks",
150
+
151
+ // fusion (3 commands)
152
+ "unipi:model": "fusion",
153
+ "unipi:fusion-preset": "fusion",
154
+ "unipi:fusion-stats": "fusion",
157
155
 
158
156
  // info (2 commands)
159
157
  "unipi:info": "info",
@@ -316,17 +314,11 @@ export const COMMAND_DESCRIPTIONS: Record<string, string> = {
316
314
  "unipi:stash-settings": "Open input shortcuts settings — customize keybindings",
317
315
 
318
316
  "unipi:bg": "Start a shell command as a tracked background task",
319
- "unipi:bg-clear": "Clear finished background task footer notices",
320
317
  "unipi:bg-tasks": "Open the background task manager UI",
321
318
  "unipi:bg-settings": "Open background-tasks settings (master toggle, defaults)",
322
- "unipi:bg-update": "Show installed background-tasks version and update instructions",
323
- "unipi:tasks": "Open the background task manager UI",
324
- "unipi:jobs": "List running and recent background tasks",
325
- "unipi:kill": "Stop a running background task: /unipi:kill <id>",
326
- "unipi:logs": "Show bounded output from a background task",
327
- "unipi:claude-cache": "Show or set Claude cache retention for this session",
328
- "unipi:fusion": "Run the Fusion reason workflow with a prompt",
329
- "unipi:fusion-models": "Open the Fusion five-slot model selector",
319
+ "unipi:model": "Pick a model or Fusion lead+sidekick pair (Devin-style picker)",
320
+ "unipi:fusion-preset": "Curate the model preset used by /unipi:model",
321
+ "unipi:fusion-stats": "Estimated Fusion savings (sidekick tokens priced at lead rates)",
330
322
  "unipi:subagents-fleet": "Open the subagents fleet view",
331
323
  "unipi:subagents-doctor": "Diagnose subagents configuration",
332
324
  "unipi:subagents-guide": "Show the subagents usage guide",
@@ -355,4 +347,5 @@ export const PACKAGE_LABELS: Record<string, string> = {
355
347
  image: "image",
356
348
  subagents: "subagents",
357
349
  "background-tasks": "background-tasks",
350
+ fusion: "fusion",
358
351
  };